Skip to main content
Glama
Protonmail MCP Server

Protonmail MCP Server

by jagjourney

delete_rule

Deletes an auto-categorization rule by its ID, enabling you to remove outdated or unwanted inbox sorting rules.

Instructions

Delete an auto-categorization rule by ID

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": {
      "id": "<id>"
    },
    "name": "delete_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe rule ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.3

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure, and it says nothing about whether deletion is irreversible, whether the rule can be recovered, or what permissions are required. For a destructive operation this is a significant gap, and the tool's users could confuse it with reversible trash-style deletions like delete_folder or move_to_trash.

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 short sentence with no filler, and the resource is front-loaded before the identifier. It is efficient, though the terseness comes partly at the cost of the missing behavioral detail.

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?

With no annotations, no output schema, and a destructive action, an agent cannot tell from the definition whether the delete is permanent, what happens on an invalid ID, or what success looks like. The description supplies only the bare minimum needed to identify the operation.

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?

There is one parameter, and the schema documents it fully with the description 'The rule ID to delete' at 100% coverage. The tool description's 'by ID' adds nothing beyond that, so the baseline of 3 for high-coverage schemas applies.

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 states a specific verb and resource: deleting an auto-categorization rule, keyed by ID. This is clear and unambiguous, but it never distinguishes the tool from related siblings such as create_rule, list_rules, or permanently_delete, so sibling differentiation is left to the name alone.

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

Usage Guidelines3/5

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

The phrase 'by ID' implies the caller must already know the rule identifier, but the description gives no explicit guidance on obtaining that ID (for example via list_rules) or on when deletion is appropriate rather than disabling or editing. Usage is only implied.

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