Skip to main content
Glama

List folders

list_folders
Read-only

List the user's folders (decks): id, name, emoji, language (lang), the language of the translations (native_lang), card count, and which one is the default for new words. Its ids are the folder_id values the folder tools, move_card and capture_word take. Pass lang to see only folders of one learning language. Folders the user hid from Claude are not listed.

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_folders"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoOptional ISO code: only folders for this learning language.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and destructiveHint=false, and the description adds genuinely new behavior: the exact field set returned and the fact that folders the user hid from Claude are excluded from results. It stops short of stating ordering or pagination, which is the only remaining gap.

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?

Four compact sentences, front-loaded with the resource and field list, then the id-consumption relationship, then the filter, then the hidden-folder caveat. No filler or redundant restatement of the title.

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?

There is no output schema, and the description compensates by enumerating the returned fields including the `lang`/`native_lang` distinction. With annotations covering safety and the sole parameter covered by the schema, nothing material is missing for correct invocation.

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% and the single `lang` parameter is fully documented in the schema as an optional ISO code restricting to one learning language. The description restates that filtering intent without adding format or edge-case detail, so the schema is doing the heavy lifting.

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 ('List the user's folders (decks)') and immediately enumerates the returned fields, so the agent knows exactly what this tool produces. It also positions the tool as the source of `folder_id` values consumed by the folder tools, move_card and capture_word, which separates it from the mutation siblings.

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

Usage Guidelines4/5

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

It gives a clear use context: call this to obtain the `folder_id` values that other tools require, and pass `lang` to narrow to one learning language. There is no explicit when-not guidance or named alternative for listing, but for a read-only discovery tool the usage path is unambiguous.

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.