Skip to main content
Glama

codice_fiscale

Calcolo e verifica del codice fiscale italiano: da nome, cognome, sesso, data e luogo di nascita al CF, e verifica di un CF esistente. Esempio: cognome='Rossi', nome='Mario', sesso='M', anno='1990', mese='01', giorno='01', comune='RM'.

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": "codice_fiscale"
  }
}

Input Schema

NameRequiredDescriptionDefault
annoNo
meseNo
nomeNo
sessoNo
codiceNo
comuneNo
giornoNo
cognomeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden and does not meet it. It never states what is returned (a CF string, a validity flag, an error message?), how an invalid CF or inconsistent birth data is reported, or that all 8 parameters are optional and default to empty strings. Only the compute/verify dichotomy is disclosed.

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?

Two sentences: a front-loaded definition of scope followed by a compact concrete example. Nothing is redundant, and the example earns its space by encoding parameter formats. It could be slightly tighter by folding the example into an explicit statement of which inputs select which mode.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter tool with zero required parameters, no annotations and no output schema, the description covers the input side reasonably but leaves the agent without a return-value contract or any statement of requiredness/mutual exclusivity between the compute and verify paths. Adequate to attempt a call, incomplete for predicting its result.

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 description coverage is 0%, so the description must compensate, and it partly does: the example fixes formats for sesso ('M'), anno ('1990'), mese/giorno ('01') and comune ('RM'), which is real added meaning over bare titles. Gaps remain: 'codice' is never explained, valid values of sesso (M/F only?) are not stated, and whether mese is '01' or 'Gennaio'/numeric is only shown, not specified. Partial compensation, not full.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb pair and resource: 'Calcolo e verifica del codice fiscale italiano', and it explicitly splits the tool into two functions (computing a CF from personal data, and verifying an existing CF). That is far more informative than the bare tool name. It stops short of any sibling differentiation, which is acceptable here since no sibling (partita_iva, comuni_codice, ateco_codice) performs CF logic.

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 two modes imply the usage split: supply nome/cognome/sesso/data/luogo to compute, or supply 'codice' to verify. The worked example demonstrates the compute path concretely. However, it never says explicitly which mode is selected by which parameters, nor that 'codice' is the verification input, so the agent must infer the branching from the parameter list.

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.