Skip to main content
Glama

List subfolders

list_subfolders
Read-onlyIdempotent

Subfolders of a folder with their document counts. Subfolders only group the folder's documents – the folder's settings (protection, links, members) apply to them unchanged.

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": {
      "folder_id": "<folder_id>"
    },
    "name": "list_subfolders"
  }
}

Input Schema

NameRequiredDescriptionDefault
folder_idYesFolder id (from list_folders)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds genuinely useful domain semantics – that subfolders inherit the parent folder's protection, links and members rather than having their own settings – but it does not disclose whether nested subfolders are returned recursively or how document counts are scoped, which matters for interpreting results.

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 compact sentences with no filler; the return content is front-loaded and the inheritance caveat follows. Slightly fragmentary phrasing ('Subfolders of a folder...') rather than a clean verb-first statement keeps it just below a 5.

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?

For a single-parameter, read-only, non-open-world tool with full annotation coverage and full schema coverage, the description supplies what an agent needs to call it and one important interpretation rule. Since there is no output schema, the description could have said more about the returned shape (recursion depth, count semantics, nullability) but the essentials are present.

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 coverage is 100% and the folder_id property already documents itself and points at list_folders. The description adds no format, nesting or scoping detail for the parameter, so the schema does all the work and 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 names the specific resource ('subfolders of a folder') and what comes back with it ('their document counts'), which is enough to distinguish it from generic listers like list_folders or list_documents. There is no explicit verb ('list') and no named sibling for contrast, so it falls short of a 5.

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?

There is no when-to-use guidance, no mention of the obvious alternatives (list_folders, list_documents, create_subfolder), and no stated prerequisites. The only steer is the domain note that subfolders are a grouping layer, which is context rather than routing guidance.

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