Skip to main content
Glama
sovereign-node-mcp
by aipp-key

simulate_raw_transaction

Validate a signed raw Bitcoin transaction against live Bitcoin Core consensus and script rules without broadcasting it, so you can catch errors before P2P submission.

Instructions

Execute zero-broadcast dry-run consensus & script validation (testmempoolaccept) against live Bitcoin Core v31.1 UTXO set without broadcasting to P2P network.

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": {
      "rawTxHex": "<rawTxHex>"
    },
    "name": "simulate_raw_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawTxHexYesHexadecimal signed raw Bitcoin transaction to simulate against consensus rules

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.3

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose the key behavioral trait: nothing is broadcast, so the tool has no network side effects, and validation runs against the live consensus UTXO set. It omits what a failed simulation returns (reject reason structure) and any node-access or rate-limit requirements, which matters since no output schema exists.

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?

A single front-loaded sentence with no filler; the operative constraint (no broadcast) appears early. It is dense with RPC and version jargon ('testmempoolaccept', 'v31.1'), which costs a little readability but not correctness.

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

Completeness3/5

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

For a one-parameter validation tool this covers input and intent adequately, but with no output schema the description should say what a simulation yields (accept/reject plus reason) so an agent can interpret the result. That return-behavior gap is the main omission.

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% for the single rawTxHex parameter, so the schema already specifies the hex-encoded signed transaction. The description adds context about what the input is validated against (consensus rules, live UTXO set) but no format, size, or error-shape detail beyond the schema.

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 (execute a zero-broadcast dry-run consensus and script validation via testmempoolaccept) against a named target (live Bitcoin Core v31.1 UTXO set). The 'without broadcasting to P2P network' clause cleanly separates it from any broadcast or block-inspection sibling such as verify_block_header.

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?

The phrase 'zero-broadcast dry-run' gives clear context for when to use it: validating a signed transaction before it ever hits the network. No explicit when-not conditions or named alternatives are given, but the pre-broadcast validation use case is unambiguous from the wording.

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