Skip to main content
Glama

verify_italian_counterparty

Verify an Italian counterparty in one call before invoicing or paying: partita IVA / codice fiscale check digit, IndicePA public-administration record (name, category, institutional PEC, address) and the e-invoicing offices that receive FatturaPA via SDI (codice univoco ufficio, start date, PEC). Returns verdict pa_verificata | formato_valido_non_verificato | formato_non_valido with sources and CC BY 4.0 attribution. Public-administration data only: private companies are not confirmed (no VIES, no company PEC). Malformed input, a wrong check digit or an IndicePA outage are not charged. Costs $0.01 in USDC (or 0.01 EURC) on Base via x402. 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": {
      "id": "<id>"
    },
    "name": "verify_italian_counterparty"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesItalian partita IVA or numeric codice fiscale (11 digits, optional IT prefix), e.g. 80016350821

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations at all, the description carries the full disclosure burden and does so: it enumerates the three verdict values returned, states the data sources and CC BY 4.0 attribution, and declares the price ($0.01 USDC or 0.01 EURC on Base via x402). It also spells out the billing edge cases — malformed input, wrong check digit, and IndicePA outage are not charged — and explains that unpaid calls return x402 v2 payment requirements with isError rather than failing silently.

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?

The core capability and verdict outcomes are front-loaded, and the dense payment/protocol paragraph at the end is genuinely necessary given the absence of annotations and the non-obvious x402 flow. Some clauses (attribution, docs URL, client example) crowd an already long block, but each carries operational weight.

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?

For a one-parameter tool with no output schema, the description covers return values, data coverage limits, pricing, payment failure behavior, and non-charged error paths — everything an agent needs to invoke it and interpret the result correctly. Nothing material is left to guess.

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?

There is a single parameter and schema coverage is 100%, with the schema already documenting the 11-digit format, optional IT prefix, and an example. The description only echoes 'partita IVA / codice fiscale' without adding constraints or normalization behavior beyond the schema, so the baseline of 3 applies.

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 and resource (verify an Italian counterparty) and enumerates exactly what is checked: check digit, IndicePA record, and SDI e-invoicing offices. The phrase 'in one call' implicitly contrasts with narrower siblings like lookup_italian_pa and check_partita_iva_format, but neither is named, so the differentiation is inferred rather than explicit.

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?

It states the triggering context ('before invoicing or paying') and gives a firm exclusion: public-administration data only, private companies are not confirmed, no VIES, no company PEC. That is a clear when-not. It does not name which sibling to use instead for private-company or format-only checks, which keeps it below a 5.

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.