Skip to main content
Glama

Triplicate – export documents

Search HS codes

lookup_hs_code
Read-only

Search the HS 2022 nomenclature (6-digit international level) by English product description or by code prefix. Returns candidate codes with chapter and heading text. Codes are suggestions to confirm in the destination country's tariff, not rulings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYesEnglish description (e.g. 'face cream', 'cotton t-shirts') or a code prefix (e.g. '3304')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag readOnlyHint and openWorldHint=false, so safety is covered. The description adds value beyond that by disclosing the reliability limit of the output (suggestions, not rulings) and what the response contains (candidate codes with chapter/heading text). It does not mention the limit parameter's behavior on result volume.

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?

Two tight sentences, front-loaded with the core action and receiving a decisive caveat at the end. No filler, every clause carries information.

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?

For a read-only search with no output schema, the description covers inputs, return shape, and the key reliability caveat. The only gap is the undocumented limit parameter, which an agent must infer from the schema alone.

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 coverage is only 50%: query is documented in the schema while limit is not. The description restates and reinforces the two query forms, adding little beyond the schema example, and says nothing about what limit controls or its default of 8.

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?

States a specific verb (Search) and resource (HS 2022 nomenclature) with explicit scope (6-digit international level) and input modes (English description or code prefix). The sibling tools are unrelated shipment/document operations, so no differentiation is needed and none is missing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explains the two acceptable query forms and, importantly, that results are suggestions to confirm in the destination tariff rather than rulings — a real usage caveat. It stops short of saying when to prefer this over an alternative lookup, but no relevant alternative exists among the siblings.

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