Skip to main content
Glama
Thunderbird MCP by Commonpost

Thunderbird MCP by Commonpost

List Filters

listFilters
Read-onlyIdempotent

List the mail filters (rules) of one account or all: per account { accountId, accountName, filterCount, filters }, each with index (the filterIndex of other tools), name, enabled, typeNames (when it runs), terms and actions.

Instructions

List the mail filters (rules) of one account or all: per account { accountId, accountName, filterCount, filters }, each with index (the filterIndex of other tools), name, enabled, typeNames (when it runs), terms and actions. To change them: createFilter, updateFilter, deleteFilter; to run them: applyFilters. confirmation: true instead reads, changing nothing, filter changes awaiting or settled by the user's confirmation in Thunderbird: pending, accepted (written), refused, expired (10 min) or failed (nothing written); the pending request, recent ones and limits (one pending, five dialogs per hour), or one with confirmationId. MCP clients cannot answer them.

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

Input Schema

NameRequiredDescriptionDefault
formatNo'table': one row per filter, conditions counted, not listed
accountIdNoAccount ID from listAccounts (omit for all accounts); ignored with confirmation
confirmationNoWhen true, return the state of the pending and recent filter confirmations instead of the filters (optional, default false)
confirmationIdNoWith confirmation: true, a confirmationId (from a pending_user_confirmation result) to read that one request

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.24.0
    • addedInput schema / properties / format
      Added value: +{
      +  "description": "'table': one row per filter, conditions counted, not listed",
      +  "enum": [
      +    "objects",
      +    "table"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changedv0.19.2
    • changedInput schema / properties / accountId / description
      Previous value: -"Account ID from listAccounts (omit for all accounts). Ignored when confirmation is true."New value: +"Account ID from listAccounts (omit for all accounts); ignored with confirmation"
    • changedInput schema / properties / confirmationId / description
      Previous value: -"With confirmation: true, the confirmationId returned with status pending_user_confirmation, to read that one request (optional; ignored unless confirmation is true)"New value: +"With confirmation: true, a confirmationId (from a pending_user_confirmation result) to read that one request"
  3. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Well beyond the readOnlyHint/idempotentHint annotations, it discloses that the confirmation mode 'reads, changing nothing', enumerates the possible confirmation states with meaning (accepted = written, failed = nothing written, expired = 10 min), and states limits (one pending, five dialogs per hour). It also flags an operational constraint no schema could convey: 'MCP clients cannot answer them.' This is exactly the kind of context that prevents misuse of a confirmation parameter on a read-only tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is dense but efficiently front-loaded. The second paragraph is a run-on that breaks down mid-clause ('confirmation: true instead reads, changing nothing, filter changes awaiting or settled by the user's confirmation...'), forcing the reader to reconstruct the grammar to learn that it lists pending and recent confirmations or one by confirmationId.

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?

There is no output schema, and the description compensates by describing the per-account result shape and the confirmation-state result shape. Combined with the state list, timeout and rate limits, an agent has enough to call this correctly and interpret output. The only shortfall is that the dual-mode explanation is expressed ambiguously rather than missing content.

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?

Schema coverage is 100%, so the baseline is 3, but the description earns more by clarifying that the returned 'index' is the filterIndex used by other tools and that typeNames indicates 'when it runs'. It also reinforces the accountId-ignored-with-confirmation interaction. The confirmationId behavior is restated rather than deepened, but overall it adds meaning over the schema.

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 first sentence states a specific verb and resource with scope: 'List the mail filters (rules) of one account or all', and even names the shape of each item (index, name, enabled, typeNames, terms, actions). It distinguishes itself from siblings by pointing to createFilter/updateFilter/deleteFilter/applyFilters. The 'confirmation: true' mode is woven in as a second, quite different purpose, which slightly muddies a single clear identity.

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?

Explicit routing is given for the alternatives: 'To change them: createFilter, updateFilter, deleteFilter; to run them: applyFilters.' That resolves the main confusion an agent would have about filter-related tools. It also tells the agent that confirmation:true switches to reading confirmation state rather than filters, though the phrasing makes that switch hard to parse on first read.

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