Skip to main content
Glama

filesfm_list_folder

Read-only

List visible files and direct child folders in a Files.fm folder, child folders first. sort orders each group: created (default, newest first), modified (last changed first), name, largest; type lists only folders or only files.

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_hash": "<folder_hash>"
    },
    "name": "filesfm_list_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo
typeNo
limitNo
offsetNo
folder_hashYes

Output Schema

NameRequiredDescriptionDefault
itemsYes
limitYes
folderYes
offsetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / sort
      Added value: +{
      +  "enum": [
      +    "created",
      +    "modified",
      +    "name",
      +    "largest"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / type
      Added value: +{
      +  "enum": [
      +    "all",
      +    "folder",
      +    "file"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds genuinely useful behavior context: only visible items are returned, folders precede files, and the default is created/newest-first. It says nothing about pagination, total counts, or what happens when offset exceeds the result set, which matters for a list operation.

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 sentences, front-loaded with the operation, and no filler. The second sentence is dense with semicolon-separated clauses, which is efficient though slightly cramped.

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?

An output schema exists so return values need no explanation, and annotations cover the safety profile. The remaining gap is real: a paginated list tool with a required folder_hash and 200-item cap that neither the schema nor the description explains leaves the agent guessing about paging and identifier sourcing.

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 description coverage is 0%, so the description carries the burden, and it does explain all four sort values plus the default, and the type filter intent. However limit, offset, and the required folder_hash are entirely unaddressed, leaving three of five parameters undocumented anywhere.

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?

States a specific verb and resource ('List visible files and direct child folders in a Files.fm folder') and adds scope qualifiers ('visible', 'direct child', 'child folders first') that separate it from siblings like filesfm_get_folder_info or filesfm_get_root_folder. It does not name a sibling explicitly, so this is clear-but-undifferentiated rather than fully distinctive.

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

Usage Guidelines3/5

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

Usage is implied by the scoping language (listing direct children of a known folder), but the description never says when to pick this over filesfm_get_folder_info or filesfm_get_root_folder, nor any prerequisite for obtaining a folder_hash. The sort/type explanation is parameter semantics 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