Skip to main content
Glama
Simplicity MCP Server

Simplicity MCP Server

decode_simplicity_transaction

Extract and decode Simplicity programs from a transaction using its txid and an optional output index.

Instructions

Extract and decode Simplicity programs from a transaction

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": "decode_simplicity_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
txidYesTransaction ID
output_indexNoOutput index (optional)

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?

With no annotations, the description carries the full behavioral burden and does almost none of it: it does not say whether decoding is read-only, what happens if the transaction has multiple outputs or none at the given index, or whether errors are raised for non-Simplicity outputs. Only the vague implication that input is a transaction is conveyed.

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. It is efficient, though its brevity comes at the cost of the guidance noted in other dimensions rather than from trimming redundancy.

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?

There is no output schema and no annotations, so the description should at minimum indicate what a decoded program result looks like or how multiple outputs are handled. Neither is present, and no sibling differentiation is offered for a tool whose name overlaps heavily with adjacent decode tools.

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 description coverage is 100%, so txid and output_index are already documented in the schema and baseline 3 applies. The description adds nothing about what output_index omission means (e.g. scan all outputs vs. default to 0).

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?

"Extract and decode Simplicity programs from a transaction" names a specific verb (extract/decode) and resource (Simplicity programs in a transaction). It is clear on its own, but it does not differentiate itself from nearby siblings such as simplicity_decode or simplicity_decode_program, which read as near-identical actions.

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 statement of when to use this tool versus simplicity_decode, simplicity_decode_program, or helper_extract_transaction, and no prerequisites or exclusions. The agent must infer selection from the name alone.

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