Skip to main content
Glama

Latam Validate

Validate Cpf

validate_cpf
Read-onlyIdempotent

Validate a Brazilian CPF (Cadastro de Pessoas Físicas, the 11-digit personal tax ID) checksum. Pure computation, no lookup — returns whether the two check digits are correct and the formatted form. Punctuation (123.456.789-09) is accepted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cpfYesThe CPF, e.g. "123.456.789-09" or "12345678909".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "cpf": "123.456.789-09"
      +  },
      +  {
      +    "cpf": "12345678909"
      +  }
      +]
  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 indicate read-only, idempotent, non-destructive. The description adds behavioral traits: it is a pure computation (no lookup), returns check-digit correctness and formatted form, and accepts punctuation. This adds value beyond annotations without contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise: two efficient sentences that front-load purpose and behavior. Every sentence adds value with no redundancy or filler.

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?

Given the tool's simplicity (one parameter, clear annotations, no output schema), the description covers the essential aspects: what it does, how it works, acceptable input, and what it returns. It could mention return structure more explicitly, but overall it is sufficiently complete.

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?

The input schema covers the parameter fully with description and examples. The description confirms accepted formats (with punctuation) but adds no extra semantic information beyond what the schema already provides. With 100% schema coverage, baseline 3 is appropriate.

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?

The description clearly identifies the tool's purpose: validating the checksum of a Brazilian CPF. It specifies the resource (CPF), the verb (validate), and scope (checksum computation, no lookup). It distinguishes from sibling tools like validate_cnpj and validate_clabe by being CPF-specific.

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 description implies usage context: use it when you need to validate CPF checksum computationally. It mentions 'no lookup' which hints at limitations, but does not explicitly state when not to use it or provide alternatives. Given sibling tools exist, the context is clear enough.

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.