Skip to main content
Glama
drawcommons-ledger

drawcommons-ledger

ledger_items

Read-onlyIdempotent

List read-only entries from the DrawCommons public audit ledger, filtered by give, receive, or payback and paged with limit/offset, to see what was declared and its hashes.

Instructions

Lists entries in the DrawCommons public audit ledger (read-only). Each entry is a give / receive / payback record carrying prev_hash and hash.

Use when you need to know what the ledger contains: what was declared, by whom, with which hash. Use ledger_export instead when you need the anchor (the sha256 of the whole export), and ledger_verify when you need to know whether the chain is intact.

Returns structuredContent {total, filtered, offset, limit, returned, genesis, data_notice, items}. total is read live from the server on every call and is never hardcoded. data_notice states whether the ledger still holds test data — read it before citing any count or amount.

Read-only and credential-free: one public HTTPS endpoint, nothing written. A filtered or truncated slice is not a contiguous chain segment — prev_hash still points at the previous entry of the full chain — so do not verify the chain from such a slice.

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_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoOptional filter: give, receive or payback. A filtered slice is no longer a contiguous chain segment.
limitNoMax entries returned, 1-200 (default 20). One tool result should not flood the context window.
offsetNoSkip the first N entries (default 0); page with limit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive, yet the description adds material context beyond them: credential-free single public HTTPS endpoint, nothing written, total read live and never hardcoded, data_notice may flag test data, and the warning that a filtered/truncated slice is not a contiguous chain segment because prev_hash still points into the full chain. That last point is exactly the kind of trap an agent would otherwise fall into.

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?

Well front-loaded: scope first, then when-to-use and alternatives, then return shape, then safety caveats. Sized appropriately for the tool, though the 'filtered slice is not a contiguous chain segment' warning appears both in the prose and the schema text, a minor redundancy.

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

Completeness5/5

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

There is no output schema, and the description compensates by enumerating the structuredContent fields (total, filtered, offset, limit, returned, genesis, data_notice, items) and telling the agent to read data_notice before citing counts. For a read-only three-parameter list tool, nothing essential is missing.

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 description coverage is 100%, so the enum values, the 1-200 limit bound and the offset default are already documented. The description adds interpretive meaning (a filtered slice breaks chain contiguity, prev_hash still references the full chain), but it repeats a caveat the schema already carries for 'type' rather than adding new format or paging guidance.

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?

Opens with a specific verb and resource: lists entries in the DrawCommons public audit ledger, and immediately characterizes the entries as give/receive/payback records carrying prev_hash and hash. It also names sibling tools (ledger_export for the anchor, ledger_verify for chain integrity), so an agent can route without opening any schema.

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

Usage Guidelines5/5

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

Explicitly states the use case ('when you need to know what the ledger contains: what was declared, by whom, with which hash') and names the two alternatives with the conditions that select them. There are no exclusions left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools