Update rule
update_ruleReplace an automation rule for one inbox account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| rule | Yes | ||
| emailAddress | No | ||
| emailAccountId | No |
update_ruleReplace an automation rule for one inbox account.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| rule | 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,}$"Input schema / properties / rule / properties / actions / items / properties / fields / anyOfPrevious value: -[
- {
- "properties": {
- "bcc": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "cc": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "content": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "folderName": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "label": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "subject": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "to": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "webhookUrl": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "properties": {
+ "bcc": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "cc": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "content": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "folderName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "label": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "subject": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "to": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "webhookUrl": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]Input schema / properties / rule / properties / actions / items / properties / messagingChannelId / anyOfPrevious value: -[
- {
- "format": "cuid",
- "pattern": "^[cC][^\\s-]{8,}$",
- "type": "string"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "format": "cuid",
+ "pattern": "^[cC][0-9a-z]{6,}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+]Input schema / properties / rule / properties / condition / properties / aiInstructions / anyOfRemoved value: -[
- {
- "type": "string"
- },
- {
- "type": "null"
- }
-]Input schema / properties / rule / properties / condition / properties / aiInstructions / typeAdded value: +[
+ "string",
+ "null"
+]Input schema / properties / rule / properties / condition / properties / static / anyOfPrevious value: -[
- {
- "properties": {
- "from": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "subject": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "to": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "properties": {
+ "from": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "subject": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "to": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the safety profile is covered. The description adds one genuine behavioral fact — 'Replace' implies full overwrite of the rule object rather than a merge — but says nothing about permissions, side effects of the replace, or what happens to omitted fields.
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 or redundancy. It is efficient, though its brevity is a consequence of under-specification rather than disciplined editing.
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 mutation with a large nested payload, no output schema, and zero schema description coverage, one sentence is far too thin. An agent gets no help on required field semantics, replacement behavior, or error conditions.
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 four parameters, including a deeply nested 'rule' object with 16 action enum values. The phrase 'one inbox account' faintly gestures at emailAccountId/emailAddress but provides no clarifying meaning for id or the rule structure.
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?
The description gives a specific verb ('Replace') and resource ('automation rule') scoped to 'one inbox account'. The word 'Replace' usefully signals full-overwrite semantics rather than a partial patch, but no sibling (create_rule, delete_rule, get_rule) is named to disambiguate.
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 when-to-use guidance and no alternatives are offered, despite four closely related siblings (create_rule, delete_rule, get_rule, list_rules). The only inference available is that an existing rule must exist to be replaced.
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.