Skip to main content
Glama

List a folder

list_folder
Read-onlyIdempotent

Folders, then files, inside one folder of a bucket. Encrypted items show no name. Use path "" for the bucket root.

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": {
      "bucketId": "<bucketId>"
    },
    "name": "list_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoFolder path ending in "/", empty for the root
sortNo
limitNoItems per page, 1 to 100 (25 when omitted)
orderNo
cursorNonextCursor of the previous page, to read the next one
bucketIdYesThe bucket id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds one genuinely useful behavioral fact — encrypted items return no name — plus the result ordering (folders before files). It says nothing about pagination/truncation behavior despite a cursor parameter, or how empty folders are represented.

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?

Three short sentences, front-loaded with the core result shape, then the encrypted-name caveat, then the root-path hint. No filler; it is under-specified rather than bloated.

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 6-parameter paginated list tool with no output schema, the definition is only partly adequate: the caller still has to discover paging behavior and sort/order semantics from the schema alone. The encrypted-item note is a good touch that partially compensates.

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?

At 67% schema coverage, the description needs to add meaning, but its only parameter reference ("Use path "" for the bucket root") merely restates the schema's own "empty for the root". The sort and order enums have no description in the schema and no explanation here, and limit/cursor paging semantics are left entirely to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Folders, then files, inside one folder of a bucket" communicates the resource and scope, and even the result ordering, but it is a noun fragment with no verb and makes no attempt to distinguish itself from siblings such as search_files or list_buckets. An agent can infer it enumerates one folder's contents, but the framing is descriptive rather than definitional.

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 "Use path "" for the bucket root," which is a syntax hint rather than a when-to-use rule. Nothing says when to pick this over search_files for locating an item, or that listing is non-recursive (implied only by "one folder").

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