Skip to main content
Glama
Critical Raw Minerals & ESG Compliance Oracle(x402)

Critical Raw Minerals & ESG Compliance Oracle(x402)

verify_mineral_lot_compliance

Read-onlyIdempotent

Assess a mineral lot against 12-trap compliance heuristics using satellite and market indices, returning a structured JSON verdict, audit metadata, and cryptographic reference for screening.

Instructions

Fetches raw algorithmic indices derived from open satellite/market data and computes 12-trap rule heuristics for a mineral lot. DO NOT use as an official regulatory legal filing or physical assay certification without independent manual verification. Returns structured JSON verdict, audit metadata, and cryptographic reference. Requires x402 USDC payment (Polygon/Base/Arbitrum/Solana) or Pre-Funded Agent Vault key after 1 free One-Shot Proof.

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": {
      "lot_id": "<lot_id>",
      "mineral_type": "<mineral_type>",
      "source_country": "<source_country>",
      "net_weight_metric_tons": "<net_weight_metric_tons>"
    },
    "name": "verify_mineral_lot_compliance"
  }
}

Input Schema

NameRequiredDescriptionDefault
lot_idYesUnique consignment or lot identifier
mineral_typeYesStandardized critical mineral commodity identifier (e.g. NICKEL_MHP, LITHIUM_HYDROXIDE, COBALT_HYDROXIDE).
source_countryYesISO 3166-1 alpha-3 country code of mineral extraction origin (e.g. AUS, IDN, COD, CHL).
net_weight_metric_tonsYesNet dry weight of the mineral lot in metric tons (must be >= 0.001).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv1.0.11
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / declared_purity_pct
      Removed value: -{
      -  "description": "Declared assay purity percentage",
      -  "type": "number"
      -}
    • changedInput schema / properties / lot_id / description
      Previous value: -"Unique lot/batch identifier"New value: +"Unique consignment or lot identifier"
    • addedInput schema / properties / mineral_type / description
      Added value: +"Standardized critical mineral commodity identifier (e.g. NICKEL_MHP, LITHIUM_HYDROXIDE, COBALT_HYDROXIDE)."
    • changedInput schema / properties / mineral_type / enum
      Previous value: -[
      -  "NICKEL_MHP",
      -  "LITHIUM_HYDROXIDE",
      -  "LITHIUM_CARBONATE",
      -  "COBALT_HYDROXIDE",
      -  "NATURAL_GRAPHITE",
      -  "SYNTHETIC_GRAPHITE",
      -  "MANGANESE_SULFATE",
      -  "NEODYMIUM_DYSPROSIUM",
      -  "ANTIMONY_TRIOXIDE"
      -]New value: +[
      +  "NICKEL_MHP",
      +  "LITHIUM_HYDROXIDE",
      +  "LITHIUM_CARBONATE",
      +  "COBALT_HYDROXIDE",
      +  "NATURAL_GRAPHITE",
      +  "SYNTHETIC_GRAPHITE",
      +  "MANGANESE_SULFATE",
      +  "NEODYMIUM_DYSPROSIUM",
      +  "ANTIMONY_TRIOXIDE",
      +  "COPPER_CATHODE",
      +  "SILVER_DORE",
      +  "TUNGSTEN_APT",
      +  "RARE_EARTHS_NDPR",
      +  "FERRONIOBIUM",
      +  "SCANDIUM_OXIDE",
      +  "RECYCLED_BLACK_MASS"
      +]
    • changedInput schema / properties / net_weight_metric_tons / description
      Previous value: -"Net weight in metric tons"New value: +"Net dry weight of the mineral lot in metric tons (must be >= 0.001)."
    • addedInput schema / properties / net_weight_metric_tons / minimum
      Added value: +0.001
    • addedInput schema / properties / source_country / description
      Added value: +"ISO 3166-1 alpha-3 country code of mineral extraction origin (e.g. AUS, IDN, COD, CHL)."
    • changedInput schema / properties / source_country / enum
      Previous value: -[
      -  "IDN",
      -  "COD",
      -  "CHL",
      -  "ARG",
      -  "AUS",
      -  "BRA",
      -  "CHN",
      -  "ZAF"
      -]New value: +[
      +  "IDN",
      +  "COD",
      +  "CHL",
      +  "ARG",
      +  "AUS",
      +  "BRA",
      +  "CHN",
      +  "ZAF",
      +  "USA",
      +  "MEX",
      +  "PER",
      +  "CAN",
      +  "PRT",
      +  "AGO",
      +  "ZMB",
      +  "VNM",
      +  "KOR",
      +  "DEU",
      +  "GRL",
      +  "EST",
      +  "KAZ",
      +  "ESP"
      +]
  2. Addedv1.0.4

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), yet the description still adds genuinely new behavior: the response shape (structured JSON verdict, audit metadata, cryptographic reference), a payable access model (x402 USDC across four chains or a Pre-Funded Agent Vault key), and a one-free-call quota. That cost and quota disclosure is exactly the kind of operational detail annotations cannot express, though it does not describe latency, failure modes, or what the verdict levels are.

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?

Three sentences with the core action front-loaded and the disclaimer and payment terms following in priority order; there is no filler. The high density of domain jargon ('12-trap rule heuristics', 'One-Shot Proof') slightly reduces immediate readability for an agent unfamiliar with the domain.

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 four-required-parameter read tool with no output schema, the definition covers the return shape, the access/payment precondition, and the interpretive limits of the output, which is close to what an agent needs to call it correctly. It stops short of explaining how the computed heuristic should be interpreted or what a failing verdict looks like.

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% with two enum-constrained fields, so the input schema already carries full parameter meaning. The description mentions none of the four parameters (lot_id, mineral_type, source_country, net_weight_metric_tons) and adds no format or validation nuance beyond what the schema states. Baseline 3 applies.

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 first sentence states a specific action (fetches algorithmic indices, computes 12-trap rule heuristics) against a specific resource (a mineral lot), which separates it from sibling origin-verification tools like verify_cobalt_origin. The '12-trap rule heuristics' and 'raw algorithmic indices' phrasing is jargon-heavy, so an agent gets the gist but not a crisp statement of what the verdict means.

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?

The description gives a clear negative constraint ('DO NOT use as an official regulatory legal filing or physical assay certification without independent manual verification'), which is useful guardrail context. However, it never says when to prefer this tool over the many sibling verify_* tools, nor what preconditions the lot data must meet, leaving selection to inference.

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