Skip to main content
Glama

Validar dirección Bitcoin

bitcoin-address-validate
Read-onlyIdempotent

Valida una dirección Bitcoin sin conexión: Base58Check (P2PKH/P2SH) o Bech32/Bech32m (SegWit). Solo sintaxis y checksum. Cuándo: hay que verificar sin conexión el formato y el dígito de control de un identificador antes de usarlo. No para: verificar que una cadena sea una clave pública Solana válida en sintaxis: Base58 que decodifica a 32 bytes (solana-address-validate). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.

EN: Validates a Bitcoin address offline: Base58Check P2PKH/P2SH (mainnet/testnet version bytes) or Bech32/Bech32m SegWit (BIP-173/350 witness version and program length rules). Syntax and checksum only. When: an identifier's format and check digit have to be verified offline before it is used. [EN completo / full EN: inputSchema.description]

Input Schema

NameRequiredDescriptionDefault
addressYesBitcoin address (string; required; up to 100 chars).

Output Schema

NameRequiredDescriptionDefault
typeNo
validNo
networkNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / address / examples
      Added value: +[
      +  "1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2"
      +]
  2. Changed1 schema field changed
    • addedInput schema / description
      Added value: +"EN: Validates a Bitcoin address offline: Base58Check P2PKH/P2SH (mainnet/testnet version bytes) or Bech32/Bech32m SegWit (BIP-173/350 witness version and program length rules). Syntax and checksum only. When: an identifier's format and check digit have to be verified offline before it is used. Not for: checking that a string is a syntactically valid Solana public key: Base58 (solana-address-validate). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB."
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld=false, and the description adds concrete context on top: no network access, no stored state, deterministic output, and hard limits (64 KB JSON input, 1 s per call, 1 MB result). It also scopes the check to syntax and checksum only, which prevents an agent from assuming semantic/on-chain validation.

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

Conciseness4/5

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

Front-loaded with the purpose, then labeled sections for conditions, exclusions, side effects and limits, so an agent can skim. It loses a point because the body is duplicated verbatim in the inputSchema description and closes with a dangling pointer ('[EN completo / full EN: inputSchema.description]') that adds no information.

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

Completeness5/5

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

An output schema exists so return values need not be explained, annotations cover the safety profile, and the description supplies the remaining operational context: offline nature, determinism, and size/time limits. Nothing an agent needs in order to call this correctly is missing.

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

Parameters4/5

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

With one parameter and 100% schema coverage, the schema already documents the field, but the description adds real semantic meaning by defining which address grammars are accepted and that validation stops at syntax plus checksum. It does not restate the maxLength, but the accepted-format detail is more useful than that.

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?

States a specific verb and resource (validate a Bitcoin address) and enumerates the exact address families and encodings covered: Base58Check P2PKH/P2SH and Bech32/Bech32m SegWit with BIP-173/350 rules. It also names the sibling it is not (solana-address-validate), so an agent can route without opening either schema.

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

Usage Guidelines5/5

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

The 'Cuándo' line gives the triggering condition (offline verification of format and check digit before using an identifier) and the 'No para' line explicitly excludes the Solana public-key case with the alternative tool named. This is the full when/when-not/alternative triad.

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