Skip to main content
Glama

ApriFile

Check an Italian VAT number

check_partita_iva
Read-onlyIdempotent

Checks whether one or more Italian VAT numbers (partita IVA, 11 digits, with or without the IT prefix) are well formed and have a correct check digit. It works offline and does not confirm that the number is active or who owns it. Use before issuing or registering an invoice, or when the user asks if a partita IVA is valid.

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": {
      "numbers": "<numbers>"
    },
    "name": "check_partita_iva"
  }
}

Input Schema

NameRequiredDescriptionDefault
numbersYesVAT numbers to check, for example ["IT01234567890"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, and closed-world, but the description adds the things annotations cannot: the check is purely structural (format + check digit), it runs offline, and it makes no claim about active status or ownership. Those are exactly the limits an agent needs in order to phrase results to a user without overstating them.

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

Conciseness5/5

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

Three sentences, each earning its place: what it validates, what it does not validate, and when to reach for it. The operational constraint (offline, no active-status check) is front-loaded before the usage advice, so the most important caveat is read first.

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 one-parameter, annotation-rich tool this is close to complete — input format, limits, and call conditions are all covered. The one gap is return shape: with no output schema, the description never says whether the result is a single boolean, a per-number verdict, or error details for a failing check digit.

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, but the description adds real meaning the schema lacks: each string is an 11-digit partita IVA, an "IT" prefix is optional, and multiple numbers may be passed in one call. The schema only shows a maxLength of 40 and one example, so this genuinely reduces guesswork about accepted input shapes.

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 ("Checks ... Italian VAT numbers (partita IVA)") and pins down the exact scope: well-formedness plus check digit, batch-capable, offline. An agent can tell immediately this is a format validator rather than a registry lookup, which differentiates it from unrelated siblings like explain_sdi_notice or summarize_einvoice.

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 two concrete triggers ("before issuing or registering an invoice", "when the user asks if a partita IVA is valid") and, just as importantly, an explicit boundary: it "does not confirm that the number is active or who owns it." That negative scope prevents the most likely misuse — treating a pass as proof of a real, active business.

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