Skip to main content
Glama

assess_infrastructure_risk

Read-only

Execute a paid, cryptographically verifiable physical infrastructure risk assessment with SHA-256 proof for smart contracts, insurers, or compliance workflows needing auditable attestation.

Instructions

Execute a PAID (0.015 USDC via x402 multi-chain or Solana) verified physical infrastructure risk assessment with a deterministic SHA-256 proof_hash, BCBS operational resilience flags, and an auditable data_provenance trail. Use this tool when downstream smart contracts, insurers, or compliance workflows require a cryptographically verifiable risk attestation; use preview_infrastructure_risk for free exploratory queries. Requires a valid X-402-Signature header (or X402_SIGNATURE environment variable in stdio mode); if omitted or invalid, returns a structured payment_required (HTTP 402) challenge describing the exact USDC amount, recipient, and supported settlement networks.

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": "assess_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
    • addedInput schema / properties / asset_id / description
      Added 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.6/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/non-idempotent/non-destructive; the description adds the details that actually drive call behavior: exact price (0.015 USDC), settlement rails (x402 multi-chain or Solana), required X-402-Signature header or X402_SIGNATURE env var in stdio mode, and the structured HTTP 402 payment_required failure shape. These are non-obvious operational facts not derivable from annotations.

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?

One dense paragraph, front-loaded with the paid/verified nature and followed by usage routing and auth/error behavior. Every sentence carries information, though the payment and signature sentences could be split for scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paid, authenticated, open-world tool with no output schema, the description still covers cost, payment protocol, auth header, failure response, and what the attestation contains (proof hash, resilience flags, provenance). An agent has enough to decide and call correctly.

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 already documents asset_id, coordinates, commodity, asset_type enum effects, and use_live_feed. The description adds no parameter-level meaning beyond the schema, so the baseline 3 applies.

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 ('Execute a PAID verified physical infrastructure risk assessment') plus the distinguishing outputs (SHA-256 proof_hash, BCBS flags, provenance trail), and explicitly names the free sibling preview_infrastructure_risk so the agent can tell the two apart 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?

Gives an explicit when-to-use condition (downstream smart contracts, insurers, compliance workflows needing a cryptographically verifiable attestation) and an explicit alternative for exploratory queries (preview_infrastructure_risk). The paid-vs-free split is unambiguous.

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