Skip to main content
Glama

Cover report of supplier declarations

get_declaration_coverage
Read-onlyIdempotent

Use this when the person asks whether their bought-in parts are covered by supplier declarations, on a date or for exports to a partner country such as Switzerland or the UK. Returns the cover report of the connected account on a date (default today): how many bought-in articles have a valid, checked supplier declaration, and which do not, with the reason (missing, expired, revoked, not checked, single shipment only, refused, no preferential origin) and the suppliers concerned. Optionally for one agreement (id such as ch, uk, mercosur) or one partner country (ISO code such as CH or BR). It says which articles a declaration covers, never whether goods have preferential origin. Do not use to calculate preferential origin or to decide whether a proof of origin may be issued; ProofPass only shows which declarations exist.

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_declaration_coverage"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoPartner country, ISO 3166 alpha-2, e.g. CH
languageNoLanguage of the answer: "de" (German, default), "en" (English) or "pl" (Polish). Product and account answers are written in German and English; content without a translation comes in German.
valid_atNoReference date YYYY-MM-DD
agreementNoAgreement id, e.g. ch, uk, ca, jp, mercosur

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds real behavioral context on top: the default reference date is today, the report is scoped to the connected account, and the enumerated reason taxonomy (missing, expired, revoked, not checked, single shipment only, refused, no preferential origin) tells the agent what it will actually see. It stops short of describing pagination, size limits, or what happens when both agreement and country are supplied.

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 the trigger condition, then the return contents, then the optional filters, then the negative boundary — a sensible order with no filler sentences. The parenthetical list of seven failure reasons is long but each item is informative, so it is dense rather than wasteful; the only mild redundancy is restating the date and country examples already in the schema.

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?

There is no output schema, so the description carries the burden of describing returns, and it does: counts of covered versus uncovered articles, per-article reasons, and the suppliers involved. Combined with the annotations covering the safety profile and a fully documented 4-parameter schema, an agent has everything needed to decide and call 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 earns above that by explaining the intent of the optional filters — one agreement id such as ch, uk, mercosur, or one partner country as an ISO code such as CH or BR — and by noting the date defaults to today, which the schema does not say. The 'or' framing signals the two filters are alternative narrowings, a semantic the schema alone leaves implicit.

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 ('Returns the cover report of the connected account on a date') and immediately enumerates what that report contains: counts of bought-in articles with valid/checked declarations, which do not, the reason, and the suppliers. It also draws a hard boundary ('It says which articles a declaration covers, never whether goods have preferential origin'), which separates it from check_supplier_declaration_validity and the origin-calculation siblings.

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?

Gives an explicit trigger ('Use this when the person asks whether their bought-in parts are covered by supplier declarations, on a date or for exports to a partner country such as Switzerland or the UK') and explicit exclusions ('Do not use to calculate preferential origin or to decide whether a proof of origin may be issued'). Both the when and the when-not are stated, so an agent can route without opening a schema.

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