Skip to main content
Glama

Imperio — Italian Tax & Compliance Tools

Validate Partita IVA

validate_partita_iva
Read-onlyIdempotent

Validates an Italian Partita IVA (VAT number: 11 digits + Luhn checksum; accepts the IT prefix). Formal check only: it does NOT say whether the VAT number is active or ceased (the limit is stated in the response, in non_verificato). For a VAT number of another EU country use verify_payee (VIES).

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": {
      "partita_iva": "<partita_iva>"
    },
    "name": "validate_partita_iva"
  }
}

Input Schema

NameRequiredDescriptionDefault
vat_numberNoAlias of `partita_iva` (Italian VAT number): the same value, accepted because other tools of this server use this name. If you send both names, the values must match.
partita_ivaYesThe Partita IVA to validate: 11 digits, with or without the IT prefix (e.g. 12345678903 or IT12345678903).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / vat_number / description
      Previous value: -"Alias di `partita_iva` (Partita IVA): stesso dato, accettato perché altri tool di questo server lo chiamano così. Se mandi entrambi i nomi, i valori devono coincidere."New value: +"Alias of `partita_iva` (Italian VAT number): the same value, accepted because other tools of this server use this name. If you send both names, the values must match."
  2. Changed1 schema field changed
    • changedInput schema / properties / partita_iva / description
      Previous value: -"La Partita IVA da validare: 11 cifre, con o senza prefisso IT (es. 12345678903 o IT12345678903)."New value: +"The Partita IVA to validate: 11 digits, with or without the IT prefix (e.g. 12345678903 or IT12345678903)."
  3. Changed2 schema fields changed
    • changedInput schema / properties / partita_iva / description
      Previous value: -"La Partita IVA da validare (11 cifre, es. 12345678903)."New value: +"La Partita IVA da validare: 11 cifre, con o senza prefisso IT (es. 12345678903 o IT12345678903)."
    • addedInput schema / properties / vat_number
      Added value: +{
      +  "description": "Alias di `partita_iva` (Partita IVA): stesso dato, accettato perché altri tool di questo server lo chiamano così. Se mandi entrambi i nomi, i valori devono coincidere.",
      +  "maxLength": 32,
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, not open-world), and the description goes further by disclosing a real behavioral limit that annotations cannot express: the check is syntactic only, and the caveat is surfaced in the response under `non_verificato`. That is exactly the kind of limitation an agent must know before trusting a positive result.

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 tight clauses: what is validated, what is explicitly out of scope, and where to go instead. The scope limit is front-loaded ahead of the alternative, and no sentence is redundant with the title or schema.

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 two-parameter read-only validator with no output schema, the definition covers purpose, format, limitation, and the one response field an agent must interpret (`non_verificato`). What remains unstated is the shape of an invalid-checksum response versus a successful one, a minor gap given the tool's simplicity.

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 coverage is 100% and the schema itself already documents the `vat_number` alias rule, the prefix handling, and the max length. The description only restates the IT-prefix acceptance, adding no syntax or semantics beyond the structured fields, so the baseline 3 applies.

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?

Names a specific verb and resource ("Validates an Italian Partita IVA") and immediately specifies the exact format validated: 11 digits plus Luhn checksum, IT prefix accepted. It also scopes the tool negatively ("Formal check only"), so the agent knows precisely which question this tool answers and which it does not.

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?

Explicitly states the exclusion ("does NOT say whether the VAT number is active or ceased") and routes to the correct alternative for the out-of-scope case: "For a VAT number of another EU country use `verify_payee` (VIES)." Both the when-not and the alternative are named, leaving nothing to inference.

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