Skip to main content
Glama

Universal Data — x402 + MPP Payment Setup

api_weather_heat_index

Read-onlyIdempotent

Apply the NOAA Rothfusz heat-index regression for hot humid conditions, from temperature Celsius and relative humidity. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

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": {
      "temperature_c": "<temperature_c>",
      "humidity_pct": "<humidity_pct>"
    },
    "name": "api_weather_heat_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
humidity_pctYesRelative humidity percent
temperature_cYesAir temperature in degrees Celsius

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?

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the description is not needed for the safety profile, yet it still adds material facts: a per-call cost of 0.01 USDC on Base x402 and the X-Provider-Key header for customer-owned credentials. It omits any note about the regression's valid input range, which would matter behaviorally.

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 compact sentences: the computational identity comes first, then the payment and credential mechanics. No filler, and the most decision-relevant information is front-loaded.

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?

With no output schema, the description carries the burden of explaining the return value, and it never says whether the heat index comes back in Celsius or Fahrenheit or what scale it uses. Documentation of inputs, cost, and auth is complete, but that output gap is meaningful for a numeric calculator.

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 fully documented there, so the description's restatement of Celsius temperature and relative humidity adds nothing new. The one semantic gap, the unit of the computed output, is not addressed either.

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 computation (NOAA Rothfusz heat-index regression) with its two inputs, which cleanly separates it from the nearest sibling, api_weather_dew_point. It stops short of stating what the returned number represents (heat-index value and its unit), which leaves a small ambiguity in an otherwise clear purpose.

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?

It gives an applicability condition: 'for hot humid conditions', implying the tool is only valid in that regime. It never states the temperature/humidity thresholds below which the regression is inappropriate, nor names an alternative approach for cooler conditions, so the when-to-use guidance is only implied.

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