Skip to main content
Glama

Customs Rules On Entry By Car

get_customs_rules
Read-onlyIdempotent

Customs rules when driving into a country, optionally from a given country: food bans, cash declaration, alcohol and tobacco limits, goods value, fuel in a canister. Each rule carries a verbatim official quote and source link. A country without data returns an error saying so — never present that as "nothing is restricted". Use it for what you may bring in by car: alcohol, tobacco, cash, meat and other food, goods limits.

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": {
      "country_code": "<country_code>"
    },
    "name": "get_customs_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNoISO 3166-1 alpha-2 code of the country you come from, e.g. UA. Matters: no customs inside the EU, and some bans have exemptions by origin.
localeNoLanguage the user writes in (en, ru, de, fr, es, pt, tr). Set it on every call: the answer and the interactive card are shown in this language and units; without it the card falls back to the app's interface language.
country_codeYesISO 3166-1 alpha-2 code of the country you enter, e.g. PL.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so the safety bar is low, yet the description adds real value beyond them: each rule includes a verbatim official quote and source link, and a country without data returns an error that must never be rendered as 'nothing is restricted.' That error-semantics warning is exactly the kind of trap disclosure annotations cannot convey. Return-shape detail is partly redundant with the existing output schema, keeping it from a 5.

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?

Front-loaded with purpose and scope, and the error-handling caveat is placed prominently before the closing sentence. The final sentence ('Use it for what you may bring in by car: alcohol, tobacco, cash, meat and other food, goods limits') restates the rule list already given up front, which is mild redundancy rather than useful reinforcement.

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?

Covers what an agent needs: scope, the origin/country codes, error behavior for missing data, and the fact that rules come with quotes and sources; an output schema already exists, so return formatting need not be described. The only gap is the absence of explicit routing to the sibling handling vehicle import versus goods import.

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%, so the schema already explains country_code, from (with the EU/no-customs and origin-exemption rationale), and locale. The description only echoes that origin is optional and adds no format, default, or interaction detail beyond the schema — correct baseline of 3.

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 and resource — customs rules when driving into a country — and enumerates the exact rule categories returned (food bans, cash declaration, alcohol/tobacco limits, goods value, fuel in a canister). This cleanly separates it from siblings like get_vehicle_import_rules (bringing the car) and get_route_visa_rules (entry permission), so an agent can discriminate without opening schemas.

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?

Explicitly scopes usage: 'Use it for what you may bring in by car: alcohol, tobacco, cash, meat and other food, goods limits.' That is a clear positive condition for selection. It stops short of naming the neighboring tool for vehicle-import rules or stating when not to use it, so it lacks explicit alternatives/exclusions.

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.