Skip to main content
Glama

redact_pii

Finds and masks personal and secret data: emails, phone numbers, credit cards (Luhn-checked), IBANs, IPs, API keys and private keys, and lists what was found. 0.002 USDC per call via x402.

Input Schema

NameRequiredDescriptionDefault
textYesText
paymentProofNoPayment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

This is excellent. Since no annotations are present, the description provides critical behavioral traits: the specific data types handled, the operational cost ('0.002 USDC per call'), and the complex transactional requirements for payment.

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?

It is highly efficient, cramming the function, the data types, the cost, and the complex payment workflow into a single sentence. While dense, it provides necessary information without unnecessary filler.

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?

Given the absence of an output schema, the description is highly complete. It clearly defines the input required, the constraints (cost), and the operational workflow, leaving no major gaps for an agent to execute the task.

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?

With 100% schema coverage, the description provides extra value by explaining the nature of the payment workflow for the `paymentProof` parameter, which is a key operational detail beyond simple data typing.

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 defines the tool's function: finding and masking PII and sensitive data like API keys, credit cards, and IBANs. It is highly specific and distinct from general text processing tools like regex_extract or ip_geolocation.

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?

While it does not list alternatives, it provides crucial usage context for the `paymentProof` parameter, explaining the multi-step workflow (omit on first call, receive instructions, pay, then call again).

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.