Skip to main content
Glama
korean-docs-mcp

korean-docs-mcp

List indexed documents

list_documents
Read-onlyIdempotent

Lists indexed documents with title, size, chunk count, and modification time, sorted by path, so you can verify folder coverage or choose a document to read; supports paging and folder filters.

Instructions

List the documents in the index, sorted by path, with title, size, chunk count and modification time.

Use this to see what has been indexed (for example to check that index_documents covered a folder, or to pick a document to read with read_document). To find content inside documents, use search instead. Results are paged: total is the number of matching documents, and when more remain, call again with offset=next_offset. Read-only.

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
limitNoMaximum number of documents to return, 1-500.
folderNoOnly documents under this folder (and its subfolders). Omit for every indexed document.
offsetNoNumber of documents to skip, for paging.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • addedInput schema / properties / folder / description
      Added value: +"Only documents under this folder (and its subfolders). Omit for every indexed document."
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 100,
      +  "description": "Maximum number of documents to return, 1-500.",
      +  "maximum": 500,
      +  "minimum": 1,
      +  "title": "Limit",
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Number of documents to skip, for paging.",
      +  "minimum": 0,
      +  "title": "Offset",
      +  "type": "integer"
      +}
  2. First observedv0.1.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds genuinely new behavior: result ordering, the meaning of 'total', and the exact paging loop (call again with offset=next_offset). The trailing 'Read-only.' merely restates the annotation rather than adding to it, which keeps this from a 5.

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 fields, then usage, then the alternative, then paging – a sensible order with no wasted clauses. The standalone 'Read-only.' sentence duplicates the readOnlyHint annotation and is the one phrase that does not earn its place.

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?

With no output schema, the description takes on the job of describing returns and does so: it names the per-document fields, the ordering, and the total/next_offset paging contract. Combined with fully documented parameters, an agent has everything needed to call and page through this tool correctly.

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 schema already documents limit, folder and offset, making 3 the baseline. The description does add real meaning beyond it by explaining that 'total' counts matching documents and that paging continues via offset=next_offset, which clarifies how offset and limit interact in practice.

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?

States a specific verb and resource ('List the documents in the index') plus the ordering ('sorted by path') and the returned fields (title, size, chunk count, modification time). It also implicitly separates itself from 'search' and 'read_document' by pointing to them, so an agent can distinguish siblings on the first line.

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?

Gives concrete when-to-use cases ('check that index_documents covered a folder, or to pick a document to read with read_document') and an explicit when-not with the alternative named ('To find content inside documents, use search instead'). Nothing about routing is left to inference.

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