Skip to main content
Glama
@cmssy/mcp-server

@cmssy/mcp-server

Official

List media folders

list_media_folders
Read-only

List media folders one level at a time to browse or navigate a workspace's folder structure, optionally under a given parent folder id. Returns each folder's id, name, and parentId.

Instructions

List one level of the workspace's media folders: the top-level folders, or the direct children of parentId - walk deeper by passing a returned id as parentId. Read-only, no paging. Returns { count, total, items: [{ id, name, parentId }] }. Use an id as folderId for upload_media or move_media; create a folder with create_media_folder, rename or move one with update_media_folder.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_media_folders"
  }
}

Input Schema

NameRequiredDescriptionDefault
parentIdNoList the folders directly under this parent folder id; omit for the top-level folders

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.148.2
    • changedInput schema / properties / parentId / description
      Previous value: -"Only list folders directly under this parent folder id. Omit for top-level folders."New value: +"List the folders directly under this parent folder id; omit for the top-level folders"
  2. Changed1 schema field changedv0.73.2
    • addedInput schema / additionalProperties
      Added value: +false
  3. First observedv0.73.1

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and destructiveHint=false, so the safety profile is covered; the description still adds genuinely new behavior: results are one level deep, there is no paging, and the call returns a count/total/items envelope. It does not mention permission requirements or ordering, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The scope and traversal rule come first, then the return shape, then the follow-up tools. Every clause carries distinct information (depth, no paging, envelope, id reuse) with no restatement of the title or annotations.

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

Completeness5/5

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

With no output schema present, the description supplies the return envelope inline, and for a one-parameter listing tool it also covers depth semantics, absence of paging, and how the output feeds sibling tools. Nothing an agent needs to invoke it correctly is missing.

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 100% and the single parameter is already documented, so the baseline is 3. The description goes beyond it by explaining the recursive pattern — that a previously returned id is the intended value for parentId — which is semantics the schema does not convey.

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

Purpose5/5

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

The description opens with a specific verb and resource plus an explicit scope: 'List one level of the workspace's media folders: the top-level folders, or the direct children of parentId.' This distinguishes it from a flat listing sibling such as list_media and makes the one-level semantics unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states exactly how to traverse deeper ('walk deeper by passing a returned id as parentId') and routes the agent to the right companions for adjacent tasks: upload_media or move_media consume the returned id as folderId, create_media_folder creates, update_media_folder renames or moves. When-to-use and what-to-use-instead are both covered.

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

Deploy Server

Other Tools