Skip to main content
Glama

capital.new mandate draft tools

Verify a mandate draft digest

mandate_draft_verify

Recomputes the SHA-256 digest of a Capital Authority Mandate draft and compares it to the digest embedded in the file — the same replay any counterparty would run. Establishes that the file is internally consistent (unaltered since its own digest was taken), NOT that it was minted, and not that capital.new has ever seen it: both the bytes and the digest come from the file under test. The digest is computed over the mandate_draft object serialized as pretty-printed JSON (2-space indent, key order preserved). Accepts the wrapped {mandate_draft, digest} file or a bare draft.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
draftYesThe mandate draft file: the wrapped {mandate_draft, digest} object, a bare draft object, or either as a JSON string.

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It thoroughly explains the computation method (pretty-printed JSON, 2-space indent, key order preserved), the input variants (wrapped object or bare draft), and the limitations of what the verification proves. However, it does not mention what happens on digest mismatch or whether the tool has side effects, which would make it fully transparent.

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 two sentences and front-loads the primary action in the first sentence. The second sentence is dense but packs essential nuance about the verification scope and serialization format. Every sentence earns its place, though the long second sentence could be slightly restructured for easier scanning.

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?

The description lacks any mention of the tool's output or return value. Since there is no output schema, the description should indicate what the tool returns (e.g., boolean, match/mismatch, or error details). For a verification tool, the result is the core purpose, so omitting it leaves a significant gap. The input handling is well covered, but the output is absent.

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?

The schema already documents the parameter with 100% coverage, but the description adds valuable semantic detail: 'Accepts the wrapped {mandate_draft, digest} file or a bare draft.' This clarifies the accepted shapes beyond the schema's anyOf object/string, making it easier for the agent to construct valid input.

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's function: 'Recomputes the SHA-256 digest... and compares it to the digest embedded in the file.' It goes beyond a simple verb+resource by explaining exactly what the verification establishes and what it does not, effectively distinguishing it from sibling tools related to ceremonies and schema.

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 for when to use the tool by explicitly stating its scope: 'Establishes that the file is internally consistent... NOT that it was minted, and not that capital.new has ever seen it.' This exclusion of provenance claims is a form of when-not-to-use guidance, though it does not name alternative tools directly.

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

A4.3/5.0
Disambiguation5/5

Each tool addresses a distinct aspect: ceremony_info explains the human process, mandate_draft_schema provides the template and rules, and mandate_draft_verify performs cryptographic verification. No functional overlap.

Naming Consistency3/5

Tool names are descriptive but not consistently patterned. ceremony_info and mandate_draft_schema follow a noun_noun structure, while mandate_draft_verify uses a noun_verb structure. The inconsistent placement of the verb makes the set less predictable, though names are still clear and readable.

Tool Count5/5

With 3 tools covering schema, verification, and ceremony guidance, the count is well-scoped for the narrow domain of mandate draft handling. Each tool serves a necessary function without redundancy or bloat.

Completeness4/5

The set covers the agent-side workflow: obtaining the schema, verifying drafts, and understanding the ceremony. A dedicated schema-validation tool is absent, but the schema tool effectively enables agent-side construction and validation, leaving only a minor gap.

Resources