Skip to main content
Glama

Submit Prepared Block

wallet_submit_block

Sign and submit a prepared unsigned Nano block hex using an OWS wallet to complete custom send, receive, open, or change workflows.

Instructions

Sign and submit a previously prepared unsigned Nano block hex using an OWS wallet. Useful for custom block workflows.

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": {
      "wallet": "<wallet>",
      "txHex": "<txHex>",
      "subtype": "<subtype>"
    },
    "name": "wallet_submit_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexNoAccount index (OWS only supports 0)
txHexYesUnsigned block hex string
rpcUrlNoOverride RPC URL
walletYesOWS wallet name
subtypeYesBlock subtype

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.2.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false. The description adds that input is unsigned and gets signed by the wallet, which is useful. However, it omits the material risk of a broadcast: submission is irreversible on-chain and idempotentHint=false implies a retry can double-broadcast, yet no warning or confirmation/return behavior is given. Score would be lower without annotations; with them, a 3 reflects partial added context.

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 short sentences, front-loaded with the action, no filler. Every phrase contributes to identifying the operation.

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?

With no output schema, the description should say what comes back after submission (block hash? confirmation? error on rejected work) and whether it waits for network acceptance. It also never explains how a 'prepared' block is produced, leaving the end-to-end workflow under-specified for a tool with 5 parameters and a write side effect.

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%, so the schema already defines wallet, txHex, subtype enum, index, and rpcUrl. The description reinforces that txHex must be unsigned and previously prepared and that an OWS wallet is used, which is mild added meaning but no format, encoding, or subtype-selection guidance beyond the schema.

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 compound verb and resource: sign and submit an already-prepared unsigned block hex via an OWS wallet. The phrase 'previously prepared unsigned' distinguishes it from the crafting siblings (block_send, block_receive, block_change), though those siblings are never named.

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?

'Useful for custom block workflows' hints at when to reach for this over the high-level block_send/block_receive helpers, but the guidance is implicit. There is no explicit 'use this when you already have an unsigned hex; otherwise use X' statement or any prerequisite about how the block was prepared.

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