Skip to main content
Glama

Base64 encode and decode

base64

Encode a file as Base64 text, or decode Base64 text back into a file. Accepts *. Returns the result file.

Input Schema

NameRequiredDescriptionDefault
filesYesAccepts *; at most 50 MB in total.
optionsNoOptional settings; omitted ones use their default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations declare non-read-only, non-destructive, non-open-world, and the description adds that it 'Returns the result file' – useful since there is no output schema. However it omits the 50 MB / 10-file limits, the fact that a new file artifact is produced, and any mention of the options that materially change output.

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

Conciseness3/5

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

Three short sentences, front-loaded with the core purpose, which is good. But the middle sentence 'Accepts *' is a garbled artifact that wastes a sentence slot and is the most prominent missing piece of information.

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?

For a tool with encode/decode modes, url vs standard alphabet, wrapping options, and multiple input methods (upload_id vs content_base64), the description covers none of this. With no output schema, the return value is only vaguely described, leaving the agent to read the schema for everything operationally important.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3, but the only parameter-related sentence is the broken fragment 'Accepts *', which reads as a truncated copy of the schema text and conveys nothing. The description adds no meaning about mode, wrap, variant, or uri 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 concrete verb+resource pair ('Encode a file as Base64 text, or decode Base64 text back into a file') and covers both directions of the operation. It does not distinguish itself from the sibling convert-encoding, which plausibly overlaps, so it stops short of a 5.

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?

No guidance on when to choose this over convert-encoding or convert-data, which are the obvious alternatives in the sibling list. The encode/decode framing implies usage but no conditions, prerequisites, or exclusions are given.

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