Skip to main content
Glama

List documents

list
Read-only

Retrieve a filtered list of documents by type, showing id, name, folder path, and summary. Narrow results by name, folder, or folder type to find the exact records you need.

Instructions

Lists documents of one type with id, name, folder path and a short summary. For type Folder, folderType picks Actor/Scene/... folders.

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": {
      "type": "<type>"
    },
    "name": "list"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoCase-insensitive name substring
typeYesDocument type: Actor, Item, Scene, JournalEntry, Macro, RollTable, Playlist, Cards, Folder, ChatMessage, Combat, User
limitNo
folderNoOnly documents in this folder path ("" for no folder)
recursiveNoInclude subfolders of folder
folderTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds the useful disclosure of which fields are returned (id, name, folder path, short summary), but it omits significant behavior: the limit default of 200 silently truncates results, and the interaction of folder/recursive is not described.

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?

Two short sentences, front-loaded with purpose and return fields, with zero filler. The folderType sentence is terse to the point of being slightly cryptic, but nothing is wasted.

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

Completeness3/5

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

For a six-parameter query tool with no output schema, the definition covers purpose and output shape but leaves out default/truncation behavior (limit=200) and the folder/recursive relationship, which materially affect correct invocation. Adequate but with clear gaps.

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

Parameters4/5

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

Schema coverage is 67%, and the description compensates for the biggest gap: folderType has no schema description, and the text explains it applies when type is Folder and selects Actor/Scene/... folders. It also clarifies that only one type is queried, which shapes how the required type parameter is used, though name/folder/recursive semantics are left to the schema.

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 names a specific verb and resource ('Lists documents of one type') and even enumerates the returned fields (id, name, folder path, short summary). It doesn't explicitly distinguish itself from siblings like get or browse_files, but the generic name 'list' is rescued by a clear purpose statement.

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?

Usage is only implied: you use it to enumerate documents of one type. There is no statement about when to prefer it over get, browse_files, or compendium_search, and no preconditions or exclusions are given.

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