Skip to main content
Glama

OMENZ agent tools

ledger_append

Agent Job Ledger: append one entry (type tool_call|spend|receipt|handoff|failure|output|status|note|decision, any fields, amount_usd optional). Each entry is chained to the previous by sha256; secrets are refused. Header X-Ledger-Key. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/ledger/append, $0.001 via x402.)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ledger_id": "<ledger_id>",
      "entry": "<entry>"
    },
    "name": "ledger_append"
  }
}

Input Schema

NameRequiredDescriptionDefault
entryYes
ledger_idYes
x_ledger_keyNothe key returned by create (sent as a header on HTTP)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses that entries are hash-chained to the previous entry (append-only, tamper-evident), that secrets are refused (validation behavior), that auth uses header X-Ledger-Key, and that production calls cost $0.001 via x402. Missing is any statement of what is returned or what happens on a rejected/duplicate entry.

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 core contract (what to append, chaining, secret refusal, auth header) is front-loaded in three tight clauses. The trailing 'By OMENZ' branding and the free-playzone/production parenthetical are noisier, though the cost and endpoint information does earn some of its space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema and no annotations mean the description must cover everything, and it does cover auth, payload shape, chaining, secret rejection, and cost. It omits the return value (hash, sequence number, or id of the appended entry) and the meaning of ledger_id, which an agent needs in order to confirm the append succeeded.

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 only 33% and 'entry' is an untyped nested object, so the description's explanation of valid entry types, free-form fields, and the optional amount_usd is the main source of payload semantics. The x_ledger_key parameter is also tied to the X-Ledger-Key header, though ledger_id is never explained in 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?

States a specific verb and resource ('append one entry' to an 'Agent Job Ledger') and enumerates the entry types, so the agent knows exactly what is written and in what shape. It does not explicitly differentiate itself from siblings such as ledger_get or ledger_create, but the append action is unambiguous on its own.

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

Usage Guidelines3/5

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

Usage is only implied through the entry-type list (tool_call|spend|receipt|handoff|failure|output|status|note|decision), which hints at when to log each kind of entry. There is no explicit statement of when to choose this over ledger_get or ledger_create, and no prerequisites beyond the header note.

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