Skip to main content
Glama

preview_infrastructure_risk

Read-onlyIdempotent

Screen any WGS84 coordinate for free, read-only physical and digital infrastructure risk before committing to a paid verified audit.

Instructions

Compute a FREE, read-only multi-layer physical and digital infrastructure risk preview for any WGS84 coordinate worldwide. Use this tool first for site screening, hazard exploration, or cost-free risk checks before committing to a paid cryptographic audit (use assess_infrastructure_risk instead when a verifiable SHA-256 proof_hash and x402 payment receipt are required). Synthesizes 10 live Tier-1 feeds: Copernicus 5-point DEM slope/elevation, Open-Meteo weather & Stull wet-bulb cooling risk, ECMWF GloFAS river flood discharge, USGS ComCat seismic activity, NASA EONET wildfires/storms/volcanoes, PeeringDB data centers/IXPs, TeleGeography subsea cables, and Starlink orbital line-of-sight. Returns composite_risk_score (0-100), risk_grade, layer-by-layer sub-scores, confidence level, and full data_provenance metadata.

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": {
      "asset_id": "<asset_id>",
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "preview_infrastructure_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
asset_idYesUnique identifier for the physical infrastructure asset being evaluated. May be a registered A.GRID asset ID (e.g., 'DC-TOKYO-JP', 'PORT-BUSAN-KR', 'MINE-ATACAMA-CL') or any custom alphanumeric label for an arbitrary site.
latitudeYesWGS84 geographic latitude in decimal degrees from -90 (South Pole) to +90 (North Pole), for example 35.6762 for Tokyo or 37.5665 for Seoul.
commodityNoOptional workload or commodity tag for domain context (e.g., 'AI_COMPUTE', 'LITHIUM', 'SOYBEAN', 'LNG', or 'INFRASTRUCTURE'). Defaults to 'INFRASTRUCTURE'.INFRASTRUCTURE
longitudeYesWGS84 geographic longitude in decimal degrees from -180 (West) to +180 (East), for example 139.6503 for Tokyo or 126.9780 for Seoul.
asset_typeNoPhysical infrastructure class used to weight seismic, climate, flood, and connectivity risk factors. Defaults to 'DATA_CENTER'. Choosing 'MINE' or 'FARM' also enriches the assessment with sister critical-minerals or EUDR deforestation compliance signals.DATA_CENTER
use_live_feedNoWhen true (default, recommended), queries all 10 live Tier-1 Earth & digital infrastructure APIs (USGS, NASA EONET, Copernicus DEM, Open-Meteo, GloFAS Flood, PeeringDB, TeleGeography). Set false only for deterministic offline/synthetic fallback testing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.1.1
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / asset_id / description
      Previous value: -"Asset identifier (e.g. DC-TOKYO-JP, PORT-BUSAN-KR)"New value: +"Unique identifier for the physical infrastructure asset being evaluated. May be a registered A.GRID asset ID (e.g., 'DC-TOKYO-JP', 'PORT-BUSAN-KR', 'MINE-ATACAMA-CL') or any custom alphanumeric label for an arbitrary site."
    • addedInput schema / properties / asset_id / maxLength
      Added value: +128
    • addedInput schema / properties / asset_id / minLength
      Added value: +1
    • addedInput schema / properties / asset_type / description
      Added value: +"Physical infrastructure class used to weight seismic, climate, flood, and connectivity risk factors. Defaults to 'DATA_CENTER'. Choosing 'MINE' or 'FARM' also enriches the assessment with sister critical-minerals or EUDR deforestation compliance signals."
    • addedInput schema / properties / commodity / description
      Added value: +"Optional workload or commodity tag for domain context (e.g., 'AI_COMPUTE', 'LITHIUM', 'SOYBEAN', 'LNG', or 'INFRASTRUCTURE'). Defaults to 'INFRASTRUCTURE'."
    • addedInput schema / properties / latitude / description
      Added value: +"WGS84 geographic latitude in decimal degrees from -90 (South Pole) to +90 (North Pole), for example 35.6762 for Tokyo or 37.5665 for Seoul."
    • addedInput schema / properties / longitude / description
      Added value: +"WGS84 geographic longitude in decimal degrees from -180 (West) to +180 (East), for example 139.6503 for Tokyo or 126.9780 for Seoul."
    • addedInput schema / properties / use_live_feed / description
      Added value: +"When true (default, recommended), queries all 10 live Tier-1 Earth & digital infrastructure APIs (USGS, NASA EONET, Copernicus DEM, Open-Meteo, GloFAS Flood, PeeringDB, TeleGeography). Set false only for deterministic offline/synthetic fallback testing."
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the description's job is to add context — which it does by disclosing that 10 live Tier-1 feeds are queried, that the tool is free with no payment, and that use_live_feed=false falls back to deterministic offline/synthetic data. It does not mention latency, rate limits, or behavior when a feed is unavailable, which keeps it below a 5.

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 purpose, then routing guidance, then source list, then return values — a logical order with no filler sentences. The enumeration of eight brand-named feeds is dense and slightly overstuffed, but every clause carries informational weight.

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 fields (composite_risk_score 0-100, risk_grade, layer sub-scores, confidence, data_provenance). Combined with the sibling differentiation and fallback note, an agent has enough to call it correctly; only failure/timeout 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 the schema already defines all six parameters including examples and defaults. The description adds some corroborating context (asset_type weighting of seismic/climate/flood/connectivity factors, the 10 feeds touched when use_live_feed is true) but adds nothing about commodity or asset_id semantics. Baseline 3 is correct when the schema carries the load.

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 and resource ('Compute a ... infrastructure risk preview for any WGS84 coordinate') and immediately names the sibling assess_infrastructure_risk as the differing option. An agent can distinguish the free preview from the paid cryptographic audit without opening either schema.

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

Usage Guidelines5/5

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

Explicitly says 'Use this tool first for site screening, hazard exploration, or cost-free risk checks' and states the switching condition for the alternative: when a verifiable SHA-256 proof_hash and x402 payment receipt are required. Both the when and the when-not are present.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.