Skip to main content
Glama

lookup_italian_pa

Look up an Italian public administration or public-service operator by 11-digit codice fiscale in IndicePA (AgID). Use when an agent must verify a public-sector counterparty, find its official PEC (certified email) addresses, or confirm it exists before e-invoicing. Costs $0.005 in USDC (or 0.005 EURC) on Base via x402, charged on every paid call (also not found, malformed codice fiscale or IndicePA unavailable): check the 11 digits first. Unpaid calls return the x402 v2 payment requirements (isError, not charged); pay per call with an x402 MCP client (payment in params._meta["x402/payment"], e.g. @x402/mcp). Docs: https://github.com/yeick010/italycheck

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": {
      "cf": "<cf>"
    },
    "name": "lookup_italian_pa"
  }
}

Input Schema

NameRequiredDescriptionDefault
cfYes11-digit codice fiscale, e.g. 80016350821

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so thoroughly: exact cost ($0.005 USDC or 0.005 EURC on Base via x402), that charges apply even on not-found, malformed input, or registry outage, and that unpaid calls return x402 v2 payment requirements as an error without charge. It also states where payment goes (params._meta['x402/payment']) and points to client docs.

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 the purpose, then the cost/payment mechanics, then the docs link in a logical order. The payment parenthetical is dense and long, but each clause (cost, error cases, payment location) carries distinct operational value.

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 lookup with no output schema or annotations, the description covers cost, payment flow, and failure modes well. The remaining gap is that it never describes the shape of a successful result (e.g., denomination, PEC addresses returned), which an agent needs since no output schema exists.

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% and already documents the single 'cf' parameter with an example, so the baseline is 3. The description adds meaningful validation context beyond the schema: the 11-digit requirement is re-emphasized as a pre-call check because malformed input is still billed.

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?

States a specific verb (look up) plus resource (Italian public administration / public-service operator) and names the registry (IndicePA/AgID) and key (11-digit codice fiscale). It does not explicitly differentiate from the sibling verify_italian_counterparty, so it stops short of a 5.

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

Usage Guidelines4/5

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

Gives concrete when-to-use conditions: verify a public-sector counterparty, find official PEC addresses, confirm existence before e-invoicing. It also adds preventive guidance ('check the 11 digits first') to avoid paying for a malformed call, but names no alternative sibling for overlapping verification needs.

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.