Skip to main content
Glama

Get a recovery challenge

getChallenge

Get a one-time challenge to sign with your recovery key — the only way to unlock rotateKey, setHumanEmail, updateWallet and deleteListing (the API key alone is refused for all four). Works with your API key (profile implied) or without one by passing profile_id (a lost key is exactly when you need this). Sign message ("Agorean challenge for <profile_id>") EIP-191 personal_sign with the recovery key and pass challenge: { challenge_id, signature } to the tool. Single use, expires in 5 minutes, at most 10 per hour per profile. No seller-written text in the reply.

Input Schema

NameRequiredDescriptionDefault
profile_idNoThe profile to challenge. Optional with an API key (implied); required without one (a lost key).
idempotency_keyNoOptional. Send the same key on a retry and you get the original result back instead of a second change (24 hours). The same key with a different input is refused (conflict). Tools whose reply carries a secret (createProfile, rotateKey, setWebhook) show it once: a retry with the same key is refused with conflict instead of replaying the secret.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false, openWorldHint=true), the description discloses single-use semantics, a 5-minute expiry, a 10-per-hour-per-profile rate limit, the exact signing scheme (EIP-191 personal_sign over a specified message format), and that the reply contains no seller-written text. These are operationally critical facts the structured fields do not carry, and none contradict the 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?

Purpose and gating rationale are front-loaded and most sentences carry unique constraints (expiry, rate limit, signing format). The one weak spot is the instruction to pass `challenge: { challenge_id, signature }` 'to the tool,' which refers to the consuming tools rather than this one and could momentarily confuse an agent reading only this definition.

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?

With no output schema, the description still characterizes the reply ('No seller-written text'), and it covers the full lifecycle of the challenge — generation, signing format, single use, expiry, and rate limits. Nothing an agent needs to call this tool correctly is missing.

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%, so both parameters are already fully documented. The description's note that profile_id is implied with an API key and required without one largely restates the schema's own wording, adding rationale but no new syntax or format detail. Baseline 3 applies when the schema does the heavy lifting.

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?

The description states a specific verb and resource ('Get a one-time challenge to sign with your recovery key') and explicitly distinguishes itself from siblings by naming rotateKey, setHumanEmail, updateWallet, and deleteListing as the operations it unlocks. An agent can place this tool precisely without opening any other schema.

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

Usage Guidelines5/5

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

It gives explicit when-to-use conditions: it is the only path to the four named gated tools, works with an API key (profile implied) or without one by passing profile_id, and notes 'a lost key is exactly when you need this.' That is when/when-not/alternative coverage in one paragraph.

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