Skip to main content
Glama

Get a connection

get_connection
Read-only

One connection (model or agent) as stored, its model ids (connection//) and health.

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": "get_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesThe connection ref.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds real context the annotations do not: the returned data is the connection 'as stored' and includes model ids plus a health field, which is useful since no output schema exists, but it does not explain what health means or error behavior for an unknown ref.

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?

A single front-loaded sentence with no filler; the return contents come first and the model-id format is given inline. It is telegraphic to the point of being a noun phrase with no explicit verb, but nothing is wasted.

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

Completeness3/5

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

For a one-parameter read tool with full annotation coverage and full schema coverage, this is close to adequate; the return payload is described at a high level. Gaps remain around the meaning of 'health', failure modes for an invalid ref, and any pagination or embedding concerns, which the definition leaves unaddressed.

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?

Schema coverage is 100% for the single ref parameter, so the schema already carries the definition. The description adds mild value by showing that ref is interpolated into model identifiers (connection/<ref>/<model>), clarifying its format and role, but it stops short of stating accepted ref forms or where to obtain one.

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 resource (a single connection, explicitly 'model or agent') and enumerates what it returns: stored configuration, model ids in the form connection/<ref>/<model>, and health. That is specific enough to separate it from broader catalog tools, though it never contrasts itself with close siblings like check_connection or get_agent, and the retrieving verb is only implied by the fragment.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus check_connection (health check) or get_agent, and no statement of prerequisites such as needing a known ref. The agent must infer usage entirely from the name and the returned fields.

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