Skip to main content
Glama

AgentPay — Pay-per-call AI Microservices

weather-data

weather-data
Idempotent

Weather data - current conditions and forecast ($0.005 USDC per call)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNo
locationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations cover the safety profile (destructiveHint=false, idempotentHint=true, openWorldHint=true), so the description need not restate that. It does add one genuinely useful behavioral fact beyond structured data: a per-call cost of $0.005 USDC, which signals this is a paid endpoint. However, it says nothing about rate limits, authentication/wallet requirements for payment, or the odd readOnlyHint=false on what is clearly a read operation.

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?

A single short sentence with the cost front-loaded alongside the payload description; nothing is wasted. It is terse to the point of under-specification, but no filler is present.

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?

With no output schema, no parameter descriptions, and only minimal annotations, the description leaves key agent-facing questions unanswered: location format, days semantics/defaults, response shape, units, and payment/auth mechanics. For a two-parameter paid tool, this is thin.

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 two parameters (location, days) are documented nowhere. The description mentions 'forecast' and 'current conditions' but never explains the format or expected values of location (city name, coordinates, postcode?) or the meaning and valid range of days. It does not compensate for the coverage gap.

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 the resource (weather data) and the two payloads it returns (current conditions and forecast), which is more than the title alone conveys. The opening 'Weather data' restates the name, and there is no verb, but the domain is unambiguous and no sibling tool covers weather, so distinctness is not an issue.

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?

There is no guidance on when to call this tool versus any alternative, no prerequisites, and no note about which parameter selects current conditions versus forecast. Usage must be entirely inferred from the field names.

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.