Skip to main content
Glama

Coinlight: pay-per-call crypto data for agents (x402)

Base58 / base64 / hex encoder

encode
Read-only

Convert data between utf8, hex, base64 and base58 (Solana keys and signatures use base58). ($0.005 USDC per call via x402 at https://coinlight-app.vercel.app/p/encode)

Input Schema

NameRequiredDescriptionDefault
toYesTarget encoding.
dataYesInput data.
fromYesEncoding of data.
paymentNoOptional x402 PAYMENT-SIGNATURE header value. Omit to use a free trial call or get payment requirements.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely new context the annotations cannot carry: the cost ($0.005 USDC per call via x402) and the payment endpoint, which the agent needs before invoking. It does not describe behavior on invalid input or mismatched encodings, keeping it short of a 5.

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 compact clauses: the capability first, then the pricing/payment pointer. No filler, and the most decision-relevant information (what it converts, what it costs) is front-loaded.

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

Completeness4/5

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

For a simple deterministic conversion tool with full schema coverage and no output schema, the description covers purpose, cost, and the payment flow pointer. The main residual gap is not stating that output is a single encoded string and what happens on invalid input, but the omission is minor at this complexity.

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% and the from/to enums are fully self-documenting, so the description adds little beyond restating the four encodings. The only extra semantic value is the note that base58 is what Solana keys and signatures use, which suggests valid inputs but not formats or error cases.

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?

States a specific verb (Convert) and resource (data between utf8, hex, base64, base58), and the parenthetical that Solana keys/signatures use base58 grounds the tool in a concrete use case. It's easy to distinguish from siblings like hash or uuid, though it never names an alternative explicitly.

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 implied rather than stated: the Solana base58 note hints at the main scenario, but there is no explicit 'use this when…' or 'prefer X instead' guidance, and no mention of when a different tool (hash, uuid, units_convert) would be the right choice.

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.

Resources