Skip to main content
Glama

Suggest customs tariff code

suggest_tariff_code

Suggests the EU customs tariff classification of a product: Combined Nomenclature code with the official texts, TARIC code and import duties where data is available, or questions when the description is not sufficient. Charged per job from the account credit. Waits up to about 45 seconds for the result; if the job is still running, the answer carries job_id (and job_token without sign-in) for get_job_result. Send product data only, no personal data. Descriptions are accepted in any language; confidence high is assigned only to descriptions in German (de), otherwise at most medium with the review note confidence_capped_language.

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": {
      "product_name": "<product_name>",
      "description": "<description>",
      "material_composition": "<material_composition>",
      "intended_use": "<intended_use>"
    },
    "name": "suggest_tariff_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
conditionNoCondition, for example new or used.
accessoriesNoAccessories delivered with the product.
descriptionYesWhat the product is and how it is built, at most 5000 characters.
intended_useYesIntended use of the product.
product_nameYesProduct name.
import_countryNoEU Member State of import (ISO 3166-1 alpha-2, for example DE).
consignment_typeNoKind of consignment: ioss (B2C with the Import One-Stop Shop), postal or standard.
country_of_originNoCountry of origin (ISO 3166-1 alpha-2, for example CN); selects the import duties, does not change the classification.
material_compositionYesMaterials and their shares, for example 80 % cotton, 20 % polyester.
consignment_value_eurNoIntrinsic value of the whole consignment in euro; decides the flat duty for consignments up to 150 euro.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, openWorldHint=false, idempotentHint=false and destructiveHint=false; the description adds substantial behavior beyond that — per-job billing from account credit, a ~45 second synchronous wait with an async job_id/job_token fallback, and a privacy restriction on inputs. It does not explain whether a failed or interrupted job is still billed, which is the one material gap for a paid, non-idempotent tool.

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?

Five sentences, front-loaded with purpose then cost, latency/fallback, privacy and language behavior — each sentence carries an operational fact an agent cannot get from the schema or annotations. No filler or restatement of the title.

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?

With no output schema, the description carries the return-value burden and does so: it names the fields returned (CN code, official texts, TARIC, duties), the alternative 'questions' result, and the job_id/job_token escape hatch. For a 10-parameter, billed, potentially asynchronous tool this is sufficient to call it correctly.

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 the baseline is 3; the description still adds real meaning by documenting that the description field is accepted in any language while high confidence is reserved for German, with non-German capped at medium and flagged confidence_capped_language. The country_of_origin explanation (affects duties, not classification) is largely redundant with the schema.

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 first sentence names a specific verb+resource ('Suggests the EU customs tariff classification of a product') and enumerates the concrete outputs: Combined Nomenclature code, official texts, TARIC code, import duties, or clarifying questions. It also implicitly distinguishes itself from the retrieval sibling by naming get_job_result as the polling target rather than a classifier.

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?

It states the precondition for a useful call ('description is not sufficient' yields questions), the exact hand-off path when the call times out ('get_job_result' with job_id/job_token), and a hard input constraint ('Send product data only, no personal data'). The only unstated dimension is cost-avoidance guidance, which is minor given the per-job pricing note.

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