Skip to main content
Glama

iota_wallet_sign_execute

Sign and execute IOTA blockchain transactions with human approval. Submit base64-encoded transaction bytes to trigger wallet signing and on-chain execution.

Instructions

Sign and execute a transaction via the agent wallet (human-in-the-loop approval required)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tx_bytesYesBase64-encoded transaction bytes

Implementation Reference

  • The tool "iota_wallet_sign_execute" is defined using `server.tool`. It accepts `tx_bytes` as input and calls the local wallet server's `/sign-execute` endpoint via an HTTP POST request.
    server.tool(
      "iota_wallet_sign_execute",
      "Sign and execute a transaction via the agent wallet (human-in-the-loop approval required)",
      {
        tx_bytes: z.string().describe("Base64-encoded transaction bytes"),
      },
      async ({ tx_bytes }) => text(await wallet("/sign-execute", "POST", { tx_bytes }))
    );
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key traits: it's a mutation tool (sign and execute), requires human approval, and operates via the agent wallet. However, it does not cover aspects like error handling, rate limits, or what happens on execution failure, leaving some gaps in behavioral 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?

The description is a single, efficient sentence that front-loads the core action ('Sign and execute a transaction') and includes essential context ('via the agent wallet' and 'human-in-the-loop approval required') without any wasted words. Every part of the sentence contributes directly to understanding the tool's purpose and constraints.

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

Completeness4/5

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

Given the tool's complexity (a mutation requiring human approval), no annotations, and no output schema, the description is reasonably complete. It covers the action, resource, and key constraint, but could improve by mentioning potential outcomes or error cases. It adequately supports agent selection but leaves some behavioral aspects unspecified.

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 the schema already documents the single parameter 'tx_bytes' as 'Base64-encoded transaction bytes'. The description does not add any additional meaning or context about this parameter beyond what the schema provides, such as format details or usage examples, meeting the baseline for high coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Sign and execute a transaction') and the resource ('via the agent wallet'), distinguishing it from siblings like iota_wallet_approve or iota_wallet_reject which handle approval/rejection rather than signing and execution. It specifies the exact operation with a specific constraint (human-in-the-loop approval required).

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

Usage Guidelines4/5

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

The description provides clear context by stating 'human-in-the-loop approval required', indicating when this tool is appropriate (when manual approval is needed). However, it does not explicitly mention when not to use it or name alternatives like iota_wallet_approve for approval-only actions, so it lacks full exclusion or comparison details.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Scottcjn/iota-agent-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server