Skip to main content
Glama

Qodnai x402 Security Intelligence

weather

Current weather and short forecast for latitude/longitude. Price $0.001. Paid calls are relayed to the x402 endpoint; never send private keys to this server.

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "weather"
  }
}

Input Schema

NameRequiredDescriptionDefault
latitudeYes
longitudeYes
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.5/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 two genuinely useful behaviors: a $0.001 cost and that paid calls are relayed to an x402 endpoint with a security warning against sending private keys. However, it omits return shape, units (metric vs imperial), data source/freshness, caching, and what happens on a 402 challenge beyond the schema's mention of it.

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

Conciseness5/5

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

Two short sentences, zero filler, and the core capability is front-loaded ahead of the pricing and payment caveats. Every clause carries information an agent needs (scope, cost, payment path, security constraint).

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?

There is no output schema, so the description must describe what comes back — and it does not (no fields, units, or forecast horizon). The payment/security story is adequately covered, but for a tool whose return values are entirely undocumented, a gap remains.

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 50%: the two payment parameters are documented in-schema, while latitude and longitude have no descriptions (their meaning is self-evident). The description adds little per-parameter meaning beyond contextualizing the payment flow as an x402 relay, which is a marginal gain. Baseline 3 is appropriate at this coverage level.

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 names a specific resource and scope: current conditions plus a short forecast, keyed to latitude/longitude. That is enough to distinguish it from every sibling listed (gas, prices, tokens, scans, web search). It stops short of a 5 because it never states what the response contains or how far ahead the 'short forecast' extends.

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 only implied by the coordinate inputs — an agent can infer 'call this when you need weather at a location', and no sibling offers a competing weather capability. There is no explicit when-to-use or when-not-to-use statement, and nothing about required inputs beyond lat/lon. The payment sentences describe mechanics 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.