Skip to main content
Glama
daleweaver1981

tariffmonitor-mcp

calculate_tariff

Compute the full stacked US import tariff rate for any HTS code and origin, including all surcharges and the November 2026 cliff projection. Optionally calculate dollar impact from annual import value.

Instructions

Calculate the full stacked US import tariff rate for an HTS code from a specific origin country. Returns: base rate, each additional layer (Section 301, IEEPA, reciprocal), total current rate, and the projected rate after the November 10, 2026 cliff. Optionally computes dollar impact from annual import volume.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hts_codeYesHTS code — at least 6 digits, up to 10 (e.g. "6404.11" or "6404110000"). Dots and spaces are ignored.
origin_countryNoISO-2 origin country code (e.g. "CN" for China, "VN" for Vietnam, "MX" for Mexico). Default: CN.CN
annual_import_value_usdNoOptional. Your annual import value in USD. If provided, the response includes the dollar cost of current duties and the additional cost from the Nov 10 cliff.
Behavior4/5

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

Given no annotations, the description details the multi-layer tariff computation, projected rates after a specific date, and optional dollar impact. It does not cover error handling or auth, but the computational behavior is well described.

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 a single, well-structured paragraph that front-loads the core purpose and then lists outputs and parameter details. Every sentence provides value with no redundancy.

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?

The description explains the return structure thoroughly even without an output schema. Minor omission: no mention of error conditions or validity checks for HTS codes, but overall sufficient for a calculation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline 3. The description adds meaningful context: HTS code format flexibility (dots ignored), default country, and the effect of the optional import value parameter on response. This exceeds the schema alone.

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 explicitly states the tool calculates 'full stacked US import tariff rate' for a given HTS code and origin country. It lists the return components and optional dollar impact, clearly distinguishing it from the sibling lookup_hts_code.

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 implies the tool is for tariff rate calculation but provides no explicit guidance on when to prefer it over lookup_hts_code or what prerequisites exist. The agent must infer usage from the description alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/daleweaver1981/tariffmonitor-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server