Skip to main content
Glama

SendGuard

Check signup approval

poll_signup

Check whether a human approved the request from start_signup. Returns the API key exactly once when approved; store it securely.

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": {
      "device_code": "<device_code>"
    },
    "name": "poll_signup"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_codeYesdevice_code returned by start_signup

Output Schema

NameRequiredDescriptionDefault
scopesNo
statusYespending, approved, denied or expired
api_keyNo
next_stepYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It valuably discloses that the API key is returned 'exactly once' and must be stored securely, which is critical behavioral context. It omits the pending/not-yet-approved state, device_code expiry, and any rate-limit behavior for repeated polling.

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?

Two tight, front-loaded sentences: what it checks first, then the critical one-time key disclosure. No wasted wording.

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?

An output schema exists, so return payload needn't be spelled out, and the description still covers the essential success behavior and secret-handling requirement. The main gap is the pending/not-yet-approved path, which matters for a polling tool.

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%, so the single device_code parameter is already fully documented in the schema. The description adds only a loose linkage to start_signup as its origin, no additional format or usage detail, so baseline 3 is appropriate.

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?

Uses a specific verb ('Check') plus a clear resource ('whether a human approved the request') and anchors itself to the sibling tool 'start_signup' as the source of the request. An agent can distinguish this approval-polling tool from start_signup, but sibling differentiation beyond that pairing is left implicit.

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?

The phrase 'request from start_signup' implies this is the follow-up/poll step after starting a signup, giving usable context by association. However, it never states polling cadence, what to do while pending, or when not to call it, so guidance is implied rather than explicit.

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