Skip to main content
Glama

List documents in a knowledge folder

anam_knowledge_document_list
Read-onlyIdempotent

Lists a knowledge folder’s documents: file name, type, size and status. Only READY documents are searchable; a FAILED one has errorMessage.

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": {
      "id": "<id>"
    },
    "name": "anam_knowledge_document_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesKnowledge folder ID, from anam_knowledge_folder_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 the safety profile is covered. The description adds real behavioral context beyond that: only READY documents are searchable and FAILED ones carry an errorMessage, which tells an agent how to interpret results and why a document may not appear in search.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with what is returned, then the status semantics. No filler, no restatement of the title, and nothing could be removed without losing information.

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?

There is no output schema, and the description compensates by naming the returned fields plus the errorMessage condition, while annotations cover the read-only safety profile. The only minor gap is that it does not say whether results are paginated or truncated for large folders, which for a one-parameter listing tool is a small omission.

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?

With a single parameter at 100% schema description coverage, the schema already documents that 'id' is a knowledge folder ID sourced from anam_knowledge_folder_list. The description adds no further meaning about the identifier, so the baseline of 3 applies.

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?

The description uses a specific verb and resource ('Lists a knowledge folder's documents') and enumerates the returned fields (file name, type, size, status), which makes clear it is a folder-scoped listing rather than a single-document fetch like anam_knowledge_document_get. It stops short of naming any sibling explicitly, so an agent must infer the folder-vs-document split from the wording alone.

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

Usage Guidelines3/5

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

Usage is only implied: the phrase 'a knowledge folder's documents' signals this is the way to enumerate contents of a known folder. There is no explicit when-to-use or when-not-to-use guidance versus anam_knowledge_folder_list or anam_knowledge_document_get, and no stated prerequisite beyond the schema-provided folder ID.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources