Skip to main content
Glama

Ordner anzeigen

list_folders
Read-only

Ordner eines Postfachs mit Rolle (inbox/sent/drafts/trash/junk/archive) und optional Anzahl/ungelesen.

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
accountNo
with_countsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds useful behavioral context that folders carry roles and that counts/unread info is produced, but says nothing about ordering, pagination, or what happens when a mailbox has no folders. With annotations carrying the safety burden, this is a modest but real contribution.

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 compact sentence with the resource and the role vocabulary front-loaded and no padding. It is efficient, though the dense parenthetical makes the role list and the counts clause run together.

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

Completeness2/5

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

For a two-parameter tool with no output schema and no parameter descriptions, the definition should explain what a returned folder looks like (name, role, counts when requested) and how 'account' selects the mailbox. Those gaps leave the agent guessing about the shape of the response and default account behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 parameter meaning. It only obliquely covers with_counts via 'optional Anzahl/ungelesen' and never explains the 'account' parameter at all, leaving the default-null account selection ambiguous.

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?

The description names a specific verb+resource (list folders) and scopes it to a mailbox, with the role vocabularies (inbox/sent/drafts/trash/junk/archive) clarifying what kind of folders are returned. It is clearly distinct from siblings like create_folder or add_mailbox, though the differentiation is implied by the verb rather than stated.

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 explicit statement of when to use this versus list_accounts, list_emails, or search_emails, and no prerequisites or exclusions. An agent can infer it is a discovery/listing tool, but nothing routes it against alternatives.

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