Skip to main content
Glama

Delete a comment-to-DM automation

delete_dm_automation
Destructive

Use this when the owner wants one of their comment-to-DM automations deleted for good. Permanently delete a comment-to-DM rule and its message copy. Prefer set_dm_automation_active with active=false if you might want it back — that is reversible, this is not.

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": {
      "automation_id": "<automation_id>",
      "confirm": "<confirm>"
    },
    "name": "delete_dm_automation"
  }
}

Input Schema

NameRequiredDescriptionDefault
clientNoClient website slug (or id). Required for platform-scoped keys.
confirmYesMust be true. Deliberate friction on an irreversible action.
automation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, so the safety profile is known; the description still earns credit for disclosing the cascade ("and its message copy") and contrasting reversibility with the soft-disable path. It stops short of covering any ownership/permission enforcement beyond the word "owner," or what a failed or refused delete returns.

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 sentences, no waste, and the irreversible-delete fact plus the alternative are front-loaded before any caveat. Every clause carries information an agent needs to act.

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 destructive, no-output-schema tool with three parameters, the description covers what is destroyed, that it is permanent, and the reversible escape hatch. Minor omissions remain around the confirm=false behavior and the client-scoping case, but nothing that would cause a wrong call.

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 67%: confirm carries its own explanation ("Deliberate friction on an irreversible action") and client is documented, while automation_id is undocumented in both places. The description adds nothing about any parameter, so it neither compensates for the automation_id gap nor duplicates the schema — baseline 3 fits.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource with scope: "Permanently delete a comment-to-DM rule and its message copy." That distinguishes it immediately from the reversible sibling set_dm_automation_active, so an agent can route correctly without opening a schema.

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

Usage Guidelines5/5

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

Gives an explicit trigger ("when the owner wants one of their comment-to-DM automations deleted for good") and names the alternative (set_dm_automation_active with active=false) plus the condition that selects it ("if you might want it back"). When-to-use, when-not-to-use, and the substitute are all present.

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