Skip to main content
Glama

Get tool connection

get_tool_connection
Read-onlyIdempotent

Check this authenticated tool's personal connection without registering or enabling it. Returns readiness, setup reasons, the connection's status and accessible intake projects, and advisory request budgets. Budget reads consume no request tokens. Readiness does not authorize a later request or claim. Requires task read access. Missing write access or workspace policy can make tool access unavailable.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_tool_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
readyYestrue when the connection is enabled and can be used.
reasonsYesWhy it is not ready: connection_missing, connection_pending, connection_disabled or tool_access_unavailable. Empty when ready.
connectionYesThe connection's id, name, status and version, plus projectIds when it is limited to some projects. Null when there is none.
requestBudgetsYesAdvisory limits on handoff requests.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations, which already cover readOnly/idempotent/non-destructive. The description discloses that the call does not register or enable anything, that budget reads consume no request tokens, that readiness does not authorize a later request, and that write access or workspace policy can make access unavailable. Those are exactly the behavioral caveats an agent cannot infer from structured fields.

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?

Four compact sentences, front-loaded with the core action and its no-side-effect nature before caveats. Dense but every clause carries information. Slight cost: the enumeration of return fields reads as a list where prose would be tighter.

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?

The tool is simple (no params, closed-world, read-only) and the description covers prerequisites, side effects, and failure modes. Because an output schema exists, the sentence enumerating readiness, setup reasons, status, projects and budgets is partly redundant, but it usefully frames what a caller should look at first.

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?

There are zero parameters, so per the baseline this sits at 4. The description correctly adds no parameter chatter and instead describes what the parameterless call returns.

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?

Names a specific verb and resource ("Check this authenticated tool's personal connection") and adds a crucial scope qualifier: no registering or enabling occurs. It is clear without opening the schema. It stops short of naming a sibling such as list_task_tool_connections, so differentiation is implicit rather than explicit.

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

Usage Guidelines4/5

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

"without registering or enabling it" tells the agent when this is the right call: a side-effect-free readiness probe rather than a setup action. Prerequisites (task read access) and the conditions under which access fails (missing write access, workspace policy) are stated. It leaves unstated when to prefer the list-style connection siblings.

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