Skip to main content
Glama

Trustbase Lab · Trusted Data Infrastructure for the AI Era

Trade Dataset Overview

get_trade_dataset_overview
Read-onlyIdempotent

Purpose: describe the trade flow dataset - source, caliber, unit conversion, derived-field declarations, field table and compliance boundaries - so an agent can cite and interpret it correctly. Guidelines: call this before running any trade query that will be quoted; it states explicitly which fields are customs-reported and which are our own derivations. Limits: UN Comtrade official statistics only - no commercial quote platform data enters this dataset; this tool documents the dataset and returns no trade records itself. Ex: get_trade_dataset_overview(), get_trade_dataset_overview(response_format='json').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
response_formatNoOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable).markdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesHuman-readable result (markdown, or a JSON string when response_format=json).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / response_format / description
      Added value: +"Output format: 'markdown' (default, human-readable) or 'json' (machine-readable)."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "text": {
      +      "description": "Human-readable result (markdown, or a JSON string when response_format=json).",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "text"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description adds context about what the tool documents (customs-reported vs derived fields) and its data boundary (no commercial quote platform data), which is useful beyond the annotations. It doesn't describe output structure, but an output schema exists.

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 description is well-structured with Purpose, Guidelines, Limits, and Ex sections. Every sentence earns its place: it explains what the tool does, when to use it, what it excludes, and gives an example. No redundancy with the schema or annotations.

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 documentation tool with one optional parameter, an output schema, and strong annotations, the description is complete. It tells the agent why to call it, what it will learn, and what the tool will not return. Nothing needed for correct invocation 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%, so the schema fully documents the single response_format parameter. The description's example shows usage with response_format='json', which adds a small usage hint, but the baseline of 3 is appropriate since the schema already carries the parameter meaning.

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?

The description states a specific purpose: describe the trade flow dataset's source, caliber, unit conversion, derived-field declarations, field table, and compliance boundaries. It clearly distinguishes this tool from siblings like get_trade_flow_summary or query_trade_flows by noting it returns no trade records itself.

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 instructs to call this before running any trade query that will be quoted, and states what it documents. It also names a limit (UN Comtrade official statistics only) and clarifies it returns no trade records, which helps an agent avoid using it as a data source.

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.

Resources