x402-is-base64
Is Base64: Checks value against a base64 character regex that allows up to two trailing equals signs 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No |
Is Base64: Checks value against a base64 character regex that allows up to two trailing equals signs 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| value | No |
Changes observed during successful MCP inspections.
Input schema / properties / value / descriptionRemoved value: -"Value to process"Input schema / properties / valueAdded value: +{
+ "description": "Value to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden, and it does disclose the actual acceptance criterion (base64 character regex, up to two trailing '='), which is genuine behavioral detail. However, it never states what the tool returns (presumably a boolean/validity flag) and no output schema exists, and it doesn't note that a regex check does not verify length/padding correctness.
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?
The functional sentence is front-loaded and tight, with the validation rule stated precisely. The trailing '🆓 5 free trial calls per signed wallet' marketing/pricing note is noise for tool selection but short and clearly separated.
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 single-param predicate tool this covers the core mechanic adequately, but with no output schema and no annotation coverage, the return value and the exact pass/fail semantics (padding, whitespace, URL-safe alphabet) remain unspecified.
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?
The single 'value' parameter has 0% schema description coverage, but the description's phrase 'Checks value against...' makes it clear the parameter is the string under test, which is modest added meaning. It adds no format expectations, size limits, or handling of whitespace/line breaks in the input.
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 predicate: it checks whether a value matches a base64 character regex allowing up to two trailing equals signs. That is distinct from the encoding siblings (x402-base64, x402-base64-decode), though the description never names them, so the agent must infer the distinction from the name alone.
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 when-to-use guidance and no mention of alternatives such as x402-base64url (which has a different alphabet) or x402-is-hex/x402-is-json for other format checks. The agent is left to infer that this is the correct validator for a base64-vs-base64url decision.
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.