Skip to main content
Glama

x402_create_api_key

Claim a paid x402 API key by providing a quote ID and payment transaction signature from a Solana wallet.

Instructions

Claim a paid x402 API key using quoteId and payment transaction signature.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quoteIdYes
paymentTxSignatureYes
payerWalletNo
nameNo
scopesNo
Behavior2/5

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

With no annotations, the description carries the burden of behavioral disclosure. It only states the action and expected inputs, without revealing side effects (e.g., consumption of quote, storage of key), success/failure outcomes, or any required permissions. A 2 reflects this significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence of 12 words, which is concise but at the expense of completeness. It is front-loaded with the core action but omits necessary context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 5 parameters, no annotations, and no output schema, the description is insufficient. It does not explain the claim process, return value, error conditions, or relationship with sibling tools like x402_get_pricing or wallet tools. A 2 reflects this lack of completeness.

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%, so the description must compensate. It only explains two required parameters (quoteId, paymentTxSignature) but omits three optional ones (payerWallet, name, scopes). No hints about their purpose or usage, leaving agents unaware of optional customizations.

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?

Description clearly states the action ('Claim') and resource ('paid x402 API key') and mentions key inputs (quoteId and payment transaction signature). It distinguishes from the sibling tool x402_create_api_key_quote, which suggests the quote creation step precedes this claim.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool versus alternatives. Does not mention prerequisites (e.g., need a valid quote from x402_create_api_key_quote) or conditions under which it should be invoked.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amirdauti/dritan-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server