Skip to main content
Glama
devkit-mcp

devkit-mcp

by RaihNoDev2

validate_pix_key

Read-onlyIdempotent

Validates Pix keys and detects their type (CPF, CNPJ, email, phone, or random), helping verify Brazilian payment details before use.

Instructions

Valida uma chave Pix e detecta o tipo (CPF, CNPJ, e-mail, telefone ou aleatória).

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": {
      "key": "<key>"
    },
    "name": "validate_pix_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesChave Pix a validar.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile needs no restating. The description does add a behavioral fact beyond the annotations: the tool also classifies the key type. However, it does not say what happens for an invalid key (error, false, structured result), which matters for a validator.

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?

A single front-loaded sentence with zero filler; the validation purpose comes first and the type detection second. Nothing is redundant or padded.

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 single-parameter, read-only tool this is close to adequate, and annotations cover the safety profile. The gap is the return contract: with no output schema, the description should state what a caller gets back (the detected type? a validity boolean? an error on malformed keys), and it only hints at this with 'detecta o tipo'.

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?

One required parameter with 100% schema description coverage ('Chave Pix a validar.'), so the schema already carries the semantics. The description adds nothing about accepted formats (punctuation in CPF/CNPJ, country codes for phone) or normalization, which is the kind of detail a validator's description could usefully supply.

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 and resource ('Valida uma chave Pix') plus the outcome ('detecta o tipo'), and enumerates the five detectable types, so the agent knows exactly what the tool does. It stops short of 5 because it never distinguishes itself from the sibling 'parse_pix' or 'validate_document', which plausibly overlap with Pix-key type detection.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus alternatives such as parse_pix or validate_document, and no stated prerequisites or when-not conditions. The agent must infer usage entirely from the one-line purpose.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.