Skip to main content
Glama

Agent Job Ledger

ledger_create

Agent Job Ledger: open an append-only, hash-chained record for one job (tool calls, spend, receipts, handoffs, failures, outputs, status). Returns ledger_id + ledger_key (shown once). Kept 90 days. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/ledger/create, $0.002 via x402.)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ledger_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idNojob id
objectiveNoobjective
x_ledger_keyNothe key returned by create (sent as a header on HTTP)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / job_id / description
      Added value: +"job id"
    • addedInput schema / properties / objective / description
      Added value: +"objective"
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say it is a non-idempotent, non-destructive write in an open world. The description goes well beyond that: append-only and hash-chained semantics, the one-time disclosure of ledger_key ('shown once'), a 90-day retention window, and the cost/endpoint for production use. Those are exactly the operational facts an agent cannot get from structured fields.

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?

Front-loaded with the core purpose and return values, then retention, then environment/pricing. Mostly dense and useful, though the 'By OMENZ' attribution and parenthetical playzone/pricing note add some promotional noise to what is otherwise a tight definition.

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?

No output schema exists, and the description compensates by naming the returned fields and the one-time key disclosure. It also covers retention and cost. The main gap is that all three parameters are optional, yet the description never says whether job_id or objective are effectively required to open a meaningful ledger.

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 baseline is 3, but the description adds real meaning: it explains that ledger_id and ledger_key are returned, and that the key is shown only once, which is precisely the semantics of the x_ledger_key parameter. It does not clarify why job_id and objective are both optional.

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 ('open') and resource ('append-only, hash-chained record for one job'), then enumerates exactly what the ledger records (tool calls, spend, receipts, handoffs, failures, outputs, status). This makes it distinguishable from siblings ledger_append and ledger_get without opening their schemas.

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: 'open ... for one job' signals this is the first step before appending, but the description never says when to create a ledger versus not, nor names ledger_append/ledger_get as the follow-on alternatives. An agent can infer the sequencing but must do the work itself.

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