Skip to main content
Glama
xctmyy

win-cli-mcp-tmyy

by xctmyy

base64_manage

Encode or decode base64 for text and files. Encode text to base64, decode base64 to text, read files as base64, or write base64 data to files.

Instructions

Base64 encode/decode utility. Supports: encode text to base64, decode base64 to text, encode file to base64 string, or decode base64 string to file. Useful for preparing content for edit_file's content_base64 parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoFile path (for 'encode_file' action: path to file to read; for 'decode_file' action: path to write the decoded content to).
textNoText to encode (for 'encode' action) or base64 string to decode (for 'decode' action).
actionYesAction to perform: 'encode' - encode text to base64, 'decode' - decode base64 to text, 'encode_file' - read file and output base64, 'decode_file' - decode base64 and write to file
encodingNoText encoding (default: 'utf8'). Used for encoding/decoding text and file operations.
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It clearly describes file read/write operations (encode_file reads a file, decode_file writes to a file), but does not mention potential side effects such as overwriting existing files, error behaviors, or required file permissions. The description is honest but lacks deeper behavioral nuance.

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 two sentences, front-loaded with the primary purpose and immediately listing supported operations and a practical use case. No wasted words; every sentence earns its place.

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 tool with four well-documented parameters and no output schema, the description provides sufficient context: it outlines all operations and gives a concrete integration scenario (edit_file). It could mention output format or error handling, but given the schema's completeness, it is adequately complete for an agent to understand when and how to use it.

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?

Input schema coverage is 100%, so the schema already documents all parameters. The description lists the supported actions, but these are also enumerated in the schema's action property. It does not add new semantic detail beyond what the schema provides, so the 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?

The description identifies the tool as a base64 encode/decode utility and enumerates four specific operations (encode text, decode text, encode file, decode file). It uses a specific verb ('encode/decode') and resource, and clearly distinguishes it from sibling tools by its unique utility purpose.

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 provides a clear use case: 'preparing content for edit_file's content_base64 parameter.' This gives context for when to use the tool, though it does not explicitly state when not to use it or name alternative tools. The mention of edit_file provides a strong contextual anchor.

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/xctmyy/win-cli-mcp-tmyy'

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