Skip to main content
Glama

get_folders

List all folders in a specified space by providing its space ID, enabling you to inspect and navigate the workspace structure.

Instructions

List all folders in a space.

Args: space_id: The space ID.

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": {
      "space_id": "<space_id>"
    },
    "name": "get_folders"
  }
}

Input Schema

NameRequiredDescriptionDefault
space_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about read-only nature, permission requirements, pagination, or ordering. "List all" weakly implies a non-mutating full enumeration, but that is inference rather than disclosure; the presence of an output schema relieves it of explaining return values but not of behavior.

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?

The core sentence is front-loaded, single-purpose, and free of filler. The trailing Args block duplicates schema information and is close to waste, but it is short enough not to bloat the definition.

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 simple single-parameter read tool with an output schema, the definition is minimally viable: the purpose and scope are clear. It remains thin on behavior and parameter meaning, which matters more here because there are no annotations to fill those gaps.

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?

Schema description coverage is 0%, so the description must compensate, but the only parameter note is "space_id: The space ID," which merely restates the field name. It adds no format, sourcing hint (e.g., from get_spaces), or validity constraint beyond what the schema's type already conveys.

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+resource ("List all folders") and constrains scope to a space, so an agent knows exactly what is returned. It stops short of distinguishing itself from related siblings such as get_folderless_lists or create_folder, leaving the agent to infer that this only covers folders inside a space.

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 prerequisites, and no mention of alternatives like get_folderless_lists for folders outside a space. The only contextual hint is the phrase "in a space", which implies but does not state that a space_id is mandatory for retrieval.

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