Skip to main content
Glama

weather_uv_batch

Read-only

UV index forecast for up to 20 US ZIP codes (EPA) — Today's EPA UV index forecast for up to 20 US ZIP codes (comma separated) in one call: UV index, level and alert per ZIP, plus highest/lowest, count by level, alert ZIPs and where sun protection is advised (UV 3+). Source: US EPA Envirofacts UV forecast (public domain). JSON. Price: $0.006 USDC (Base, via x402).

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": {
      "zips": "<zips>"
    },
    "name": "weather_uv_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipsYese.g. 37203,33101,85001

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, openWorldHint, destructiveHint=false), and the description adds material context beyond them: the upstream source (US EPA Envirofacts, public domain), the response encoding (JSON), the hard 20-ZIP cap, and a per-call price with the payment rail (x402 on Base). That pricing and provenance detail is exactly the kind of behavior an agent cannot get from the schema.

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

Conciseness3/5

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

The opening clause duplicates the title and is immediately restated by 'Today's EPA UV index forecast for up to 20 US ZIP codes', wasting the most valuable position. The trailing facts (source, JSON, price) are useful but tacked on as fragments rather than structured.

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?

There is no output schema, so the description carries the return-value burden and does it well: per-ZIP UV index, level and alert, plus aggregates (highest/lowest, count by level, alert ZIPs, protection-advised cutoff at UV 3+). Cost and source are also disclosed, leaving only pagination/error behavior unstated, which is minor for a fixed-cap batch call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter already has an example, so the bar is low, but the description still adds meaning: 'comma separated' format, the 20-value ceiling, and the US-only constraint on the ZIP values. Those three facts materially shape how the agent constructs the argument.

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 verb and resource ('UV index forecast'), with scope qualifiers: US-only, up to 20 ZIP codes, EPA-sourced, same-day forecast. The batch scope implicitly separates it from the singular weather_uv sibling, but no sibling is named, so an agent must infer the distinction.

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: the 'up to 20 ZIP codes ... in one call' phrasing suggests batching is the point, and 'US ZIP codes' implies a geographic restriction. There is no explicit when-to-use, when-not-to-use, or named alternative for multi-field weather needs such as weather_current_batch or weather_alerts_batch.

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.

Resources