Skip to main content
Glama

get_origin_rule

Expert-verified preferential rules of origin for EU trade agreements. Give a product or an agreement and get the applicable rule of origin (e.g. tariff-shift or value-added criteria) plus how origin must be proven — EUR.1 movement certificate, statement on origin, or the REX registered-exporter system — reviewed by a licensed customs professional. Use it to determine whether goods qualify for a reduced/zero preferential duty and what documentation is required. Guidance only, not binding advice. Cost: $0.50 per call, paid automatically via x402 (USDC micropayment over HTTP 402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoProduct or trade agreement to check, e.g. 'olive oil' or 'EU-South Korea EUR.1'.
langNoResponse language: 'en' (default) or 'it'.

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses the expert-reviewed nature, non-binding guidance caveat, and the $0.50 per-call cost paid via x402 micropayment. These are meaningful behavioral traits beyond the basic operation, though it does not cover every possible limitation.

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?

The description is moderately long but front-loaded with the core purpose and output. The cost and payment details are relevant for the agent's decision-making, and the caveat about non-binding advice is important. Each sentence contributes, though some marketing language could be trimmed.

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?

With no output schema, the description sufficiently explains what the tool returns: the applicable rule of origin and proof method (EUR.1, statement on origin, or REX). It also covers cost, language options via schema, and the non-binding nature. This is adequate for an agent 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 adds value by giving concrete examples for the 'q' parameter ('olive oil' or 'EU-South Korea EUR.1') and clarifying that it accepts a product or an agreement, which aids the agent in forming correct queries.

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 clearly states the tool's function: providing expert-verified preferential rules of origin for EU trade agreements, including the applicable rule and proof documentation. It explicitly says to use it to determine whether goods qualify for reduced/zero preferential duty, which distinguishes it from sibling tools focused on tariffs, classification, or procedures.

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?

The description gives a clear use case: determining origin qualification and required documentation. It does not explicitly mention when not to use it or name alternatives among the siblings, so it stops short of full exclusion guidance.

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.

TDQS

A4.4/5.0
Disambiguation4/5

Each tool targets a distinct customs sub-domain (classification, tariff, restrictions, origin, procedures), but ask_customs is a general-purpose fallback that intentionally overlaps with several specialized tools, and classify_product also surfaces restriction flags alongside check_restrictions. This creates minor boundary ambiguity, though the descriptions largely clarify which tool to choose.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern: ask_customs, check_restrictions, classify_product, get_origin_rule, get_procedure, get_tariff, list_catalog. The naming is uniform and predictable with no mixed conventions or vague verbs.

Tool Count5/5

Seven tools is a well-scoped size for a customs advisory server. Each tool represents a meaningful category of customs knowledge, and none feel redundant or unnecessary. The free list_catalog tool also helps orient users without adding clutter.

Completeness4/5

The tool surface covers the major customs advisory areas: classification, duty/VAT, restrictions/sanctions, preferential origin, special procedures, and general Q&A. Minor gaps exist—such as dedicated customs valuation or post-clearance assistance—but ask_customs can serve as a catch-all for those edge cases, so the coverage is solid overall.

Resources