Skip to main content
Glama

Get connection

get_connection
Read-onlyIdempotent

Inspect a connection's non-secret state. readsAwaitingApproval counts the reads sent with POST that wait for the person's approval.

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": {
      "connectionId": "<connectionId>"
    },
    "name": "get_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
connectionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description contributes beyond that by stating the response excludes secrets and by defining what readsAwaitingApproval counts (POST reads pending a person's approval), which is genuinely new behavioral information.

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 core purpose and zero filler. The second sentence is a single narrow field definition, which is slightly odd without an output schema but still earns its place.

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 single-parameter read tool with no output schema, the description covers the safety profile and one return field but leaves the rest of the returned state shape, missing-ID behavior, and scope of "state" unstated. Adequate but with clear gaps an agent would hit at call time.

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?

There is one parameter, connectionId, at 0% schema description coverage; the schema gives type, uuid format and a regex pattern but no prose. The description never mentions connectionId or whether an unknown ID errors or returns null, so it adds nothing to the only parameter.

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?

"Inspect a connection's non-secret state" gives a specific verb (inspect) and resource (connection), and the qualifier "non-secret" begins to separate it from secret-bearing siblings. It stops short of naming get_connection_setup or explaining what the difference is, so an agent must infer the boundary.

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 statement of when to reach for this tool versus get_connection_setup, list_connections, or get_adapter_state. The only implicit guidance is that a connectionId is needed and that secrets are excluded, which the agent could not use to choose among siblings on its own.

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.