Skip to main content
Glama

à portée

Collect the key

check_sign_in

Free, not counted. status: pending (ask again after interval), slow_down, denied, expired, or approved with api_key, shown once (then already_issued). Next: repeat the call that needed a key, with api_key as its api_key argument.

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": "check_sign_in"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_codeYesFrom start_sign_in.

Output Schema

NameRequiredDescriptionDefault
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

The description adds substantial behavior beyond the annotations: the call is free and not counted, the status values form a pollable state machine, and the api_key is shown once before becoming already_issued. These details are critical for correct handling and do not contradict the supplied annotations.

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?

The description is compact and front-loads the free-call behavior, then gives the status outcomes and next action. It is somewhat telegraphic and drops explicit subject/verb framing, but every sentence conveys useful information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has one parameter with full schema coverage and an output schema, so the description need not explain return values. It covers the important polling outcomes, the one-time key behavior, and the follow-up action, making the definition complete for correct invocation.

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 description coverage is 100%, and the single device_code parameter is already documented as coming from start_sign_in. The description adds no additional meaning about the parameter, so the schema carries the parameter semantics.

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 name and title make the purpose understandable as checking sign-in status and collecting an API key, and the description lists the status values and approved outcome. However, the description itself never plainly states the verb and resource in one sentence, so the core purpose is inferred from the name, title, and status state machine rather than directly asserted.

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?

The description clearly tells the agent to ask again after an interval while pending, explains slow_down, and instructs it to repeat the original call with the returned api_key after approval. It does not explicitly name start_sign_in as the required predecessor, but the schema does identify device_code as coming from start_sign_in.

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