Skip to main content
Glama

MiningBridge Intelligence

Search trade flows

search_trade_flows
Read-onlyIdempotent

Use this when the user asks how much of a critical mineral, rare-earth oxide, battery material or metal scrap is being imported or exported, or how trade volumes are trending month to month. Returns US monthly import or export values (UN Comtrade) for one tracked commodity. Free tier returns the trailing three months; Pro returns the full series. Do not use for spot or futures prices.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowNoDefaults to Import.
commodityYesCommodity name, partial name, or HS6 code (e.g. 'lithium', 'NdPr', '283691').

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
planYesPlan the answer was served on: free, pro or admin.
textYesThe full answer as readable text.
toolYesName of the tool that produced this answer.
titleYesDisplay name of the tool.
sourceYesData provenance and the not-investment-advice notice.
websiteYesWhere to read more or upgrade.
daily_limitNoDaily call limit for this plan; omitted when there is none.
calls_remaining_todayNoCalls left today on this plan; omitted when the plan has no daily cap.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), and the description adds genuinely new operational context: the UN Comtrade source, the one-commodity scope, and the tier-gated result window (Free = trailing three months, Pro = full series). It stops short of stating auth requirements or pagination behavior.

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?

The usage trigger is front-loaded in the first clause, followed by return scope, tier limits, and the exclusion in descending order of importance. No sentence is redundant or padded.

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?

An output schema exists, so return values need no elaboration; the description covers everything else an agent needs to select and call it correctly - data source, geographic scope, commodity cardinality, result-window limits, and an explicit negative case. Nothing material is missing.

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%, including the flow enum and commodity format example ('lithium', 'NdPr', '283691'), so the schema already carries the parameter burden. The description only implies flow selection via 'import or export' and adds no syntax or format detail beyond what the schema provides, 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+resource combination ('Returns US monthly import or export values (UN Comtrade) for one tracked commodity') and names the data source, so the agent knows exactly what class of answer it produces. It also carves itself away from price-oriented siblings with the explicit 'Do not use for spot or futures prices.'

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 trigger in user-intent terms ('when the user asks how much ... is being imported or exported, or how trade volumes are trending month to month') and an explicit exclusion (spot/futures prices). Both the when and the when-not are present, so no inference is needed.

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.