Skip to main content
Glama
XCP
by XCP

compose_broadcast

Build a transaction that broadcasts a text message or numeric value to the Counterparty network, publishing data on-chain.

Instructions

Compose a transaction to broadcast a text message or numeric value to the Counterparty network

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesText to broadcast
valueNoNumeric value
addressYesSource Bitcoin address
mime_typeNoMIME type for inscription (e.g. image/png, text/plain)
timestampNoUnix timestamp
inputs_setNoComma-separated UTXOs to use as inputs (txid:vout)
inscriptionNoBase64-encoded inscription data (requires P2TR address)
fee_fractionNoFee fraction for bet matching
sat_per_vbyteNoFee rate in satoshis per virtual byte (e.g. 1, 5.5, 0.15). Check get_fee_estimate for current market rates.
Behavior2/5

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

The annotations already indicate readOnlyHint=false and destructiveHint=false. The description adds no further behavioral details, such as that composing does not broadcast, whether it returns an unsigned transaction, or any prerequisites like UTXO availability or fee estimation.

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?

A single sentence that is front-loaded with the verb and resource. No wasted words.

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

Completeness2/5

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

With 9 parameters, no output schema, and complex sibling context, the description is insufficient. It does not explain the composition workflow, return value, or special cases like inscription support or fee requirements.

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?

The schema descriptions cover 100% of parameters, so the baseline is met. The description's mention of 'text message or numeric value' aligns with the text and value parameters, but adds no extra semantic clarity beyond the schema.

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 specific verb 'Compose' and the resource 'a transaction to broadcast a text message or numeric value to the Counterparty network', which distinguishes it from sibling compose_* tools like compose_send or compose_order.

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?

No explicit when-to-use or alternative guidance is provided. The sibling tool broadcast_transaction implies a two-step process, but the description does not mention it. Usage must be inferred from context.

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/XCP/mcp-server'

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