Skip to main content
Glama
Case Chronology MCP Server

Case Chronology MCP Server

by tolafad

list_documents

List case folder documents with title, type, header date, and page count; filter by document type to get valid doc_ids for reading or searching case files.

Instructions

List the documents in the case folder with title, type, header date and page count.

Use this first to see what exists and to get valid doc_ids for the other tools. Pass
doc_type to filter. Returns {"documents": [...]}; a doc_date of null means the document has
no date header (it has not been guessed).

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": "list_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
doc_typeNoOptional filter: email, witness_statement, minutes, bank_note, registry_note, memo or document.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are supplied, so the description must carry the behavioral load, and it does: it declares the return envelope shape, the filtering behavior of doc_type, and a non-obvious semantic that a null doc_date means no date header exists rather than a guessed value. It leaves out ordering, pagination, and why the case is implicit, so it stops short of full disclosure.

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, then usage, then parameter note, then return semantics — a sensible progression with no filler sentences. The 'Returns {"documents": [...]}' line partially duplicates the existing output schema, which is the only wasted ink.

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 single-optional-parameter list tool with an output schema, the description covers what an agent needs: what it returns, how to filter, and how to interpret null dates. It omits ordering/pagination behavior and does not explain how the case folder is determined, which leaves a minor gap.

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% and the single doc_type parameter already lists its allowed values in the schema, so the description's 'Pass doc_type to filter' adds only the confirmation that it is a filter. Baseline 3 is correct when the schema does the heavy lifting.

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?

Uses a specific verb (List) on a specific resource (documents in the case folder) and enumerates exactly what comes back: title, type, header date, page count. The clause 'use this first to see what exists' distinguishes it from the sibling search_documents/read_document without needing those schemas opened.

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

Usage Guidelines4/5

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

Gives explicit ordering guidance ('Use this first...') and a concrete downstream reason (to get valid doc_ids for the other tools), which tells the agent when to prefer this over a search. It does not state when NOT to use it or name the search alternative, keeping it short of a 5.

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