Skip to main content
Glama

Agent Job Ledger

ledger_get
Read-onlyIdempotent

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.002 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
idYesid returned by the create/put call
since_seqNosince seq
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 / id / description
      Added value: +"id returned by the create/put call"
    • addedInput schema / properties / since_seq / description
      Added value: +"since seq"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds genuine context beyond that: the response contains entries, totals and a chain_intact integrity proof, plus a required X-Ledger-Key header and a paid production endpoint behind a free playzone. The promotional tail ('By OMENZ', '$0.002 via x402') is noise rather than behavior.

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 operation and return contents in one dense sentence, and the auth requirement follows immediately. The vendor signature, playzone aside and pricing/URL parenthetical dilute an otherwise 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?

With no output schema, the description correctly carries the return-value burden by enumerating entries, totals fields and the chain_intact proof. Auth and the dual-environment endpoint are also covered, leaving only minor gaps such as pagination or entry field detail.

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 100%, so the schema already documents all three parameters, including that x_ledger_key is sent as an HTTP header. The description only adds the incremental-read meaning of since_seq, which is marginal beyond the schema.

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: 'read entries ... and totals ... and chain_intact'. The word 'read' plus the ledger resource distinguishes it clearly from the write-oriented siblings ledger_append and ledger_create, though it never names them.

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?

'since_seq for only new ones' is a real usage hint for incremental polling, and the header note tells the agent what auth to supply. There is no explicit when-not guidance or named alternative, so the routing is implied rather than stated.

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