Skip to main content
Glama

List Folders in Iagon

iagon_list_folders
Read-onlyIdempotent

List folders in Iagon storage, optionally filtered by parent folder ID, to browse root or nested directories. Returns folder metadata in Markdown or JSON for AI agent file organization.

Instructions

List folders in Iagon storage.

Args:

  • parent_id (string, optional): Filter by parent folder ID (omit for root folders)

  • response_format ('markdown' | 'json'): Output format

Returns: List of folders with metadata.

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": "iagon_list_folders"
  }
}

Input Schema

NameRequiredDescriptionDefault
parent_idNoOptional: Filter folders by parent ID
response_formatNoOutput formatmarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

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, openWorld, and non-destructive, so the safety profile is covered. The description adds that results include metadata, but omits key behavior for a listing tool: pagination, result limits, and whether listing is recursive or single-level.

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 structure is clean and front-loaded: one-line purpose followed by Args and Returns blocks. The Args block partly restates the schema, which is mild redundancy, but nothing is verbose or buried.

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 two-parameter read tool with annotations covering safety, this is close to adequate, and the Returns line compensates for the absent output schema. It still leaves an agent unsure about pagination, result size, and nesting depth before calling.

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%, so the baseline is 3. The description does add a small amount of meaning by stating that omitting parent_id yields root folders, which the schema only phrases as an optional filter, but it gives no syntax guidance for the ID or format expectations.

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 folders in Iagon storage." The resource is clearly folders, which naturally contrasts with the sibling iagon_list_files, though the description never names or contrasts with that sibling explicitly.

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 exclusions, and no mention of alternatives such as iagon_list_files or iagon_search_files. The only conditional hint, "omit for root folders," is parameter behavior rather than tool selection guidance.

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