Skip to main content
Glama

SovRoute

Bitcoin RBF Fraud Shield

check_rbf_fraud_shield
Read-onlyIdempotent

Read-only, side-effect-free inspection of an unconfirmed Bitcoin transaction ID for BIP-125 Replace-By-Fee (RBF) double-spend replaceability, fee rate, and unconfirmed ancestor chains. Use this when evaluating an incoming 0-conf Bitcoin txid; use simulate_raw_transaction to validate an unsigned/signed raw tx hex before broadcast, or preflight_transaction_guard for a unified ALLOW/WARN/BLOCK verdict.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "txid": "<txid>"
    },
    "name": "check_rbf_fraud_shield"
  }
}

Input Schema

NameRequiredDescriptionDefault
txidYes64-character hex Bitcoin transaction ID

Output Schema

NameRequiredDescriptionDefault
txidNoInspected 64-character hex Bitcoin transaction ID
verdictNoDeterministic decision or classification label when applicable
riskLevelNoDouble-spend risk classification
timestampNoISO-8601 evaluation timestamp when provided
rbfSignaledNoWhether BIP-125 RBF signaling is active

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive, and open-world, so restating 'read-only, side-effect-free' is partly redundant. The description does add real context beyond the annotations: the operation is scoped to *unconfirmed* txids and the metrics it computes (RBF replaceability, fee rate, ancestor chains). It stops short of saying what happens for a confirmed or unknown txid, which is the only meaningful gap.

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 sentences, zero filler. The capability and its three computed metrics come first, and the disambiguation against alternatives is packed into a single follow-up clause with no restated boilerplate.

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?

With a published output schema, full parameter coverage, and rich annotations, almost nothing is left for the description to carry, and it covers purpose, scope, and routing adequately. The one thin spot is behavior on edge-case inputs (confirmed txid, malformed-but-pattern-matching txid), which is unspecified.

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 coverage is 100% — the single txid parameter is documented with its 64-char hex pattern — so the schema already does the heavy lifting and a baseline 3 applies. The description adds only the constraint that the txid should be unconfirmed, which is a modest increment over the schema text.

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 names a specific verb and resource ('inspection of an unconfirmed Bitcoin transaction ID') and enumerates the exact outputs: BIP-125 RBF replaceability, fee rate, and unconfirmed ancestor chains. It explicitly contrasts itself with simulate_raw_transaction and preflight_transaction_guard, so an agent can route between them without opening a 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?

It gives an explicit trigger ('Use this when evaluating an incoming 0-conf Bitcoin txid') and names two alternatives with the conditions that select them — raw tx hex validation vs. a unified ALLOW/WARN/BLOCK verdict. Both when-to-use and when-to-use-something-else are stated.

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.