Delete rule
delete_ruleDelete an automation rule for one inbox account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| emailAddress | No | ||
| emailAccountId | No |
delete_ruleDelete an automation rule for one inbox account.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| emailAddress | No | ||
| emailAccountId | No |
Changes observed during successful MCP inspections.
Input schema / properties / emailAddress / patternPrevious value: -"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"New value: +"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description adds nothing beyond that — no irreversibility note, no auth/permission requirement, no behavior when the rule or account is unknown.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with no filler. It is efficient, though its brevity comes at the cost of the missing detail noted elsewhere rather than being a model of economical completeness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a destructive, non-read-only tool with 0% parameter documentation and no output schema, the description is too thin. An agent cannot tell which identifier actually selects the rule or whether the account parameters are required to disambiguate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% across three parameters, so the description carries the burden and fails: 'id' is never named or explained, and the presence of two additional account-identifying parameters (emailAddress, emailAccountId) alongside the required id goes unaddressed, leaving their relationship ambiguous.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Delete an automation rule') and adds a scope qualifier ('for one inbox account'). The delete verb distinguishes it from create_rule/get_rule/update_rule on its own, though it never names those siblings explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No statement of when to use this versus update_rule, list_rules, or get_rule, and no prerequisites or warnings. The only guidance is the implicit 'delete means removal'.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.