Skip to main content
Glama
ffraud
by FFraud-com

Pick up the approved key

claim_api_key

Retrieve your FFraud API key once the user approves the signup request. Returns pending, approved with the key exactly once, or denied/expired, so you can store it as FFRAUD_API_KEY.

Instructions

After request_api_key: picks up the API key once the person pressed Approve. Answers status "pending" while they have not (wait about 5 seconds and call again, or remind them to check their inbox), "approved" with api_key exactly once (keep it: send it in the X-API-Key header, store it as FFRAUD_API_KEY), or "denied", "expired" or "delivered" when it is over.

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": {
      "signup_id": "<signup_id>",
      "claim_token": "<claim_token>"
    },
    "name": "claim_api_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
signup_idYesThe signup_id request_api_key returned.
claim_tokenYesThe claim_token request_api_key returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotentHint=false and openWorldHint=true, and the description reinforces the non-idempotent behavior with the crucial detail that api_key is returned exactly once. It also adds operational context the annotations cannot carry: send the key in the X-API-Key header and store it as FFRAUD_API_KEY. It stops short of describing error handling if the claim_token is invalid or already used.

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?

One dense sentence, front-loaded with the prerequisite call and then enumerating outcomes in order of likelihood. The parenthetical retry advice is well placed, though the trailing status list ("denied", "expired" or "delivered") is compressed enough to read as a run-on.

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?

There is no output schema, so the description carries the full burden of explaining return values — and it enumerates all five status outcomes plus what to do with the key on success. Nothing an agent needs in order to call this correctly and react to the result 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 coverage is 100% and both parameters are documented in the schema as the values request_api_key returned, so the description adds no meaning beyond it. 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?

States a specific verb and resource ("picks up the API key") and anchors it to the sibling request_api_key, so the agent can distinguish the retrieval step from the request step without inspecting either 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?

Explicitly sequences the call ("After request_api_key") and gives conditional guidance for each outcome: on "pending", wait about 5 seconds and call again or remind the user to check their inbox; on other statuses, the flow is over. That is when-to-use plus per-state next actions, which is more than most definitions offer.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.