Skip to main content
Glama

ScorpTech x402 Tools

Weather Nws

weather_nws
Read-onlyIdempotent

US weather from the National Weather Service for a latitude/longitude: 7-day (or hourly) forecast periods with temperature, precipitation chance, wind and text forecast, plus all active NWS watches, warnings and advisories for that point. US states, territories and coastal waters only. Returns JSON with: location, forecast, alertCount, alerts. Price: $0.01 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/weather-nws

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": "weather_nws"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude (-90..90), US location
lonYesLongitude (-180..180), US location
unitsNous (F, mph; default) or si (C, km/h)
hourlyNotrue for the next 48 hourly periods instead of 14 day/night periods

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 safety profile is covered. The description adds genuinely new behavioral context beyond them: the upstream data source (NWS), the exact return keys (location, forecast, alertCount, alerts), and a per-call cost of $0.01 USDC via x402 on Base or Solana. It omits error behavior for out-of-range or non-US coordinates.

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?

Front-loaded with the core capability, then scope, then return shape, then pricing/transport. Every line carries information, though the trailing HTTPS endpoint line reads partly as promotion rather than agent-relevant guidance.

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?

With no output schema, the description compensates by naming the returned JSON fields and the alert coverage, and it discloses cost and transport. It is essentially complete for a simple read tool; only error/coverage-failure behavior is unaddressed.

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%, so lat/lon/units/hourly are already fully documented in the schema; baseline is 3. The description reinforces the 7-day-vs-hourly choice but adds no unit or format detail beyond the schema, and never mentions the units parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (retrieve US NWS weather for a lat/lon) and enumerates the payload: 7-day or hourly periods with temperature, precipitation chance, wind, text forecast, plus active watches/warnings/advisories. Geographic scope ('US states, territories and coastal waters only') cleanly separates it from the global weather sibling.

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?

The 'US ... only' restriction tells the agent when NOT to use this tool, which implicitly routes non-US requests elsewhere. It does not explicitly name the alternative (weather_global) or state what to do for non-US coordinates, so it falls short of full when/when-not guidance.

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