List document collections
list_doc_collectionsReturn the folders documents can be filed under, with how many documents each holds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
list_doc_collectionsReturn the folders documents can be filed under, with how many documents each holds.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already provide readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds the behavior that it returns folders with counts, but does not disclose other behavioral traits such as sorting, pagination, or whether empty collections are included.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence with no filler. It states the core purpose first and the count detail second, making it optimally concise for the tool's simplicity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter, read-only list tool with no output schema, the description adequately conveys the return value (folders and their counts). Minor ambiguity remains about whether archived/empty collections are included and the exact result structure, but these are not critical for a correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, and the schema confirms this with no properties. With no parameters to explain, the description carries no parameter burden, and the baseline for 0 params is 4.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Return') and resource ('folders documents can be filed under') plus the count detail, making its purpose unambiguous. It is clearly distinct from sibling list_docs (which lists documents) and the doc_collection mutation tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied: an agent would call this when needing the list of document collections and their document counts. However, the description provides no explicit when-to-use/when-not-to-use guidance or alternatives, though the zero-parameter design makes selection straightforward.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.