Skip to main content
Glama

encode_base64

Encode or decode text using Base64

Input Schema

NameRequiredDescriptionDefault
modeNoencode (default) or decode
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden but discloses almost nothing: no default mode, no handling of invalid Base64 input, no character-set/padding/URL-safe variant behavior, and no statement of what is returned. It only restates that both directions exist.

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?

A single short sentence with the operation front-loaded and zero waste. It is efficient, though arguably too terse for the disclosure the tool needs.

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

Completeness2/5

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

No annotations and no output schema, so the description should explain the return value and failure modes for malformed input; it does neither. For a conversion tool the agent cannot know whether invalid Base64 raises an error or returns a best-effort result.

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 50%: the 'mode' parameter is documented as 'encode (default) or decode', while 'text' has no description. The description confirms that both modes are supported, which corroborates the mode enum semantics, but adds no format or validation detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb pair (encode/decode) and resource (text, Base64), which is enough to distinguish it from siblings like hash_text or convert_number_base. It is clear but does not explicitly name or exclude any alternative sibling.

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

Usage Guidelines2/5

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

The description offers no when-to-use guidance, no prerequisites, and no pointer to alternative tools (e.g. hash_text, decode_jwt) for related transformation needs. The agent must infer applicability entirely.

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.