encode_base64
Paid $0.10 (x402, USDC Base): Base64 encode/decode. Args: text (string), op ('enc' default | 'dec').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | ||
| text | Yes |
Paid $0.10 (x402, USDC Base): Base64 encode/decode. Args: text (string), op ('enc' default | 'dec').
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | ||
| text | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full behavioral burden; it usefully discloses the paid cost ($0.10 via x402/USDC Base), which is critical pre-call context. However it omits the return format and any failure behavior, leaving gaps.
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?
Front-loads the payment cost and core purpose, then lists args compactly in one sentence. Efficient with little waste, though the payment prefix slightly interrupts purpose front-loading.
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?
The two-param tool is mostly covered, but with no output schema and no description of the returned value (encoded/decoded string) or error handling, an agent must infer the response shape.
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%, but the description compensates by naming both parameters, giving the enum values for op, and stating the default ('enc'). This adds real meaning beyond the bare schema despite the lack of per-field descriptions.
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 and resource ('Base64 encode/decode'), clearly distinguishing it from siblings like decode_jwt or get_hash. The dual operation is explicit, though it doesn't name a sibling to differentiate against.
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 encode/decode nature and the op enum, but the description never states when to prefer it over related tools such as decode_jwt. For a simple utility, the implied context is adequate but no explicit guidance is given.
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.