Skip to main content
Glama
Simplicity MCP Server

Simplicity MCP Server

pset_extract

Extracts the final signed transaction from a completed PSET so it can be broadcast to the Liquid network.

Instructions

Extract the final signed transaction from a completed PSET. Uses hal-simplicity-signer (pset-signer branch). The resulting transaction can be broadcast to the 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": {
      "pset": "<pset>"
    },
    "name": "pset_extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
psetYesThe finalized PSET

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/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. It does add real behavioral context — the input must be finalized and the result is broadcastable — but it omits whether the PSET is consumed or mutated, what happens on an unfinalized PSET (error vs. partial output), and the output format.

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?

Three short sentences, front-loaded with the purpose and outcome. The implementation note about hal-simplicity-signer (pset-signer branch) is the least useful sentence for an agent selecting or invoking the tool.

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 extraction tool with no output schema, the definition covers purpose and prerequisite but leaves the return shape (raw hex vs. object) and failure behavior unspecified, which an agent would need to know.

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 'pset' parameter, so the baseline is 3. The description reinforces that the value must be a finalized PSET, but adds no format or encoding detail beyond the schema's own 'The finalized PSET'.

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?

States a specific verb and resource ('Extract the final signed transaction from a completed PSET'), which is clear enough to separate it from pset_create/pset_finalize. It does not, however, distinguish itself from the sibling helper_extract_transaction, which appears to do something similar.

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

Usage Guidelines3/5

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

The phrase 'from a completed PSET' implies the prerequisite that the PSET must already be finalized, which is useful implicit routing. There is no explicit when-to-use/when-not guidance and no named alternative such as helper_extract_transaction or pset_finalize.

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