Skip to main content
Glama

OMENZ agent tools

ledger_get

Agent Job Ledger: read entries (since_seq for only new ones), totals (spent, counts by type, last status) and chain_intact: proof nothing was edited or removed. Header X-Ledger-Key. By OMENZ. (MCP calls run in AYNE, the free playzone; production: GET https://www.omenz.org/api/tollbooth/v1/ledger/get, $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": {
      "id": "<id>"
    },
    "name": "ledger_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
since_seqNo
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.5/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 does disclose useful behavior: the X-Ledger-Key header requirement, tamper-evidence via chain_intact, and the free AYNE playzone versus a paid production endpoint ($0.001 via x402). It omits what happens on a wrong key or unknown id, and whether results paginate.

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 definition is front-loaded with the resource and return payload, then the auth header, then environment/pricing notes. Nearly every clause carries information, though the 'By OMENZ' attribution adds nothing for an agent deciding how to call the tool.

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?

For a three-parameter read tool with no output schema, the description is reasonably complete: it describes the returned payload shape (entries, totals, chain_intact), the auth header, and the deployment/pricing environment. Only the semantics of the required id and error behavior remain thin.

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

Parameters3/5

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

Schema coverage is only 33%, and the description compensates partially: since_seq is explained as 'only new ones' and the header requirement clarifies x_ledger_key. The required id parameter, however, is never explained - it is unclear whether it is a ledger id or a job id, which is a meaningful gap at this coverage level.

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 names a specific verb ('read') and resource (Agent Job Ledger entries) and enumerates what comes back: entries, totals with spent/counts/last status, and chain_intact. The read-only scope separates it in spirit from ledger_append and ledger_create, though it never names them explicitly.

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?

It gives one concrete usage cue - pass since_seq to retrieve only new entries, which implies incremental polling - but offers no guidance on when to prefer this over a sibling, no prerequisites for obtaining a ledger key, and no error conditions.

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