Skip to main content
Glama

Imperio — Italian Tax & Compliance Tools

Validate Codice Fiscale

validate_codice_fiscale
Read-onlyIdempotent

Validates an Italian Codice Fiscale (tax code): 16 characters (individuals: format, check character, omocodia, date and place of birth) or 11 digits (companies and entities: same check as the Partita IVA). Formal check only: it does NOT say whether the code was issued or to whom (the limit is stated in the response, in non_verificato).

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": {
      "codice_fiscale": "<codice_fiscale>"
    },
    "name": "validate_codice_fiscale"
  }
}

Input Schema

NameRequiredDescriptionDefault
codice_fiscaleYesThe Codice Fiscale to validate (e.g. RSSMRA85T10A562S).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / codice_fiscale / description
      Previous value: -"Il Codice Fiscale da validare (es. RSSMRA85T10A562S)."New value: +"The Codice Fiscale to validate (e.g. RSSMRA85T10A562S)."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: the check is purely formal, issuance and ownership are not verified, and the limitation is surfaced in the response under `non_verificato` — information an agent cannot obtain from the annotations alone.

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, then the two accepted formats, then the limitation and where it appears in the response. The parenthetical enumeration is dense but each element earns its place; no filler sentences.

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, and the description compensates by naming the response field (`non_verificato`) that carries the caveat. Combined with the accepted-format rules and the explicit scope limit, an agent has everything needed to call this tool correctly and interpret its result.

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?

With a single parameter at 100% schema description coverage, the schema baseline is already a 3. The description adds value by explaining that the same field accepts two distinct shapes (16 alphanumeric characters vs 11 digits) and what each shape implies, which the schema's 'e.g. RSSMRA85T10A562S' does not convey on its own.

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 (validates) and resource (Italian Codice Fiscale) and enumerates exactly what is checked for each of the two accepted formats: 16-character individual codes (format, check character, omocodia, birth date/place) and 11-digit entity codes. The scope is unambiguous and clearly separable from generation or IBAN/VAT validation siblings by the verb alone.

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 description effectively tells the agent when this tool is insufficient ('formal check only: it does NOT say whether the code was issued or to whom'), which functions as a when-not caveat. However, it never names an alternative tool or states a positive selection condition relative to siblings like generate_codice_fiscale or validate_partita_iva, so routing guidance is only implied.

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