Skip to main content
Glama

Qodnai x402 Security Intelligence

crypto_price

Low-cost crypto spot price snapshot. Price $0.001. Paid calls are relayed to the x402 endpoint; never send private keys to this server.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "crypto_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
vsNousd
idsNobitcoin
x_paymentNoOptional legacy X-PAYMENT header value. Never send a private key.
payment_signatureNoOptional x402 v2 PAYMENT-SIGNATURE header value obtained after the first call returns the live 402 challenge. Never send a private key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and does disclose three useful things: the $0.001 cost, that paid calls are relayed to an x402 endpoint, and a hard security constraint against sending private keys. It does not explain what happens on a rejected or unpaid call, whether the 402 challenge itself is billed, or any rate limits.

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 sentences, both front-loaded with the highest-value facts (what it does, what it costs) before the security warning. The private-key caution is slightly redundant with the schema text, but that repetition is defensible for a safety-critical instruction.

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

Completeness3/5

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

For a 4-parameter paid tool with no annotations and no output schema, the description covers cost and payment mechanics but omits the return shape and any explanation of how to obtain the payment signature. An agent still lacks enough to know what it will get back or how the challenge cycle terminates.

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 only 50%, and the description adds nothing about the two undocumented parameters, vs and ids, including their defaults or accepted formats. It only echoes the security note attached to the payment parameters, leaving the asset and currency selection semantics entirely unexplained.

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?

States a specific resource and operation: a crypto spot price snapshot, with a cost attached. It implicitly distinguishes itself from fx_rate and stock_quote by naming the crypto domain, but never explicitly contrasts with those siblings.

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 guidance on when to use this instead of fx_rate or stock_quote, and no prerequisites stated beyond the security warning. The reference to a 'paid call relayed to the x402 endpoint' hints at a two-step challenge flow but never lays it out; the agent must infer that from the schema's payment_signature description.

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.