Skip to main content
Glama

library_folders

Read-only

Lists Library folders as paths with descriptions and page counts, helping you select an existing folder for page display or search filtering.

Instructions

List the Library's folders as paths (e.g. "CLIMS/Releases"), depth-first in the user's order, each with its description when set and the number of pages directly inside it. Use before page_show when a new page clearly belongs to an existing folder, then pass that exact path as folder. Also usable as the folder filter for library_search. Never create a new folder unless the user asked for one.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

readOnlyHint=true already covers the safety profile, and the description goes beyond it by disclosing ordering semantics (depth-first, user's order) and the exact contents of each entry (path, description when set, direct page count). It does not discuss permissions or behavior for empty/very large libraries, so it stops short of full disclosure.

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?

Purpose is front-loaded in the first clause with a concrete path example, followed by usage routing and a guardrail. Three dense sentences with little waste, though the run-on enumeration of output fields makes it slightly heavier than necessary.

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?

No parameters and no output schema, so the description carries the return-value burden and does so: it names the ordered path list, per-folder descriptions, and direct page counts. An agent has everything needed to call this and interpret the result without opening other tools.

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?

The tool takes zero parameters, so the baseline is 4. The description still adds useful semantics by explaining that returned paths are exact strings intended to be reused as the folder argument elsewhere, which prevents path-reformatting errors downstream.

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?

States a specific verb and resource ("List the Library's folders as paths") and immediately characterizes the return shape with a concrete example ("CLIMS/Releases"), ordering (depth-first, user's order), and per-folder metadata. It is clearly distinguishable from siblings like library_search and page_show, which it names explicitly.

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?

Gives explicit routing: use before page_show when a new page belongs to an existing folder and pass the exact path as folder; also usable as the folder filter for library_search. Adds a when-not guardrail ("Never create a new folder unless the user asked for one"), which closes the most likely misuse path.

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