Skip to main content
Glama
Thunderbird MCP by Commonpost

Thunderbird MCP by Commonpost

Delete Filter

deleteFilter
Destructive

Deletes a Thunderbird mail filter by its listFilters index, shifting later filters up one; refuses or asks before removing non-sending rules under Always block.

Instructions

Delete a mail filter by index (from listFilters); later filters shift up by one. Deleting a rule that sends mail is always allowed; deleting another rule of a list that holds one is refused by default ("Always block"), or asks the user with "Ask me each time".

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>",
      "filterIndex": "<filterIndex>"
    },
    "name": "deleteFilter"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountIdYesAccount ID
filterNameNoIts name (listFilters): refused if it no longer matches
filterIndexYesFilter index to delete (from listFilters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.24.0
    • addedInput schema / properties / filterName
      Added value: +{
      +  "description": "Its name (listFilters): refused if it no longer matches",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, so the safety profile is given; the description adds real value beyond that with the index-shift consequence and the refusal policy for deleting non-send rules when a send rule exists. It stops short of describing what a refusal or confirmation response looks like, which keeps it from a 5.

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 tightly packed sentences with the operation and its side effect front-loaded, followed by the policy caveats. The quoted setting names add necessary precision, though the second sentence is dense enough to require a second read.

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, non-idempotent mutation with no output schema, the definition covers side effects, refusal conditions, and the index source. Remaining gaps (account scoping, error/confirmation response shape) are modest given full schema coverage.

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 the schema already documents all three parameters including filterName's match requirement. The description reinforces what filterIndex means by tying it to listFilters output, but adds no syntax or format detail beyond that, which matches the baseline for fully documented schemas.

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 (delete a mail filter by index), names the sibling that produces the index (listFilters), and discloses the ordering side effect (later filters shift up by one). An agent can distinguish this from updateFilter or reorderFilters without opening a 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?

Implies the required workflow of calling listFilters first to obtain the index, and spells out the policy branching between 'Always block' and 'Ask me each time'. It does not explicitly name updateFilter as the alternative for changing a rule instead of removing it, but the usage context is clear.

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