Skip to main content
Glama

Place conditions

place_conditions

What is happening at a place: forecast (US NWS, MET Norway elsewhere), US weather alerts, earthquakes within 300 km in the last 7 days, England flood warnings and the Great Britain grid carbon intensity, from one lat/lon, each source with its licence. covered:false means the source does not cover the place, not all-clear. Not a safety service. $0.005 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for the terms, sign them with your own wallet, call again with payment.

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

Input Schema

NameRequiredDescriptionDefault
latYeslatitude, decimal degrees, e.g. 51.5074
lonYeslongitude, decimal degrees, e.g. -0.1278
paymentNoa signed x402 payment (the base64 payload you would put in PAYMENT-SIGNATURE). Pass it and the purchase completes inside this tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: cost ($0.005/call), accepted rails (USDC on Arc/Base/Solana, XNT on X1), the two-step x402 handshake, per-source licensing, and the critical interpretation rule that `covered:false` means no coverage rather than all-clear. It also disclaims safety-critical use, which is exactly the kind of trait an agent must know before invoking.

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 what the tool returns, then constraints, then payment mechanics; nearly every clause carries operational information. The source enumeration and payment sentences are dense and run together, which makes it slightly harder to scan than a bulleted structure would, but nothing is filler.

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 multi-source aggregator with no output schema and no annotations, the description covers sources, per-source licensing, the coverage flag, cost, and payment flow — enough to call it correctly. The main remaining gap is return-shape detail (how per-source results and partial failures are represented), which the absence of an output schema leaves undocumented.

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%, so lat/lon/payment are already documented; the description adds meaning beyond that by explaining the sequencing of `payment` (terms-first, then signed payload completes the purchase inside the call) and framing lat/lon as a single point driving all sources. No added detail on decimal-degree formatting or coordinate validation.

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?

The opening clause states a concrete resource ("what is happening at a place") and then enumerates every data source returned: NWS/MET Norway forecasts, US alerts, 300 km earthquakes over 7 days, England flood warnings, GB grid carbon intensity. No sibling tool covers geospatial hazard/conditions reporting, so the boundary is unambiguous.

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?

It gives a clear calling protocol (call once without `payment` for terms, sign, call again with `payment`) and an explicit scope caveat ("Not a safety service"), plus the 300 km / 7 day windows that define the query. It stops short of stating when an agent should prefer another tool or when this call is pointless (e.g. a lat/lon outside all covered regions), so no true alternatives/exclusions are named.

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