Skip to main content
Glama
Simplicity MCP Server

Simplicity MCP Server

elements_decode_rawtransaction

Decode a raw transaction hex into readable transaction details for the Elements network, so you can inspect inputs, outputs, and structure before signing or broadcasting.

Instructions

Decode a raw transaction hex

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": {
      "hex": "<hex>"
    },
    "name": "elements_decode_rawtransaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
hexYesRaw transaction hex

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and does little: it does not say whether decoding is offline or requires a node connection, whether the hex must be a complete raw transaction or may be a fragment, or what happens with malformed input. 'Decode' implies a safe read, but that is inference rather than disclosure.

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 short phrase with no wasted words, and the core action is front-loaded. It is efficient but borders on under-specification rather than tightness.

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

Completeness2/5

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

Decoding tools live or die on their returned structure, and with no output schema and no annotations, the description should say what the decoded output contains. It also omits error behavior for invalid hex, leaving the definition thin for a tool whose entire value is its return payload.

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% and the only parameter ('hex') is documented as 'Raw transaction hex', matching the description. The description adds no format details (byte order, witness serialization, network) 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 ('Decode a raw transaction hex'), which is unambiguous about what the tool returns conceptually. It does not differentiate itself from related siblings such as elements_get_transaction (fetch by txid) or helper_extract_transaction, so it falls short of a 5.

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

Usage Guidelines2/5

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

There is no guidance on when to use this rather than elements_get_transaction or the simplicity decode tools, and no prerequisites are mentioned. The agent must infer usage entirely from the tool name and the single parameter.

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