Skip to main content
Glama

Agent Data Tools: Utilities

UV index now and today

uv
Read-only

Current UV index and today's maximum at a point, with the WHO exposure category and sun-protection advice (Open-Meteo). Use for outdoor planning and health reminders. Example: lat=59.33, lon=18.07. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "uv"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude (-90 to 90)
lonYesLongitude (-180 to 180)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), and the description adds genuinely new behavioral context: billing at $0.01/call via x402 USDC or a card key, first 10 free, failed calls free. 'Reads or computes only and changes nothing' plus 'each call is charged, so repeats are not free' tells the agent that re-invoking has a cost, which aligns with idempotentHint=false. It does not discuss rate limits, timezone handling, or staleness of cached values.

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?

It is front-loaded with purpose and usage, then the concrete example, then billing terms. Every sentence carries information, though the price/payment-method detail is dense and could be tightened without losing meaning.

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 two-parameter read tool, the description covers purpose, outputs (current index, today's max, WHO category, advice), invocation example, and cost model. Missing are the unit/scale of the index, what 'today' means relative to timezone, and any note on caching — minor gaps for a tool with no output schema.

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 100%, with lat/lon ranges documented in the schema itself, so the baseline is 3. The description adds only a concrete example pair (lat=59.33, lon=18.07), which aids invocation but conveys no additional semantics such as required precision or handling of ocean/polar coordinates.

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 states a specific resource and scope: 'Current UV index and today's maximum at a point, with the WHO exposure category and sun-protection advice.' That names the data source (Open-Meteo) and the exact outputs, so an agent knows what this returns. It does not differentiate from lookalike environment siblings such as air_quality, which keeps it short of a 5.

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

Usage Guidelines4/5

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

'Use for outdoor planning and health reminders' gives a clear usage context that goes beyond the tool name. There is no explicit when-not-to-use guidance and no named alternative for related environmental readings, so it stops at a strong 4.

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