Skip to main content
Glama

Sergio by Serviche

Delete a platform email rule

delete_platform_email_rule
DestructiveIdempotent

Deletes one rule that decides how a platform's notices are read and routed, as the rule editor's Delete does. The rule is not minted back by the registry reconcile (the delete leaves a tombstone). It cannot be undone; add a rule again to replace it. Pass the same idempotency_key when retrying; a repeat after it is gone answers success.

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": {
      "rule_id": "<rule_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "delete_platform_email_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, idempotentHint=true) by explaining the tombstone semantics — the rule is not recreated by registry reconcile — and that the deletion is irreversible. It also spells out retry behavior, including that a repeat call after the rule is gone still answers success, which is exactly the non-obvious behavior an agent needs.

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?

Front-loaded with the action and followed by the two facts that matter most: tombstone persistence and irreversibility. A few phrases are jargon-heavy ('not minted back by the registry reconcile', 'answers success') and cost a little readability without adding precision.

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 two-parameter destructive mutation with no output schema, the description covers irreversibility, persistence semantics, recovery path, and idempotent retry — the essentials. It stops short of mentioning permission requirements or the not-found error case, which would round it out.

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 50%, with idempotency_key fully documented in the schema and rule_id documented only by its uuid format. The description reinforces the idempotency contract ('Pass the same idempotency_key when retrying') and adds the retry-after-deletion nuance, but says nothing extra about what rule_id must reference or how to obtain it.

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?

Specific verb and resource: 'Deletes one rule that decides how a platform's notices are read and routed', which pins down both the action and the object being removed. It distinguishes itself from update/add siblings implicitly by describing removal and noting that a new rule must be added to replace it, but it never names the add/update sibling explicitly.

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 context is implied rather than stated: the agent learns the tool mirrors the rule editor's Delete and that replacement requires adding a rule again. There is no explicit 'use update_platform_email_rule instead if you only want to disable it' guidance, which is the main decision an agent faces with this sibling set.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources