Skip to main content
Glama

Redeem a sign-in code

redeem_code

Complete sign-up with the six-digit code the user received, and return a new API key (shown once). Call request_sign_in first. The key grants 5,000 free tokens; store it and pass it as the Authorization bearer on future calls.

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": {
      "email": "<email>",
      "code": "<code>"
    },
    "name": "redeem_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe six-digit code from the email.
emailYesThe user's email address.
labelNoOptional label for the key.mcp-agent

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / email / description
      Added value: +"The user's email address."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare the generic write/non-idempotent profile; the description adds materially important facts: the API key is shown exactly once, it grants 5,000 free tokens, and it must be stored and sent as an Authorization bearer. The 'shown once' disclosure is exactly the non-recoverable behavior an agent must handle carefully and is consistent with idempotentHint=false.

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, front-loaded with the action and result, followed by the prerequisite and then the post-call obligation. No filler and nothing repeated from the schema or annotations.

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?

With no output schema, the description correctly explains what comes back (a one-time API key) and what to do with it, which covers the main completeness burden. It could go further by noting error behavior for invalid or expired codes, which is relevant to a code-redemption flow.

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%, and every parameter already carries a description, including the default for 'label'. The description restates the six-digit code but adds no format, validation, or usage detail beyond the schema, so the baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource — 'Complete sign-up with the six-digit code' and 'return a new API key' — so the agent knows both input and output. It is clearly distinguished from the sibling request_sign_in, which it names as the prerequisite step rather than a substitute.

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?

Explicitly sequences the tool: 'Call request_sign_in first,' which tells the agent when this tool becomes usable. It gives no guidance on failure paths (expired or incorrect code) or on what to do if the key is lost, but the positive when-to-use condition is unambiguous.

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