Skip to main content
Glama
Thunderbird MCP by Commonpost

Thunderbird MCP by Commonpost

Reorder Filters

reorderFilters
Destructive

Move a filter to a different position in its account's execution order, with index 0 as highest priority. Use it to change which rules run first without editing the rule itself.

Instructions

Move a filter to another position in the order its account runs them, top first; to change what a rule does, use updateFilter. In a list that holds a rule sending mail this is refused by default ("Always block"); with "Ask me each time" it returns status pending_user_confirmation and asks the user.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "accountId": "<accountId>",
      "fromIndex": "<fromIndex>",
      "toIndex": "<toIndex>"
    },
    "name": "reorderFilters"
  }
}

Input Schema

NameRequiredDescriptionDefault
toIndexYesTarget index (0 = highest priority)
accountIdYesAccount ID
fromIndexYesCurrent filter index

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the destructiveHint=true and idempotentHint=false annotations, the description discloses a non-obvious safety gate: in a list containing a mail-sending rule the call is refused by default under "Always block", and with "Ask me each time" it returns pending_user_confirmation and prompts the user. That is real behavioral context. It still omits reversibility (whether a reorder can be undone) and what indices shift after the move.

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?

Two tight sentences with the action and ordering semantics front-loaded, followed by the alternative and the confirmation caveat. Nothing is redundant, though the second sentence is dense enough that the confirmation outcome arrives abruptly.

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?

For a destructive three-parameter mutation with no output schema, the definition covers purpose, alternative routing, and the confirmation/blocking outcome. It could say more about failure modes and the effect on the resulting ordering, but an agent has enough to invoke it safely.

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%, so fromIndex, toIndex, and accountId are already documented in the schema (including "0 = highest priority"). The description's "position in the order its account runs them, top first" adds only a light framing of index ordering, so the baseline of 3 applies.

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 states a specific verb and resource ("Move a filter to another position in the order its account runs them, top first") and explicitly names the sibling it is not (updateFilter) for a different job. An agent can distinguish reordering from editing without opening either schema.

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 an explicit when-not: "to change what a rule does, use updateFilter". It also explains the guard-rail path (default block vs. "Ask me each time"). It does not mention listFilters for discovering current indices, which would help an agent pick this tool correctly.

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