Skip to main content
Glama

Collect the API key once the user has approved

claim_api_key

Poll after request_api_key: returns status "pending" until the user approves the emailed link, then "approved" with the key exactly once. Send the key as "Authorization: Bearer " on every later request (reconnect the MCP client with that header). Free to call; no key needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
request_idYes
claim_secretYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and idempotentHint=false, and the description adds real context beyond them: the operation is a poll that returns "pending" until approval, the key is issued "exactly once", and the call is free/no-auth. What it omits is what happens on a second claim attempt or whether the claim_secret expires.

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 dense sentences, front-loaded with the triggering condition, then the return behavior, then the downstream auth usage. Every sentence carries information an agent needs.

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?

The description fully covers the aspect an output schema would otherwise supply (the pending/approved states and the key), which is strong. But with no output schema, two undocumented required parameters, and no note on retrieval failure or expiry, it is only barely sufficient for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description never mentions request_id or claim_secret, so an agent gets no hint about what these required strings are or where they come from (presumably request_api_key's response). With low coverage the description should compensate, and it does not.

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 (poll/claim) and resource (the API key) and explicitly positions itself relative to request_api_key, the sibling an agent would otherwise confuse it with. There is no ambiguity about what the tool does.

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?

"Poll after request_api_key" gives a clear precondition and sequencing relative to the sibling, and the pending/approved outcomes tell the agent how to interpret results. It stops short of explicit polling cadence or give-up conditions, so it is not quite a 5.

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