Skip to main content
Glama

Qodnai x402 Security Intelligence

stock_quote

Latest public equity quote snapshot for a ticker. Price $0.002. 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": "stock_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolNoAAPL
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.4/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 burden, and it does disclose real behavior: a $0.002 price, the fact that paid calls are relayed to an x402 endpoint, and a security constraint against sending private keys. It omits what the 402 challenge flow looks like in practice, whether quotes are delayed, and what the response contains.

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?

Three short sentences with the purpose and price front-loaded, then the payment warning. The private-key caution duplicates text already present in both schema field descriptions, which is mild redundancy in a security-critical context.

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 three-parameter, no-output-schema tool with no annotations, the description covers purpose, cost, payment routing, and a safety rule. It leaves the agent without guidance on the two-step 402 handshake, expected response shape, or whether the quoted price is per call or per retry on a 402.

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 67%, so the schema already documents x_payment and payment_signature including the first-call 402 challenge. The description reinforces the private-key prohibition but adds nothing about symbol semantics, the AAPL default, or how the two payment headers differ in use.

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?

"Latest public equity quote snapshot for a ticker" gives a specific resource and recency qualifier, which implicitly separates it from sibling tools like crypto_price and fx_rate. It stops short of naming an alternative explicitly, so the differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

The phrase "public equity quote" implies the domain (equities, not crypto or FX), but there is no explicit when-to-use guidance, no conditions, and no named alternative. The payment note explains a call mechanic rather than tool selection.

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.