Skip to main content
Glama

Principal-drift ledger for standing instructions

ledger_execute

Execute an order: the server independently re-diffs (409 semantics as an error result on contradiction) and returns an attestation naming the ledger version in force.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderYes
ledger_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose non-obvious behavior: the server independently re-diffs, a contradiction surfaces as a 409 error result, and an attestation naming the in-force ledger version is returned. However, it says nothing about permissions, idempotency, or what state the order mutates, leaving material gaps for a write operation.

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?

A single front-loaded sentence with the action first and the concurrency/return semantics trailing. Nothing is wasted, though the parenthetical is slightly dense.

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?

For a mutation tool with a nested payload object, no annotations, and no output schema, the description leaves too much unstated: the shape of 'order', the side effects of execution, and prerequisite state. The return behavior is covered, but the input and mutation semantics are not.

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

Parameters2/5

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

Schema description coverage is 0% and the description explains neither 'ledger_id' nor the nested 'order' object. The opaque nested object is the core payload of the call, and its structure is left entirely undocumented in both the schema and the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Execute an order') and adds meaningful scope detail (server re-diffs, returns an attestation). It does not explicitly distinguish itself from siblings like ledger_diff or ledger_verify, but the purpose is clear enough to identify without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance and no mention of alternatives among the five sibling tools. The reader must infer that this is the commit/mutation step, but nothing states when to prefer it over ledger_verify or ledger_diff.

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.

Resources