Skip to main content
Glama
XCP
by XCP

compose_issuance

Compose a transaction to issue a new Counterparty asset or update an existing one, specifying source address, asset name, and quantity.

Instructions

Compose a transaction to issue (create) a new Counterparty asset, or update an existing one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lockNoLock the asset (no further issuance)
assetYesAsset name to create (4-12 uppercase chars, cannot start with A; or A + numeric ID for free numeric assets)
resetNoReset the asset
addressYesSource Bitcoin address (will be the issuer)
quantityYesRaw integer amount to issue. For divisible: human amount * 10^8. For indivisible: whole number. Use 0 for metadata-only updates.
divisibleNoWhether the asset is divisible (8 decimal places)
mime_typeNoMIME type for inscription (e.g. image/png, text/plain)
inputs_setNoComma-separated UTXOs to use as inputs (txid:vout)
descriptionNoAsset description (max 52 chars)
inscriptionNoBase64-encoded inscription data (requires P2TR address)
sat_per_vbyteNoFee rate in satoshis per virtual byte (e.g. 1, 5.5, 0.15). Check get_fee_estimate for current market rates.
transfer_destinationNoTransfer asset ownership to this address
Behavior4/5

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

The description explicitly notes that it 'composes a transaction,' signaling this is a transaction-building operation rather than a broadcast, which adds value beyond the annotations (readOnlyHint=false, openWorldHint=true). It does not contradict the annotations and provides useful 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, well-structured sentence that front-loads the essential action and scope. It contains no unnecessary words or repetition.

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?

For a tool with 12 parameters, the description is minimal but sufficient because the schema provides detailed parameter semantics. It clearly states the tool's role (compose issuance) and introduces the create/update distinction, which is essential context. However, it does not mention prerequisites or post-compose steps, but these are not required given the schema richness.

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 has 100% description coverage for all 12 parameters, so the description is not required to explain them. The description adds no additional parameter meaning beyond what the schema already provides, hence the baseline score of 3.

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 tool 'compose a transaction to issue (create) a new Counterparty asset, or update an existing one,' identifying the specific verb (compose), resource (Counterparty asset), and scope (create or update). This differentiates it from sibling compose_* tools, which target different operations like sending or dispensing.

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 gives clear context for when to use the tool (issuing or updating assets) but does not explicitly state exclusions or alternatives. Since the purpose is unambiguous, it earns a 4 rather than 5.

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