Skip to main content
Glama

base58_codec

Encodes hex or UTF-8 text to Base58, or decodes Base58 to hex and UTF-8. 0.001 USDC per call via x402.

Input Schema

NameRequiredDescriptionDefault
modeNoencode or decodedecode
inputNohex or text for encodehex
valueYesInput
paymentProofNoPayment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the notable trait that each call costs 0.001 USDC via x402. However, it does not state that payment is required before a successful result, nor what happens on an unpaid call, leaving the schema's paymentProof field to carry the flow.

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?

Two short sentences, zero filler, with the core encode/decode operation front-loaded ahead of the pricing note. Nothing needs trimming.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a pure-function tool with no output schema and no annotations, the description covers input and direction but not the return shape: whether a decode returns both hex and UTF-8 simultaneously, and what happens for byte sequences that are not valid UTF-8. That ambiguity matters for a codec tool.

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?

Schema description coverage is 100%, so the schema already defines mode, input, value, and paymentProof; baseline is 3. The description's mention of 'hex or UTF-8 text' and 'decodes to hex and UTF-8' loosely echoes the input/value params but adds nothing the schema does not already say.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb pair (encodes/decodes) and the exact resource (Base58) plus the source/target encodings (hex, UTF-8), so the operation is unambiguous. It does not name or contrast with the adjacent codec siblings (base64, hex_codec, url_codec), which keeps it just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by describing both directions; there is no explicit guidance on when to pick this over base64/hex_codec, or on which mode to choose for a given input. An agent can infer mode from the sentence, but nothing steers it away from wrong alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.