base64
Base64 编码/解码
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 要处理的文本 | |
| action | Yes | encode 编码 / decode 解码 |
Base64 编码/解码
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 要处理的文本 | |
| action | Yes | encode 编码 / decode 解码 |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are supplied, so the description carries the full behavioral burden, and it discloses nothing beyond the operation name. It does not state that the tool is a pure, side-effect-free transformation, nor how errors (e.g. invalid Base64 on decode) are surfaced.
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?
It is a single compact phrase with zero filler, and the operation is front-loaded. It is arguably too terse rather than verbose, but nothing in it is wasted.
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 trivial two-parameter utility whose schema is fully documented and with no output schema to explain, the description is minimally adequate. It leaves behavioral questions unanswered, but the task is simple enough that an agent can call it correctly from the schema alone.
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 description coverage is 100%: both 'text' and the 'action' enum are documented in the schema, including the encode/decode mapping. The description adds no meaning beyond that, so the baseline of 3 applies.
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?
The description names the resource (Base64) and the two operations (encode/decode), so the purpose is discernible. But it is essentially a restatement of the tool name with no further specificity, and siblings (gen_uuid, get_time, json_format) are unrelated utilities so no differentiation is needed or provided.
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?
There is no guidance on when to use this tool versus alternatives, nor any prerequisite or context. The action enum in the schema implies encode vs decode, but the description itself offers no usage direction.
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.