Skip to main content
Glama

keys_message

Read-onlyIdempotent

Get the exact message a wallet must sign to request a free Trading Data API key; read-only, no funds or payment required.

Instructions

[Trading Data API] Free API key, step 1: get the exact message to sign for a wallet. No funds needed; any wallet you control works (including smart-contract wallets).

Example: /v1/keys/message?wallet=0x0000000000000000000000000000000000000001

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>"
    },
    "name": "keys_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYesRequired. The 0x wallet address that will sign and own the key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.7

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered; the description still adds useful context about cost (free, no payment), wallet compatibility including smart-contract wallets, and the tool's position as step 1 in a multi-step flow. It does not describe what the returned message looks like or how it expires, which keeps it from a 5.

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?

The purpose is front-loaded in the first clause, and the example plus behavior note are compact. There is minor redundancy between 'No funds needed' in the first paragraph and 'no key or payment needed' in the Behavior line, which could be consolidated.

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 single-parameter, no-output-schema tool this covers what is needed to invoke it correctly: the purpose, the cost, the wallet requirement, and an example. The one gap is that 'step 1' implies a follow-up step without naming the next tool, leaving the agent to search for step 2.

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

Parameters4/5

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

Schema coverage is 100% and the wallet parameter is already documented, so the baseline is 3; the description earns an extra point by giving a concrete example URL that shows the parameter in real request syntax. It does not clarify format constraints (e.g., checksum casing or chain specificity) beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 the exact message to sign for a wallet,' framed as step 1 of obtaining a free API key. An agent can tell this is a signing-challenge generator rather than a key-issuing call, though it does not explicitly differentiate itself from sibling challenge tools like identity_get_challenge or registry_onboarding_message.

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 'Free API key, step 1' framing gives clear context for when to reach for this tool, and it preempts two common hesitations by stating no funds are needed and any wallet type works. It stops short of naming alternatives or stating when-not to use it, so it lands below a 5.

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

Deploy Server

Other Tools