Skip to main content
Glama

Decodificar Base32

base32-decode
Read-onlyIdempotent

Decodifica Base32 RFC 4648 a texto o hex. Cuándo: hay que convertir bytes o texto a esta codificación, o desde ella, con exactitud y sin adivinar. No para: codificar en Base32 RFC 4648 (base32-encode). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.

EN: Decodes RFC 4648 Base32 (case-insensitive, padding and spaces optional) to UTF-8 text, hex or base64. When: bytes or text have to be converted to or from this encoding exactly, without guessing. Not for: encoding text or hex bytes as RFC 4648 Base32 (base32-encode). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.

Input Schema

NameRequiredDescriptionDefault
base32YesBase32 string (string; required).
output_encodingNoHow to return decoded bytes (optional; one of: utf8, hex, base64; default "utf8").utf8

Output Schema

NameRequiredDescriptionDefault
dataNoany JSON value

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / base32 / examples
      Added value: +[
      +  "MZXW6YTBOI======"
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so restating 'read-only, no network, no stored state' adds little. The genuinely new information is the parsing tolerance (case-insensitive, padding and spaces optional), determinism and the operational limits (64 KB input, 1 s, 1 MB result), which are useful but the description spends half its behavioral budget duplicating annotation content.

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?

Front-loaded with the action, then When / Not for / Side effects / Deterministic / Limits in a scannable pattern. It is however presented twice, in Spanish and English, which roughly doubles length without adding information for an English-reading agent.

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 two-parameter decoder with an output schema already defining return values, the description covers direction, alternatives, tolerance rules and hard limits. Nothing an agent needs in order to call it correctly is missing.

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?

Schema coverage is 100%, so both parameters are documented structurally and the 3 baseline applies. The description adds meaning the schema lacks: that the input is parsed case-insensitively with optional padding and spaces, and that output_encoding governs how decoded bytes are rendered.

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?

States a specific verb and resource (decode RFC 4648 Base32) plus the concrete output targets (UTF-8 text, hex, base64). It also names the sibling it is not (base32-encode), so an agent can distinguish it without opening either schema.

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?

Explicit 'When' clause and explicit 'Not for' exclusion pointing at base32-encode as the alternative, covering both directions of conversion. Routing guidance is complete with no inference required.

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.

Resources