Skip to main content
Glama

Health-check a connection

check_connection

Call GET <base_url>/models: reachable, key accepted, configured models listed. Costs no model tokens.

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": {
      "ref": "<ref>"
    },
    "name": "check_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesThe connection ref.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

The description adds real behavioral context: it discloses the outbound HTTP call, the exact endpoint shape, the success criteria, and a cost property ('Costs no model tokens'). It does not explain why the operation is flagged readOnlyHint=false despite being a GET, nor whether the check has latency/rate-limit implications — a tension worth noting even if not a strict contradiction.

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

Conciseness4/5

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

Two short sentences, front-loaded with the operation and followed by the verification outcomes and the cost note — nothing extraneous. The colon-list ('reachable, key accepted, configured models listed') is telegraphic and slightly ambiguous as to whether these are results or requirements, which keeps it short of a 5.

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

Completeness4/5

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

For a one-parameter tool with no output schema, the description does roughly cover what comes back (reachability, key validity, model list) and the cost profile, which is what an agent needs to act on the result. It stops short of stating failure behavior — e.g., what an unreachable host or rejected key looks like in the response.

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

Parameters3/5

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

With 100% schema description coverage on a single required 'ref' parameter, the schema already carries the parameter burden and a baseline of 3 applies. The description never mentions 'ref' or clarifies what form a connection reference takes, so it adds nothing beyond the schema here.

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

Purpose4/5

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

The description names the concrete operation (GET <base_url>/models on a connection) and the three things it verifies: reachability, key acceptance, and listed models. That distinguishes it from get_connection or update_connection, which operate on stored configuration rather than live connectivity, though the differentiation is implicit rather than stated.

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 implied by the name and the 'reachable, key accepted' framing, so an agent can infer this is a pre-flight/verification call. However, there is no explicit statement of when to call it (e.g., before using a connection in a run) or when not to, and no alternative is named.

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