Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

text_encode

Read-onlyIdempotent

Encode or decode text with base64, hex, URL, HTML, punycode, and other codecs; decode JWT headers and payloads without verifying signatures.

Instructions

utilpeek: Encode or decode text: base64, hex, URL, punycode, JWT decode, ... For digests use hash_text; for a JWT's claims use decode_jwt. Returns the text encoded or decoded with codec: base64, base64url, base32, hex, url (percent), html (entities), quoted_printable, rot13, punycode, idna or jwt. Decoders are strict (bad input is a 422 decode_failed); bytes that are not UTF-8 come back as output_base64. jwt is decode only: the header and payload are decoded and the signature is NEVER verified (every reply says signature_verified: false), so a decoded token proves nothing about who issued it; the token is never echoed back. Typically under 0.3 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. 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>",
      "codec": "<codec>"
    },
    "name": "text_encode"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesAt most 100,000 characters; never logged; a JWT is never echoed back.
codecYesbase64, base64url, base32, hex, url, html, quoted_printable, rot13, punycode, idna or jwt (decode only; the signature is never verified).
directionNoencode (default) or decode; jwt is decode only.encode

Output Schema

NameRequiredDescriptionDefault
bytesNo
codecNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
flagsNo
binaryNo
headerNo
outputNo
sourceNo
payloadNo
warningNo
directionNo
output_base64No
signature_verifiedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses strict decoder behavior (422 decode_failed), the `output_base64` fallback for non-UTF-8 bytes, and that the JWT signature is never verified with `signature_verified: false` in every reply. It further adds latency (~0.3 s), pricing, quota, and a no-logging/no-echo privacy guarantee — exactly the extra context annotations cannot convey.

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?

Purpose and sibling routing are front-loaded, and every sentence carries information about output shape, failure modes, or cost. It loses a point for repeating the codec enumeration already given in the opening clause and again in the schema, which makes the description longer than strictly needed.

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?

Although an output schema exists, the description still covers the notable return cases (`output_base64`, `signature_verified: false`) and the error mode (422 decode_failed). For a 3-parameter, annotation-rich, schema-complete tool, nothing an agent needs to invoke it correctly is missing.

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 description coverage is 100% and both enums are already documented in the schema, so the description's restatement of the codec list and the encode/decode default adds little. It does clarify that `jwt` is decode-only, but that constraint also appears in the schema, so the 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 first sentence names a specific verb pair (encode/decode) plus the resource (text) and enumerates the codecs, so the tool's function is unambiguous. It also explicitly separates itself from hash_text and decode_jwt, which removes the main sibling ambiguity an agent would face.

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

Usage Guidelines5/5

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

It gives explicit routing rules: use hash_text for digests and decode_jwt for a JWT's claims, and it states that `jwt` here is decode-only. The free-tier quota (10 calls per IP per UTC day) and the price also give the agent a practical reason to prefer alternatives when appropriate.

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