Skip to main content
Glama

build_set_remarks_unsigned

Build unsigned SetRemarks transactions to manage key-value remarks on Xahau ledger objects. Attach, update, or delete remarks with optional immutability. Returns unsigned JSON.

Instructions

Assemble an UNSIGNED SetRemarks (Remarks amendment) — attach, update, or delete key-value remarks on a ledger object you own (or, for URITokens/trustlines, issue). Each remark: name (required), value (omit to DELETE), immutable (Flags:1 = permanent). Max 32 per object, names unique, 1–256 bytes each; cost +1 drop/byte. RemarkName/RemarkValue are hex (non-hex text is UTF-8 encoded). Powers dynamic NFTs and rich object annotations. Returns unsigned JSON + preflight. Never signs; testnet by default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYes
networkNotestnet
remarksYes
objectIdYes64-hex ledger object ID to annotate (AccountRoot, URIToken, Offer, Escrow, trustline, …)
Behavior5/5

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

With no annotations, the description fully covers behavioral traits: constraints (max 32, unique names, byte limits), cost (+1 drop/byte), encoding (hex vs UTF-8), return value (unsigned JSON + preflight), and side effects (no signing). It also clarifies ownership requirements.

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 concise, with two dense sentences covering the core purpose, constraints, and return. Both sentences earn their place without redundancy. Front-loaded with the main verb and resource.

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

Completeness5/5

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

Given the complexity of building a transaction with nested remarks, the description is complete: it specifies inputs, constraints, output format, and safety note (no signing). No output schema exists, but the description covers return value. No gaps identified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite low schema coverage (25%), the description adds significant meaning: it explains the remarks structure (name required, value omitted for delete, immutable flag), the hex encoding, and the purpose of each parameter (account as owner, objectId as target). This complements the schema well.

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 verb (assemble/build unsigned), the resource (SetRemarks transaction), and the specific actions (attach, update, delete key-value remarks). It distinguishes from sibling build tools by specifying the transaction type and its purpose, such as powering dynamic NFTs.

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 on when to use this tool (for remark management on owned objects or issued tokens) and notes that it never signs and defaults to testnet. However, it does not explicitly list alternatives or state when not to use it, though the sibling tools cover different transaction types.

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/Hugegreencandle/xahau-mcp'

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