Skip to main content
Glama

Receive Pending Blocks

wallet_receive

Receive pending Nano blocks for an OWS wallet by automatically creating open or receive blocks, signing, generating proof of work, and broadcasting the transaction.

Instructions

Receive pending Nano blocks for an OWS wallet. Automatically handles open vs receive block creation, signs via OWS, generates PoW, and broadcasts.

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>"
    },
    "name": "wallet_receive"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoMax receivable blocks to consider
indexNoAccount index (OWS only supports 0)
rpcUrlNoOverride RPC URL
walletYesOWS wallet name
onlyHashNoReceive only this specific send block hash
representativeNoRepresentative for first-open account (defaults to configured default)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.2.1

TDQS

A3.5/5.0
Behavior4/5

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

With annotations limited to generic hints, the description does real work: it discloses that open vs receive blocks are auto-constructed, that signing goes through OWS, that PoW is generated (an expensive step), and that the block is broadcast. It omits failure/no-op behavior when nothing is receivable and any latency expectation for PoW; there is also mild tension between 'broadcasts' and openWorldHint=false, though that is a labeling nuance rather than a direct contradiction.

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 dense sentences, front-loaded with the action and resource, followed by the behavioral chain in execution order. No filler or restatement of the title.

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 six-parameter mutating tool with no output schema, the definition covers the mechanism but not the outcome: nothing about what is returned (e.g. hashes received), what happens when zero blocks are pending, or partial-failure behavior mid-broadcast. Adequate but leaves the agent guessing about results.

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 count, index, rpcUrl, wallet, onlyHash and representative are all documented in the schema itself. The description adds no extra meaning such as how onlyHash interacts with count or what the OWS-only index=0 constraint implies, so the baseline 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?

States a specific verb and resource ('Receive pending Nano blocks') scoped to an OWS wallet, plus the internal steps taken. It does not, however, distinguish itself from sibling tools such as block_receive or rpc_receivable, which an agent could plausibly confuse it with.

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 when-to-use guidance, no prerequisites (e.g. wallet must exist/unlocked), and no exclusions or named alternatives. The agent must infer from the name alone that this is the tool for sweeping incoming sends rather than block_receive or rpc_receivable.

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