Skip to main content
Glama

delete_mail_rule

DestructiveIdempotent

Delete a Paperless mail rule to change future mail ingestion behavior without removing documents.

Instructions

Delete one Paperless mail rule. This changes future mail ingestion behavior but does not delete documents.

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>",
      "confirm": "<confirm>"
    },
    "name": "delete_mail_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
confirmYesMust be true to confirm deleting the rule

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds genuinely useful blast-radius context the annotations cannot convey: it affects future mail ingestion and explicitly does NOT delete documents, which is the key reassurance for a destructive operation.

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

Conciseness5/5

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

Two short sentences with zero filler; the action is front-loaded and the scope caveat follows immediately. Every sentence earns its place.

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 simple two-parameter destructive tool with no output schema and rich annotations, the description covers the essential behavioral question (what is and isn't affected). It is only slightly short of complete because it omits any pointer to where the rule id comes from.

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 coverage is only 50%: the `confirm` parameter is documented in the schema, but `id` has no description anywhere. The description does not compensate by explaining what `id` identifies (a rule id from list_mail_rules) or that `confirm` must be true, leaving the required gating parameter unmentioned in prose.

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?

States a specific verb and resource ("Delete one Paperless mail rule") with an explicit cardinality of one. It is clearly distinguishable from create/get/update_mail_rule and from the delete_* tools for other resources, though it does not name a sibling to contrast with.

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?

Usage is only implied: saying it "changes future mail ingestion behavior" hints at when the tool matters, but there is no explicit guidance on when to delete versus disabling via update_mail_rule, and no stated preconditions such as needing the rule to exist.

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