Skip to main content
Glama

Tanod Util

utilpeek: encode or decode text (base64, hex, URL, ..., JWT decode)

text_encode
Read-onlyIdempotent

utilpeek: Encode or decode text: base64, hex, URL, punycode, JWT decode, ... 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. Input: text, codec and optional direction. 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. Tanod does not log or store the submitted text; it is processed in memory for this answer.

Input Schema

TableJSON 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

TableJSON 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. Changed2 schema fields changed
    • addedInput schema / properties / direction / description
      Added value: +"encode (default) or decode; jwt is decode only."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "binary": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "bytes": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "codec": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "direction": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "error": {
      +      "description": "Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object."
      +    },
      +    "flags": {
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "header": {
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "output": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "output_base64": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "payload": {},
      +    "signature_verified": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "source": {
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "warning": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources