Skip to main content
Glama

WritersLogic business agents

tariff-engineer

Global Customs & Tariff Engineering Optimizer — Classifies a product under the HTS with GRI reasoning and verifies the code and general (MFN) rate against the live USITC schedule, flags when a specific sibling subheading may outrank the chosen residual one, separates lower-duty options from reclassification risk with dollar exposure, lists lawful physical tariff-engineering changes, and drafts an accurate commercial invoice description. Leads w

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "productName": "<productName>",
      "materialsBreakdown": "<materialsBreakdown>",
      "intendedUse": "<intendedUse>",
      "originCountry": "<originCountry>",
      "destinationCountry": "<destinationCountry>"
    },
    "name": "tariff-engineer"
  }
}

Input Schema

NameRequiredDescriptionDefault
productUrlNoPublic product or spec-sheet page. Its text is read to supplement productDescription; if it cannot be read the request still succeeds and says so in warnings.
intendedUseYes
productNameYes
originCountryYes
currentHtsCodeNo
customsValueUsdNoEntered value, used to estimate duty and savings.
destinationCountryYes
materialsBreakdownYes
productDescriptionNoConstruction, dimensions, how it works, packaging.
importStateOfAssemblyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose meaningful behavior beyond the name: live USITC schedule verification, explicit flagging of higher-specificity sibling subheadings, separation of lower-duty options from reclassification risk with dollar exposure, and warnings surfaced in the schema. It never states whether anything is filed or persisted, what the response looks like, or how the live lookup fails, and the truncated final clause leaves behavior undefined.

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

Conciseness2/5

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

The entire definition is one run-on sentence chaining six capabilities with 'and', which makes it hard to scan, and it terminates mid-word ('Leads w'), signaling truncation. There is no front-loaded summary of the single primary action, and no separation between what the tool does and when to call it.

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 10-parameter, high-complexity tool with no annotations and no output schema, the description covers outcomes relatively well (rate verification, warnings, dollar exposure, invoice draft). However it leaves parameter meaning, output structure beyond those hints, and the cut-off closing clause unresolved, so it is adequate but not sufficient for confident invocation.

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

Parameters2/5

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

Schema description coverage is only 30% across 10 parameters, so the description should compensate, and it largely does not. It never mentions currentHtsCode, importStateOfAssembly, customsValueUsd, or productUrl, and does not explain the weight-vs-value percentage distinction in materialsBreakdown. It only indirectly implies the product/material/country inputs through its capability narrative.

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 names specific verbs and resources: classifies a product under the HTS with GRI reasoning, verifies the code and MFN rate against the live USITC schedule, flags competing sibling subheadings, quantifies dollar exposure, lists lawful tariff-engineering changes, and drafts a commercial invoice description. An agent knows exactly what the tool produces. It does not distinguish itself from any sibling, and the trailing fragment 'Leads w' cuts off a sentence that may have been doing that work, so it stops short of a 5.

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?

Usage is implied by the capability list: this is the tool for import classification, duty exposure, and invoice wording. But there is no explicit when-to-use trigger, no when-not-to-use, and no prerequisite (e.g. that a product description or materials breakdown must exist first). The agent must infer the invocation context from the capability enumeration.

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