Skip to main content
Glama

Get UK tariff sections and chapters

get_tariff_sections_and_chapters
Read-onlyIdempotent

List all 21 Harmonized System tariff sections or inspect the chapters within a specific section by providing a section ID from 1 to 21.

Instructions

List all 21 Harmonized System tariff sections, or pass section_id (1 to 21) to inspect chapters inside a specific section.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_tariff_sections_and_chapters"
  }
}

Input Schema

NameRequiredDescriptionDefault
section_idNoOptional section number from 1 to 21 (e.g. 16 for machinery and electrical equipment).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered externally. The description adds scope facts (21 sections total, valid 1-21 range, chapter drill-down), but says nothing about result ordering, pagination, or data freshness for an open-world source.

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

Conciseness4/5

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

A single tight sentence with the default behavior front-loaded and the optional branch second. No filler; every clause carries meaning.

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 zero-required-parameter read tool with full schema coverage and rich annotations, the description covers both branches and hints at the return content (chapters within a section). No output schema exists, so a brief note on the returned section/chapter structure would have closed the remaining gap.

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 description coverage is 100%, and the schema already documents section_id's 1-21 bounds and even the 'machinery and electrical equipment' example. The description's restatement of the range adds little beyond the structured field, so baseline 3 applies.

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 a specific verb and resource ('List all 21 Harmonized System tariff sections') and describes a second mode ('inspect chapters inside a specific section'). The tool is distinguishable from the heading/commodity-duty siblings by the section-level scope, though no sibling is named explicitly.

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?

It clearly states both invocation contexts: omit section_id to list all sections, pass section_id to drill into one section's chapters. There is no explicit 'when not to use' or pointer to an alternative, so it stops just short of a 5.

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