Skip to main content
Glama
junxit

mcp-bitcoin

by junxit

convert_units

Read-only

Convert Bitcoin amounts between btc, mbtc, bit, and sat units offline. Specify amount, source unit, and target unit to get the equivalent value.

Instructions

Convert between Bitcoin units. Works offline.

Args: amount: Amount to convert, e.g. "0.001". from_unit: Source unit: btc, mbtc, bit or sat. to_unit: Target unit: btc, mbtc, bit or sat.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYes
to_unitYes
from_unitYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, covering safety. The description adds the behavioral note 'Works offline,' which is useful beyond annotations. However, it does not elaborate on return format or edge cases, though the output schema mitigates that. This aligns with the calibration example where a small extra context earned a 3.

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?

The description is concise and front-loaded. The core purpose and offline capability appear in the first sentence, followed by a clear Args list with examples. Every sentence serves a purpose, with no fluff or repetition.

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 conversion tool with an output schema present, the description covers all necessary information to invoke it correctly: parameters, allowed unit values, and an example. It does not discuss invalid inputs or precision, but these are minor and not critical for a basic conversion. The offline note is a helpful addition. It is sufficiently complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the schema provides only titles with no descriptions. The description fully compensates by explaining each parameter: it gives an example for 'amount' and enumerates allowed values for 'from_unit' and 'to_unit' (btc, mbtc, bit, sat). This adds meaning the schema lacks, making it easy for an agent to supply correct values.

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

Purpose5/5

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

The description clearly states a specific verb and resource: 'Convert between Bitcoin units.' This distinguishes it from sibling tools focused on validation, derivation, or transaction queries, leaving no ambiguity about its function.

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 explicit. The description says it converts units, so an agent can infer when to use it, but there is no mention of alternatives or when not to use it. It does not provide any exclusion or comparison with sibling tools, so it lacks explicit routing guidance.

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