Skip to main content
Glama

unfour.api.list_folders

unfour.api.list_folders
Read-onlyIdempotent

List API folder metadata and parent IDs in a workspace; restrict results to a specific collection to navigate saved API structure.

Instructions

Lists API folder metadata and parent IDs in the selected workspace, optionally restricted to a collection.

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": "unfour.api.list_folders"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceIdNo
collectionIdNo

Output Schema

NameRequiredDescriptionDefault
foldersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds only that results include metadata and parent IDs and that scoping to a collection is optional; it says nothing about ordering, pagination, or behavior when workspaceId is omitted.

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?

A single well-packed sentence with the core action and scope front-loaded and no filler. Minor ambiguity in 'parent IDs' keeps it from being flawless, but there is nothing redundant.

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

Completeness4/5

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

An output schema exists and annotations are rich, so the description need not explain return shapes or safety. For a two-parameter list operation it is largely sufficient, with the main residual gap being default behavior when no workspace is supplied.

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 must carry the burden. It does map both parameters at a high level ('selected workspace' for workspaceId, 'optionally restricted to a collection' for collectionId, including the optionality), but leaves unclear what happens when workspaceId is omitted even though the schema marks neither parameter required.

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 (Lists) and resource (API folder metadata and parent IDs), plus the scoping context (selected workspace). It is distinguishable from siblings such as list_collections or list_requests, though it never explicitly contrasts with them.

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?

The phrase 'optionally restricted to a collection' implies when to pass collectionId, but there is no explicit when-to-use or when-not-to-use guidance and no mention of alternatives like create_folder or reorder_folders.

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