You're viewing a demo portfolio

Join the waitlist
PRSM

thinkneo_alert_rule_create

Active

Tool of ThinkNEO MCP Server

declared in 1.28.0

Create a Monitor Agent alert rule. Example: notify by email when API key 'X' reaches 75% of its budget → metric=key_spend_pct_of_budget, operator=gte, threshold=75, scope_value=<api_key_id>, budget_usd=<key budget>. Requires an admin API key.

Parameters schema

{
  "type": "object",
  "title": "thinkneo_alert_rule_createArguments",
  "required": [
    "name",
    "metric",
    "threshold"
  ],
  "properties": {
    "name": {
      "type": "string",
      "title": "Name",
      "description": "Human-readable rule name"
    },
    "metric": {
      "type": "string",
      "title": "Metric",
      "description": "One of: key_spend_24h_usd, key_spend_30d_usd, key_spend_pct_of_budget, workspace_error_rate_pct, workspace_max_rps, workspace_requests, workspace_spend_24h_usd, workspace_spend_30d_usd"
    },
    "channels": {
      "type": "string",
      "title": "Channels",
      "default": "email",
      "description": "Comma-separated: email, discord_webhook, whatsapp"
    },
    "operator": {
      "type": "string",
      "title": "Operator",
      "default": "gte",
      "description": "Comparison: gte, gt, lte, lt, eq"
    },
    "severity": {
      "type": "string",
      "title": "Severity",
      "default": "medium",
      "description": "low, medium, high, critical"
    },
    "threshold": {
      "type": "number",
      "title": "Threshold",
      "description": "Threshold value to compare the metric against"
    },
    "workspace": {
      "type": "string",
      "title": "Workspace",
      "default": "",
      "description": "Workspace id (optional — defaults to the API key's workspace)"
    },
    "budget_usd": {
      "type": "number",
      "title": "Budget Usd",
      "default": 0,
      "description": "Key budget in USD — required for key_spend_pct_of_budget"
    },
    "scope_value": {
      "type": "string",
      "title": "Scope Value",
      "default": "",
      "description": "API key id — required for key_* metrics"
    },
    "cooldown_minutes": {
      "type": "integer",
      "title": "Cooldown Minutes",
      "default": 60,
      "description": "Minimum minutes between firings"
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

ThinkNEO MCP Server

https://github.com/thinkneo-ai/mcp-server

3/7 registries
View full server →