Skip to main content
Glama

keys

Read-onlyIdempotent

[Trading Data API] Free API key, step 2: send the wallet, the message from step 1 and its EIP-191 signature to receive a key (shown once). One key per wallet; signing again rotates it. Each key gets a daily credit budget and a per-minute limit on paid endpoints; when credits run out the endpoint returns the normal x402 payment challenge.

Behavior: read-only and free; no key or payment needed.

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": {
      "wallet": "<wallet>",
      "message": "<message>",
      "signature": "<signature>"
    },
    "name": "keys"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYesThe 0x wallet address that signed.
messageYesThe message returned by GET /v1/keys/message, unchanged.
signatureYes0x EIP-191 personal_sign signature of the message.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior2/5

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

The description is rich about operational behavior — daily credit budget, per-minute limit on paid endpoints, and the x402 payment challenge when credits run out — and warns the key is shown only once. But it also says "signing again rotates it," i.e. the call creates/invalidates credentials, which contradicts readOnlyHint=true and idempotentHint=true; the closing "read-only" claim reinforces the mismatch rather than resolving it.

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?

Two short paragraphs, front-loaded with the action and inputs, then limits and the free/no-payment note. Dense but every clause carries information; the only redundancy is the "read-only" claim, which restates the annotation while sitting awkwardly next to the rotation behavior.

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?

For a 3-required-param credential-exchange tool with no output schema, the definition covers the prerequisite step, rotation rule, quota model, and failure mode (x402 challenge). The response shape beyond "shown once" is not described, but that warning is the operationally critical part.

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%, so wallet, message and signature are already fully documented. The description only adds that the message is the one from step 1 and must be sent unchanged, which the schema largely covers; baseline 3 is appropriate.

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?

"Free API key, step 2: send the wallet, the message from step 1 and its EIP-191 signature to receive a key" states a specific verb (exchange credentials for a key), the exact inputs, and positions the call as the second half of a two-step flow with keys_message. An agent can distinguish it from sibling key tools without opening the schema.

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?

The description makes the sequencing explicit (message must come from step 1) and states the wallet-level rule: one key per wallet, re-signing rotates it. It does not name keys_self as the alternative for inspecting an existing key, so the routing guidance is clear but not exhaustive.

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.