Skip to main content
Glama
knowledge-mcp

knowledge-mcp

by bmdy6

list_documents

Read-onlyIdempotent

List Markdown document paths in a chosen personal or company scope, optionally filtered by prefix or including archived files. Use it to discover vault files before searching or reading.

Instructions

List Markdown paths within an explicitly selected scope.

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": {
      "scope": "<scope>"
    },
    "name": "list_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeYes
prefixNo
include_archiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world behavior, so the bar is lower. The description adds one genuinely useful fact—the result is paths, not document content—but it does not disclose that archived documents are excluded by default, which is a meaningful behavioral default for a listing tool.

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?

A single front-loaded sentence with no filler. It is efficient, though the brevity comes at the cost of the parameter and usage detail noted elsewhere rather than being genuinely tight.

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

Completeness2/5

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

An output schema exists, so return shape needn't be explained, but for a three-parameter listing tool with zero schema coverage the description leaves the filtering semantics of prefix and archive inclusion entirely undocumented. An agent cannot confidently construct a call beyond the bare required scope.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters, so the description must carry the meaning and does not. It touches only 'scope' (and only to say it must be explicit); 'prefix' and 'include_archive' are never explained in either the schema or the description.

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 ('List Markdown paths') plus a scope constraint, which separates it from content-returning siblings like read or search. It does not name any sibling explicitly, so the differentiation is implied rather than stated.

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

Usage Guidelines2/5

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

The only guidance is that scope must be 'explicitly selected,' which hints at the required parameter but says nothing about when to choose this over search or read, or what happens when scope is broad. No when-not-to-use conditions are given.

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