Skip to main content
Glama

Base64 encode / decode

base64
Read-onlyIdempotent

Encodes text to Base64 or decodes a Base64 string back to text (action = encode or decode).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesText to encode, or Base64 string to decode.
actionYesEither 'encode' or 'decode'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / action / description
      Previous value: -"Either \\\"encode\\\" or \\\"decode\\\"."New value: +"Either 'encode' or 'decode'."
  2. Changed2 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -""New value: +"Either \\\"encode\\\" or \\\"decode\\\"."
    • changedInput schema / properties / text / description
      Previous value: -""New value: +"Text to encode, or Base64 string to decode."
  3. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is fully covered externally. The description adds no behavioral context beyond that (no error handling for invalid Base64, no notes on charset or padding), but it does not contradict the annotations either.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence that front-loads the operation and embeds the mode values, with zero redundant or filler text. Nothing needs trimming.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter, deterministic, annotation-covered utility with no output schema, the description is essentially complete. It could mention error behavior for malformed Base64 input, but nothing required 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%, so both parameters are already documented in the schema. The description restates the action values and the dual meaning of 'text' but adds no syntax, charset, or padding detail beyond what the schema provides; baseline 3 applies.

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 ('Encodes text to Base64 or decodes a Base64 string back to text') and explicitly names the two operating modes. No sibling tool performs Base64 conversion, so no sibling differentiation is required, and the purpose is unambiguous.

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

Usage Guidelines3/5

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

The description implies usage via the '(action = encode or decode)' clause, which maps directly to the required action parameter. It gives no when-to-use context, prerequisites, or alternatives, but for a self-contained utility with no competing sibling the implied usage is sufficient.

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.