Skip to main content
Glama

Qodnai x402 Security Intelligence

base_gas

Current Base gas oracle with slow/standard/fast EIP-1559 fee tiers. 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": "base_gas"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

A3.7/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does meaningful work: it discloses the $0.001 price, that calls are relayed to an x402 endpoint, that the first call returns a live 402 challenge, and it warns against sending private keys. It still omits caching/refresh cadence and what a failed or unpaid call looks like.

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 sentences, front-loaded with what the tool returns, followed by cost and payment mechanics. Every clause carries information. Minor cost: payment protocol and security warning are compressed into one sentence, which is dense but still readable.

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 zero-required-parameter read tool with no annotations and no output schema, the description covers the essentials: what is returned (EIP-1559 tiers), what it costs, and how payment is negotiated. The remaining gap is the shape/units of the returned fee values, which nothing else in the definition supplies.

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 description coverage is 100% and both parameters are optional, so the schema already explains x_payment and payment_signature, including the 'never send a private key' warning. The description repeats that warning but adds no format, encoding, or precedence guidance between the two payment headers. Baseline 3 applies.

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 scope: 'Current Base gas oracle with slow/standard/fast EIP-1559 fee tiers.' An agent immediately knows this returns gas estimates for Base. It does not explicitly contrast with any sibling (e.g. crypto_price or fx_rate), so differentiation is left to the name.

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?

Usage is implied by the content (need a gas estimate on Base) but there is no explicit when-to-use statement, no exclusions, and no guidance on which tier to pick. The payment-related sentence hints at the call sequence but is framed as behavior, not as selection guidance.

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.