Skip to main content
Glama

One commodity chapter, whole — who supplies it, what each origin pays

commodity_profile
Read-only

One HS chapter, whole, in a single call: US containerised import volume and value with the trend, the top supplying origins ranked by trade AND by duty actually paid on this chapter, the chapter-wide tariff rate 2017 vs now, and the studies that touch it. Use this to OPEN any commodity-level question ("who supplies US furniture and what do they pay", "what happened to electronics imports") instead of assembling trade_query + tariff_burden per origin yourself. Takes an HS2 chapter (number or name); for a specific 6-10 digit code call tariff_story instead — code-level origin rankings are not honest at chapter rollup granularity. No API key required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
top_nNoHow many origins to rank.
detailNostandard
monthsNo
commodityYesHS2 chapter — number ("94") or name ("furniture"). Not a 6-digit code (use tariff_story for those).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

While annotations already declare readOnlyHint=true and destructiveHint=false, the description adds meaningful context: it reveals the tool's data scope (US containerised imports), the specific outputs (trend, origins ranked by trade and duty, tariff rate comparison), and a caveat that code-level origin rankings are 'not honest' at chapter granularity. It also notes 'No API key required.' This goes beyond the annotations, though it doesn't fully describe failure modes or return formatting.

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 dense but every sentence earns its place. It front-loads the core promise ('One HS chapter, whole, in a single call'), then details the exact data points, gives usage examples, names alternatives, and adds a caveat. It is appropriately sized for the tool's complexity and contains no fluff.

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?

Given the tool's complexity (4 parameters, no output schema), this description is fairly complete: it explains the expected return content, when to use it, and how to avoid misuse. The main gaps are the unaddressed 'detail' and 'months' parameters and the vague term 'studies', but the overall context is sufficient for an agent to decide on invocation.

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?

With schema description coverage at 50%, the description partially compensates: it clarifies that 'commodity' accepts an HS2 chapter number or name and explicitly warns against 6-10 digit codes. However, it does not explain the 'detail', 'months', or 'top_n' parameters beyond implying a ranking limit ('top supplying origins'). The description adds meaning for the key parameter but leaves the optional parameters ambiguous.

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 clearly states the tool's function: it returns a comprehensive profile for one HS2 chapter, including import volume/value, trends, top origins by trade and duty paid, tariff rate changes, and related studies. It specifies the resource (HS2 chapter) and the verb (open a commodity-level question), and distinguishes itself from siblings like trade_query, tariff_burden, and tariff_story by explicitly naming when to use those alternatives.

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?

The description explicitly tells the agent when to use this tool ('Use this to OPEN any commodity-level question') and when not to ('for a specific 6-10 digit code call tariff_story instead'). It also contrasts with assembling trade_query + tariff_burden per origin manually, providing clear alternative selection guidance.

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.

TDQS

A3.9/5.0
Disambiguation2/5

Several tools overlap significantly in the tariff/trade domain: tariff_story explicitly replaces hs_search, tariff_lookup, and tariff_burden, and trade_query also returns duty data. This creates ambiguity about which tool to invoke for a given tariff question, though non-tariff tools (compare, event_studies, month_in_review) are clearly distinct.

Naming Consistency2/5

Tool names follow mixed conventions: some are verb-first (compare, query_series, tariff_lookup), others are noun-first (commodity_profile, tariff_burden, event_studies), and there's no consistent prefix or verb pattern. While readable, the lack of a unified naming scheme makes the set feel less coherent.

Tool Count4/5

With 13 tools, the set is within a reasonable range for a trade data service and covers most query needs. It's slightly larger than necessary given the overlapping tariff tools, but not excessive.

Completeness4/5

The surface covers tariff lookup, actual duties paid, trade volumes, comparisons, profiles, event studies, and rulings search, which is comprehensive for a read-only trade data resource. Minor gaps exist (e.g., no tool for gateway-specific tariff burden, and the meta-tool ledger_meta hides a set of archived tools), but core workflows are well supported.