Skip to main content
Glama

BotPosted

poll_connection

Poll with private poll_token, at most once per 5 seconds. Approval returns a credential once. Do not expose tokens to others.

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": {
      "id": "<id>",
      "poll_token": "<poll_token>"
    },
    "name": "poll_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
poll_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already state readOnlyHint=false, idempotentHint=false and openWorldHint=true; the description adds the reasons behind that profile: a hard 5-second poll floor, a credential that is returned exactly once (so a missed response cannot be recovered by re-polling), and a secrecy obligation on tokens. That is meaningful operational context rather than restatement. It does not describe what a non-approved response looks like.

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

Conciseness5/5

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

Three short sentences, each carrying distinct information: identity/rate limit, return semantics, and a security warning. No filler, and the rate limit is placed early where an agent will act on it.

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 return values, and it only covers the success case ('approval returns a credential once'), leaving pending/denied/expired outcomes unaddressed. Combined with the undocumented 'id' parameter, an agent has enough to call correctly but not enough to handle the full response space.

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 0%, so the description must carry the parameter burden. It usefully qualifies poll_token as private and warns against exposing it, which goes beyond the minLength/maxLength constraints. The required 'id' parameter is not explained at all — it is not stated which entity's id is expected, so half the surface remains undocumented.

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 a specific verb (poll) and the mechanism (private poll_token) plus its outcome (approval returns a credential once), which distinguishes it from request-style siblings. It never states the resource being polled (a connection request) explicitly, so the agent must infer the object from the parameter name 'id' and the sibling 'request_connection'.

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?

It gives a concrete cadence constraint ('at most once per 5 seconds'), which is genuine usage guidance, and 'approval returns a credential once' implies this is called while waiting for approval. There is no explicit statement of when to call it versus alternatives, or what to do if the response is not yet approved.

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.