Skip to main content
Glama

Number Base Converter

dev_number_base_converter

Convert integers between any bases from 2 to 36 — binary, octal, decimal, hexadecimal and beyond — with BigInt precision (no limit on magnitude). Use this when an agent needs to binary, octal, decimal, hex — any base 2–36. x402 price $0.01/call (USDC, eip155:8453).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesTo base (2–36)
fromYesFrom base (2–36)
valueYesDigits valid for the source base

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?

With no annotations, the description must carry the behavioral burden, and it does disclose genuinely non-obvious traits: BigInt precision with no limit on magnitude, and that the call is metered ('x402 price $0.01/call (USDC, eip155:8453)'). It does not describe the return format (presumably a string) or behavior on invalid digits for the source base.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded, but the base list ('binary, octal, decimal, hexadecimal') and the '2 to 36' bound are repeated almost verbatim across the first two sentences. The pricing sentence, while useful, is appended awkwardly rather than structured.

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 three-parameter, output-schema-less utility, the description covers purpose, numeric domain, precision limits and cost. The main remaining gap is the shape of the result and error behavior on invalid input, which matters because there is no output schema to fall back on.

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 'value', 'from' and 'to' are already documented with their constraints (2–36, digits valid for the source base). The description restates the 2–36 bound but adds no format or edge-case meaning beyond the schema, so the baseline of 3 applies.

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 states a specific verb and resource ('Convert integers between any bases from 2 to 36') plus the precision guarantee (BigInt, no magnitude limit). It implicitly separates itself from converters_roman_numeral_converter and crypto_wei_eth_converter by covering arbitrary bases 2-36, but it never names those siblings explicitly, so sibling differentiation is left to inference.

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

Usage Guidelines4/5

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

It gives explicit usage context ('Use this when an agent needs to binary, octal, decimal, hex — any base 2–36'), which tells the agent when the tool applies. It names no alternatives and states no exclusions, so there is no when-not guidance, but the affirmative context is clear.

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