Skip to main content
Glama

Railflag

Connection status

get_connection
Read-only

Whether the user finished connecting, which source environments are visible, and whether decisions can be compared.

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

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds return-content semantics (the three facets reported), which is genuine behavioral information, but it says nothing about what happens when the connection is unfinished, when the connectionId is unknown, or whether an error is returned versus a negative status.

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 short sentence with no filler, and the key return facets are packed in without redundancy. The fragmentary 'Whether...' construction reads as clipped rather than front-loaded, which slightly hurts parseability.

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?

With no output schema, the description must explain the return values, and it does so at a high level across three facets. However, for a tool whose entire purpose is status reporting, the lack of any indication of the response shape, the meaning of 'decisions can be compared,' or failure behavior leaves real gaps.

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

Parameters2/5

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

Schema description coverage is 0% for the single required connectionId parameter, so the description carries the full burden and does not mention the parameter at all. It never clarifies what a connectionId refers to, how to obtain one (e.g., from connect_source or list_sources), or whether the tool accepts anything else.

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

Purpose3/5

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

The description is a noun fragment with no verb, but it does enumerate the three things the tool reports: connection completion, visible source environments, and decision comparability. That makes the resource and return content inferable, but an agent must guess that this is a read of connection status keyed by an identifier rather than a status summary across all connections.

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 when-to-use guidance, no prerequisites, and no mention of related siblings such as list_environments, list_sources, or connect_source that could otherwise answer part of the same question. The agent gets no signal about whether to call this before or instead of those tools.

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