Skip to main content
Glama

Collect your API key

search_collect_key

After paying the invoice from search_order, collect your API key. It is returned once, when the invoice is settled. Free.

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": {
      "order_id": "<order_id>"
    },
    "name": "search_collect_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYesThe order_id returned by the order tool.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: the key is returned exactly once, only once the invoice is settled, and costs nothing. This explains why idempotentHint=false matters in practice. It does not describe the failure mode if called before settlement or after the single retrieval.

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?

Front-loads the prerequisite condition, then the payoff, then the once-only constraint, in three short sentences. The fragment 'Free.' is informational but slightly clipped in style.

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 an output schema present, return values need no explanation, and the description covers the sequencing constraint and the one-shot retrieval semantics an agent needs to call it correctly. Nothing essential for correct invocation 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 the single order_id parameter is already documented as coming from the order tool, so the description adds no new meaning about the parameter. Baseline 3 applies when the schema carries the semantics.

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 ('collect your API key') and immediately distinguishes the operation from the sibling 'search_order' by naming it as the prerequisite step. An agent can tell this is a post-payment retrieval action, not a search, despite the 'search_' name prefix.

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?

Gives an explicit precondition and ordering: only after paying the invoice produced by search_order. It does not spell out what to do if the invoice is unpaid or how to recover a key already collected, so it stops short of full when/when-not guidance.

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