Skip to main content
Glama
nohosa001-pixel

Critical Raw Minerals & ESG Compliance Oracle(x402)

optimize_mineral_trade_route

Optimize mineral trade routes by comparing direct marine transit with chokepoint detours, calculating landed cost arbitrage, freight, tariffs, and delivery timelines.

Instructions

Autonomous trade route optimizer for AI procurement agents. Compares direct marine transit vs chokepoint detour corridors, computing landed cost arbitrage ($/MT), total freight and tariffs, and delivery timelines.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mineral_typeYesTarget mineral cargo
origin_countryYesOrigin country
destination_countryYesDestination country
cargo_weight_metric_tonsYesVolume in MT
max_carbon_budget_co2_tonsNoMax acceptable voyage CO2 tons (optional)
target_delivery_deadline_daysNoMax acceptable transit days (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.6

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It implies a computational/optimization action but does not state whether it requires authentication, whether it mutates state, what side effects it may have, or what the output looks like. The word 'Autonomous' adds little concrete transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences, front-loaded with the core purpose and followed by the specific computed outputs. No filler or repetition; every clause earns its place.

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

Completeness3/5

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

For a 6-parameter optimization tool with no annotations and no output schema, the description identifies the computed dimensions but does not explain the return format, usage context, or relationship to sibling tools. It is adequate but leaves meaningful gaps for an agent to infer.

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 documents all six parameters, including optional carbon budget and delivery deadline constraints. The description adds no parameter-level meaning beyond what the schema provides, so the baseline of 3 is appropriate.

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 description states a specific verb and resource: an optimizer for mineral trade routes that compares direct transit vs chokepoint detours and computes cost arbitrage, freight, tariffs, and timelines. It is clear what the tool does, but it does not explicitly distinguish itself from siblings like estimate_maritime_freight_and_carbon or calculate_trade_tariffs.

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

Usage Guidelines2/5

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

The description says it is for AI procurement agents, but gives no explicit when-to-use guidance, no prerequisites, and no alternatives to compare against. An agent must infer that this is for route selection rather than freight estimation or tariff calculation.

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