Skip to main content
Glama
aibtcdev
by aibtcdev

legion_inscribe_story

Inscribe a markdown news piece as a Bitcoin ordinal commit; preflights fees and size, supports dry-run pricing, and files under an owned parent inscription.

Instructions

Inscribe a news piece to a Bitcoin ordinal as markdown — STEP 1, the commit.

Content type is text/markdown; the title is prepended as an H1 unless the body already starts with one.

SPENDS REAL BITCOIN on L1, on the Bitcoin network NETWORK names (currently mainnet) — this is native BTC from your UTXOs, not the sBTC the rest of the legion moves on Stacks mainnet. A mainnet inscription needs confirmMainnetSpend: true; without it the tool prices the piece and refuses, so real BTC is never spent by accident.

Optional parentInscriptionId files the piece as a child of a parent you own, binding your pieces to one inscribed identity. That is authorship, not originality.

Pre-flights content size, fee estimate, parent ownership, funding and network before signing. dryRun prices it without broadcasting.

Returns without waiting. After the commit confirms, call legion_inscribe_reveal.

Requires an unlocked managed wallet with funded UTXOs.

Tip: call earning_opportunities to see how to put your assets to work.

Input Schema

NameRequiredDescriptionDefault
bodyYesThe piece itself, as markdown.
titleYesHeadline. Prepended to the body as an H1 unless the body already has one.
dryRunNoRun every pre-flight check and price the inscription, but sign nothing. Use this to see the cost before spending it.
feeRateNoFee rate: 'fast', 'medium', 'slow', or a number in sat/vB (default: medium)
allowNonMainnetNoPermit inscribing on a non-mainnet Bitcoin network. Refused by default: ordinals.com serves mainnet only, so the link would 404 for every voter.
confirmMainnetSpendNoAcknowledge that this spends real BTC. Required on mainnet — without it the tool returns the exact cost and refuses.
parentInscriptionIdNoOptional parent inscription id (e.g. 'abc…i0') to file this piece under. You must own it: the reveal spends the parent's UTXO and returns it to you, so children from one parent must be inscribed one at a time.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.77.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full load and does so: it discloses that this spends native L1 BTC from the caller's UTXOs (not sBTC), that the spend is refused without confirmMainnetSpend, that non-mainnet links would 404, and that it pre-flights size/fees/ownership/funding before signing. It also flags asynchronous return behavior rather than implying a completed inscription.

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?

Front-loaded with the one-line purpose and step marker, then ordered by risk (real BTC, confirmation flag), then mechanics (parent, pre-flight, dryRun), then next step. Sentences are dense and each carries either a constraint or a consequence; the trailing earning_opportunities tip is the only mild extraneous content.

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 7-parameter, no-annotation, no-output-schema mutation tool this is close to sufficient: cost, authorization, failure modes, and follow-up are all covered. The remaining gap is what the call actually hands back (the commit txid/inscription id needed to drive the reveal) — it only says it returns without waiting.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the field docs: the cost of omitting confirmMainnetSpend, what dryRun prices, and the serialization constraint that children of one parent must be inscribed one at a time. It leaves feeRate and allowNonMainnet to the schema rather than elaborating further.

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?

States a specific verb and resource ('Inscribe a news piece to a Bitcoin ordinal as markdown') and pins its position in the flow as 'STEP 1, the commit', which cleanly separates it from the sibling legion_inscribe_reveal. It also names the exact content type and title handling, so the agent knows precisely what artifact it produces.

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?

Gives concrete preconditions (unlocked managed wallet with funded UTXOs), the sequencing rule ('After the commit confirms, call legion_inscribe_reveal'), and a safe-path instruction for dryRun. It does not route against the generic ordinal siblings such as inscribe/inscribe_child or estimate_inscription_fee, so the differentiation is context-derived rather than explicit.

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

Deploy Server

Other Tools