Skip to main content
Glama

Delimit Ledger

delimit_ledger
Read-onlyIdempotent

Query and audit the hash-chained contract ledger of signed governance events. Verify chain integrity to confirm records remain tamper-evident.

Instructions

Query the append-only contract ledger (hash-chained JSONL).

When to use: to read or audit the cryptographically-chained contract ledger that records signed governance events. When NOT to use: for the project work ledger (use delimit_ledger_list / delimit_ledger_query) — the contract ledger is a different, hash-chained store.

Sibling contrast: delimit_ledger_list reads work items; delimit_audit reads audit logs; this reads the hash-chained contract ledger and can verify integrity.

Side effects: read-only. Calls backends.gateway_core.query_ledger.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_nameNoOptional filter by API name.
repositoryNoOptional filter by repository.
ledger_pathYesPath to the ledger JSONL file (e.g. .delimit/ledger/operations.jsonl). Required.
validate_chainNoIf True, verify the hash chain integrity in addition to filtering. Default False.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed4 schema fields changedv4.7.9
    • changedInput schema / properties / api_name / description
      Previous value: -"Filter events by API name."New value: +"Optional filter by API name."
    • changedInput schema / properties / ledger_path / description
      Previous value: -"Path to the ledger JSONL file (e.g. .delimit/ledger/operations.jsonl)."New value: +"Path to the ledger JSONL file (e.g. .delimit/ledger/operations.jsonl). Required."
    • changedInput schema / properties / repository / description
      Previous value: -"Filter events by repository."New value: +"Optional filter by repository."
    • changedInput schema / properties / validate_chain / description
      Previous value: -"Validate hash chain integrity."New value: +"If True, verify the hash chain integrity in addition to filtering. Default False."
  2. Changed4 schema fields changedv4.5.5
    • addedInput schema / properties / api_name / description
      Added value: +"Filter events by API name."
    • addedInput schema / properties / ledger_path / description
      Added value: +"Path to the ledger JSONL file (e.g. .delimit/ledger/operations.jsonl)."
    • addedInput schema / properties / repository / description
      Added value: +"Filter events by repository."
    • addedInput schema / properties / validate_chain / description
      Added value: +"Validate hash chain integrity."
  3. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already carry readOnlyHint, idempotentHint, and destructiveHint, but the description adds substantial behavioral context: the ledger is append-only, hash-chained, stores signed governance events, and can verify integrity. It also discloses that it calls backends.gateway_core.query_ledger, which is useful and consistent with the annotations.

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 description is well-structured with front-loaded key information and labeled sections. A minor redundancy exists: the hash-chained contract ledger is described more than once, and the 'Side effects: read-only' line partly repeats the annotations, but the overall length is still appropriate and scannable.

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?

Given the output schema exists, the annotations cover safety, and the input schema covers parameters at 100%, the description is complete for selection and invocation. It explains the data store, integrity verification capability, and sibling distinctions without needing to explain return values.

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 baseline is 3. The description does not repeat parameter-level details, which is appropriate, but it only lightly contextualizes validate_chain via the 'audit' and 'verify integrity' language. The schema already explains each parameter adequately.

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?

The description opens with a specific verb and resource: 'Query the append-only contract ledger (hash-chained JSONL).' It clearly distinguishes this tool from delimit_ledger_list and delimit_audit by naming what each sibling reads, so an agent can tell them apart without opening schemas.

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?

It provides an explicit 'When to use' section and an explicit 'When NOT to use' section that names the alternatives (delimit_ledger_list / delimit_ledger_query). The sibling contrast further clarifies routing to delimit_audit vs. this tool, leaving little to inference.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/delimit-ai/delimit-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server