Skip to main content
Glama

mechacut

validate_taxid

Tax id check digits, exact: CNPJ/CPF (Receita mod-11), SIREN/SIRET (INSEE Luhn + the documented La Poste branch), NIF PT, VAT DE/FR/IT/NL/LU. Ambiguous 14-digit shape is REPORTED, never guessed. Free.

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": {
      "value": "<value>"
    },
    "name": "validate_taxid"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it discloses the exact algorithms used, a deterministic no-guessing policy for ambiguity, and 'Free' (no cost or quota concern). It is silent on the response shape, on how an unsupported or malformed value is reported versus a failed check, and on whether the value is normalized. Those gaps matter for an unannotated tool, so the disclosure is useful but partial.

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 core verb and scope, then the ambiguity rule, then cost — a sensible priority order with no filler. The telegraphic style ('Free.', 'the documented La Poste branch') is dense to the point of being slightly cryptic, but every clause carries information.

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 a two-parameter validator with no output schema and no annotations, the description covers scope, method, and ambiguity handling well. It leaves the agent unsure about accepted input formatting and about what a returned result looks like, which are the remaining details needed to call it confidently.

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 0%, so the description must compensate, and it partly does: the scheme list maps onto the enum values and the 'ambiguous 14-digit shape' note explains what the 'auto' kind is trading off (CNPJ vs SIRET are both 14 digits). However, it never states the expected format of 'value' — punctuation, country prefixes such as 'FR', or whether whitespace is tolerated — and never defines 'auto' directly.

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 and resource ('Tax id check digits, exact') and enumerates exactly which identifier families are covered (CNPJ/CPF, SIREN/SIRET, NIF PT, VAT DE/FR/IT/NL/LU). An agent can distinguish this from validate_iban, validate_email, or validate_postal purely from the description, and the named algorithms (Receita mod-11, INSEE Luhn) confirm the operation is checksum validation, not lookup or formatting.

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?

The country/scheme list implicitly scopes when the tool applies and, by omission, signals that identifiers outside these jurisdictions are out of scope. The line 'Ambiguous 14-digit shape is REPORTED, never guessed' tells the agent how the tool behaves in the ambiguous CNPJ-vs-SIRET case. It stops short of naming alternatives or stating explicit exclusions, so it is clear context rather than a full when/when-not rule.

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.