Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

pseudonymize_pii

Read-onlyIdempotent

Replaces emails, phones, cards, IBANs, SSNs, IPs, crypto addresses and secret URL values with stable keyed HMAC tokens, so redacted text stays linkable across records without exposing raw PII.

Instructions

utilpeek: Pseudonymise PII in text: stable keyed tokens for emails, phones, cards, IBANs and IPs. Returns the text with each email, phone number, payment card, IBAN, US SSN, IPv4 / IPv6, EVM / BTC address and secret URL query value replaced by a typed token (EMAIL_843eca1f055c), plus the token-to-type list with counts. The token is HMAC-SHA256 under your key of the normalised value, so the same value and key give the same token on every call and memory records stay linkable. Same detectors as /v1/text/redact. Pseudonymisation, not anonymisation: the key holder can test guesses. Names and street addresses are not detected. Key never stored or logged. Typically under 1 s. Price: USD 0.002. No free tier. The submitted text is never logged or stored.

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

Input Schema

NameRequiredDescriptionDefault
keyYesYour secret, 16-1024 UTF-8 bytes. The same key always gives the same tokens; keep it private (whoever has it can test guessed values). Never stored, logged or echoed. Use a long random key kept for this use only.
textYesThe text (at most 200,000 characters).
typesNoLimit detection to these types: email, phone, card, iban, ssn, ipv4, ipv6, crypto_address, url_secret (default: all).

Output Schema

NameRequiredDescriptionDefault
textNo
countNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
notesNo
typesNo
schemeNo
sourceNo
tokensNo
by_typeNo
token_hexNo
not_detectedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already establish that the operation is a read-only, idempotent, non-destructive call, and the description adds substantive behavior: the key and submitted text are never stored or logged, output is deterministic per key, latency is typically under 1 s, and pricing is USD 0.002 with no free tier. The 'not anonymisation' caveat is an honest disclosure of a security property the agent would otherwise have to guess.

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 one front-loaded block with the core action first, followed by output shape, determinism, limits, and price in a sensible order. Some content is redundant (key/submitted-text non-logging is stated twice, and pricing plus latency sit in the middle of a semantic sentence), but little is pure 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?

For a three-parameter tool with an output schema and full annotation coverage, the description is more than sufficient: it covers the token format, the count list, determinism, detector scope, non-detected categories, latency, and cost. An agent has everything needed to decide to call it and to predict what comes back.

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 100%, with the schema already documenting key length, private-key handling, text length, and the types enum, so the heavy lifting is done structurally. The description reinforces the detector list and explains the HMAC derivation behind the key, but it never explicitly addresses the `types` filter parameter, so it adds only marginal meaning.

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 gives a specific verb and resource ('Pseudonymise PII in text') and names the exact mechanisms: stable HMAC-SHA256 keyed tokens for a listed set of detectors. It also separates this tool from the anonymisation sibling/endpoint ('Pseudonymisation, not anonymisation: the key holder can test guesses'), so an agent can tell what it does and what makes it distinct.

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 usage context is clear: this tool applies when the agent needs stable, linkable tokens ('memory records stay linkable') and can hold a secret key, and it discloses hard scope limits ('Names and street addresses are not detected'; 'No free tier'). It never explicitly names the alternative tool (e.g. redact_pii) or states the condition that selects it, so routing to a sibling is left to inference.

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

Deploy Server

Other Tools