base64_decode
Decode base64 to text (UTF-8). Errors on invalid base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Decode base64 to text (UTF-8). Errors on invalid base64.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations, so the description carries the full burden. It usefully discloses the output encoding (UTF-8) and the failure mode (errors on invalid base64), which are real behavioral traits. It omits whitespace/padding tolerance, URL-safe variant support, and expected output on empty input.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences with zero waste; the operation is front-loaded and the error behavior follows. Every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-param, no-output-schema utility, the description covers purpose, output encoding, and error behavior — enough to call it correctly. Input-format edge cases are the only meaningful omission.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the schema only names the param 'text' with no description. The description implies it holds base64-encoded input but says nothing about accepted format variants (padding, URL-safe alphabet, embedded whitespace), so it only partially compensates.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource: decode base64 to text. The counterpart sibling base64_encode makes the direction unambiguous. No explicit sibling routing, but the operation is fully distinguishable from all other siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the name and description — use it when you have base64 to convert to text. No explicit when-to-use conditions, prerequisites, or named alternatives (e.g. for URL-safe or binary payloads).
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.