Skip to main content
Glama

Check an AI provider

colliedesk_ai_provider_check

Send one small request to a provider's first model and record the result (check_status ok, or failing with check_error_code). The provider bills it; it is counted as a check. At most 10 checks a minute in a workspace.

Needs: ai_settings:update.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "provider_id": "<provider_id>"
    },
    "name": "colliedesk_ai_provider_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
provider_idYesFrom colliedesk_ai_settings_get.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / description
      Added value: +"Same shape as colliedesk_ai_provider_add's output."
    • removedOutput schema / properties
      Removed value: -{
      -  "provider": {
      -    "properties": {
      -      "auth_kind": {
      -        "enum": [
      -          "api_key",
      -          "none"
      -        ],
      -        "type": "string"
      -      },
      -      "base_url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "check_error_code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "check_status": {
      -        "enum": [
      -          "ok",
      -          "failing"
      -        ],
      -        "type": "string"
      -      },
      -      "checked_at": {
      -        "type": "string"
      -      },
      -      "created_at": {
      -        "type": "string"
      -      },
      -      "created_by": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "type": "string"
      -      },
      -      "key_hint": {
      -        "description": "The key's last four characters; the key is never shown.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "kind": {
      -        "enum": [
      -          "anthropic",
      -          "openai_compatible"
      -        ],
      -        "type": "string"
      -      },
      -      "label": {
      -        "type": "string"
      -      },
      -      "models": {
      -        "description": "The first is the one a check uses.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "routing": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "data_collection": {
      -                "description": "deny: only providers that do not store or train on what they are sent.",
      -                "enum": [
      -                  "allow",
      -                  "deny"
      -                ],
      -                "type": "string"
      -              },
      -              "zdr": {
      -                "description": "true: only providers with zero data retention.",
      -                "type": "boolean"
      -              }
      -            },
      -            "required": [
      -              "data_collection",
      -              "zdr"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "OpenRouter's routing by data policy; null on another server."
      -      },
      -      "updated_at": {
      -        "type": "string"
      -      },
      -      "used_by": {
      -        "items": {
      -          "enum": [
      -            "triage",
      -            "draft",
      -            "chat",
      -            "intake"
      -          ],
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "kind",
      -      "label",
      -      "models",
      -      "check_status",
      -      "used_by"
      -    ],
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "provider"
      -]
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds substantial context beyond the annotations: the request is billed to the provider, it counts against a quota, it is capped at 10 checks per minute per workspace, and it requires the ai_settings:update scope. Those facts (cost, throttling, privilege requirement) are exactly what the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false) cannot convey, and nothing here contradicts them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and outcome, then cost and rate limit, then the required permission. No filler or restatement of the title, and each sentence carries a distinct operational fact.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter action tool with an output schema, this covers everything an agent needs: what is sent, that it costs money and quota, the throttle, the required scope, and where the provider_id comes from. Return-value detail is correctly left to the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100 percent and the provider_id field already points at colliedesk_ai_settings_get, so the baseline is 3. The description earns an extra point by revealing that only the provider's first model is exercised, which tells the agent no model selection is possible and that a pass covers just one model.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a precise verb-and-resource pair: send one small request to a provider's first model and record the result. It also names the observable outcomes (check_status ok, or failing with check_error_code), which makes it clearly distinct from sibling mutation tools such as colliedesk_ai_provider_add or colliedesk_ai_provider_update.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the agent can infer this tool is for validating a configured provider, but there is no explicit statement of when to run it (e.g., after key_set/add) and no named alternative to prefer instead. The rate-limit sentence is a behavioral constraint rather than routing guidance, so the reader is left to infer the trigger condition.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources