Skip to main content
Glama

covenant_build

Assemble a covenant spend tx. Each input: {txid, index, entry, compute_budget?, and either sigscript:{source,decl,args,is_leader?} to build a covenant sigscript server-side, or omit sigscript for a P2PK input you sign locally}. Each output: {amount, address|script_public_key_hex, covenant?:{authorizing_input,covenant_id}}. Returns the tx, a broadcast-ready rpc_transaction, fee accounting, and (if fully authorized) a pre-verify. We never sign. Paid (~$0.001).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsYes
networkNomainnet
outputsYes
lock_timeNo
payload_hexNo

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description discloses key behaviors: it never signs, returns broadcast-ready tx, fee accounting, pre-verify if fully authorized, and a cost (~$0.001). Missing details on authentication or state changes, but sufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is detailed yet efficiently structured, using lists for input/output fields. Slightly lengthy but well-organized, with the purpose stated upfront.

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 5 parameters, no output schema, and nested object complexity, the description covers input/output formats, return values (tx, rpc_transaction, fee, pre-verify), and cost. Could detail the return structures more but overall adequate.

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?

Schema coverage is 0% (generic array items), but the description adds detailed semantics for inputs and outputs, including optional fields, signatures, and covenant structure. This fully compensates for the schema gap.

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 it assembles a covenant spend transaction, listing input and output specifications. It distinguishes from sibling tools like covenant_broadcast or covenant_compile by focusing on building the tx.

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?

It specifies when to use (to build a covenant spend tx) and notes it never signs, but does not explicitly state when not to use or provide alternatives. The guidance on input/output structure is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.7/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose, with detailed descriptions that prevent ambiguity. Even within related domains (e.g., covenant operations, proving steps), the functions are well-separated and described.

Naming Consistency4/5

Most tools follow a verb_noun or noun_noun pattern with underscores, but there are some single-verb names like 'catalog' and 'classify'. Within subdomains naming is consistent (e.g., kaspa_*, covenant_*, prove_*). Minor deviations prevent a perfect score.

Tool Count3/5

36 tools is on the high side for a typical MCP server, but the broad scope (blockchain, payments, ZK proving, text processing, search, registry) justifies the count. It borders on being too large for easy navigation but remains reasonable.

Completeness4/5

The server covers a wide range of functionalities with no critical gaps for its stated domain. Minor gaps exist (e.g., no direct Kaspa send transaction tool), but the covenant tools provide a workaround. Overall, the surface is fairly complete.

Resources