Skip to main content
Glama
Wuodan

mcp-base64

by Wuodan

decode_base64_to_file

Decode base64 encoded content and write the decoded binary data to a specified file at an absolute path.

Instructions

Decode a base64 string and write it to a file.

This tool takes base64 encoded content and writes the decoded binary data to a file. Only absolute paths are allowed for security reasons.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path where to save the decoded file
base64_contentYesBase64 encoded content to decode and write to file

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

The description discloses the security constraint of absolute paths but does not mention behavior like file overwriting, error handling, or output specifics. Since no annotations are provided, the description carries the full burden and could be more comprehensive.

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?

The description is concise, consisting of two short sentences in the first paragraph and one in the second. Every sentence provides essential information without redundancy.

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?

With an output schema available (though not shown), clear parameter coverage, and a sibling tool, the description is fairly complete. It could be improved by mentioning whether existing files are overwritten and typical error scenarios.

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 100%, both parameters have descriptions and examples in the schema. The description adds only the security constraint about absolute paths, which is a moderate addition beyond the schema.

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?

The description clearly states the tool decodes a base64 string and writes it to a file, which is a specific verb+resource. The sibling tool 'encode_file_to_base64' performs the inverse operation, providing clear distinction.

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

Usage Guidelines4/5

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

The description mentions that only absolute paths are allowed for security, offering clear context. However, it does not explicitly state when to use this tool versus alternatives or provide exclusion conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Wuodan/mcp-base64'

If you have feedback or need assistance with the MCP directory API, please join our Discord server