Skip to main content
Glama

Get reference data

get_reference_data
Read-onlyIdempotent

Returns the allowed values for composing and reading documents: the VAT rates of a country, and the values with English labels of VAT categories, VAT exemption reasons, units, currencies, languages, countries, electronic address schemes, customer and company types, document types and statuses, item types, KSeF statuses, SEPA purpose codes, delivery modes and statuses, roles, permissions and document colour themes.

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": {
      "kind": "<kind>"
    },
    "name": "get_reference_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoFor VAT_RATES: the date (YYYY-MM-DD) the rates apply on; today when not given.
kindYesVAT_RATES: the VAT rates (percentages) of a country; ENUMS: the allowed values of the lists given in enums, with English labels.
enumsNoFor ENUMS, required: the lists to return.
country_codeNoISO 3166-1 alpha-2 code of the country, required for VAT_RATES.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/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 the safety profile is fully covered. The description adds that labels are in English and that the payload is a catalog of allowed values, which is modest extra context, but says nothing about response size, caching, or whether results change over time for date-sensitive VAT rates.

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

Conciseness3/5

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

Purpose is front-loaded in the first clause, but the sentence then expands into a long enumeration that largely duplicates the `enums` parameter's own enum in the schema. A single phrase ("all lists accepted by the enums parameter") would have carried the same information more economically.

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 reference lookup with complete schema coverage and full annotations, the definition gives enough to call it correctly, including both modes and the date/country scoping that lives in the schema. No output schema exists, but the description indicates the return is a set of labelled allowed values, which is sufficient.

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 description coverage is 100%, so all four parameters are already documented, and the description is consistent with that (country VAT rates, labelled enum values). It adds slight semantic framing by contrasting the VAT_RATES versus enum-list modes, though it does not add syntax or format detail beyond the schema.

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 ("Returns") and a precisely scoped resource: allowed/enumerated values used for composing and reading documents, split into VAT rates and labelled enum lists. The enumerated content makes it unmistakable against sibling entity getters like get_invoice or get_customer.

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

Usage Guidelines3/5

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

The phrase "for composing and reading documents" implies the use case (resolving allowed values before writing or interpreting documents), but there is no explicit when-to-use / when-not guidance and no alternatives named. Usage is inferable rather than stated.

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