Skip to main content
Glama

delete_article

Destructive

Permanently removes an article and its notes, Guardian issues, comments, and invitations, taking down any public page; use archive status to keep it instead.

Instructions

Permanently delete an article. Hard delete with no trash: its notes, Guardian issues, comments and comment invitations go with it, and a published article's public page disappears. To put an article away without losing it, use update_article with status 'archived' instead. Owner only; the API key needs the 'delete' scope.

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": {
      "articleId": "<articleId>"
    },
    "name": "delete_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
articleIdYesArticle ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.1

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description goes well beyond that by enumerating exactly what is destroyed (notes, Guardian issues, comments, comment invitations, the public page of a published article) and confirming there is no trash/undo. It also discloses the authorization requirement (owner only, 'delete' scope), which the annotations do not carry.

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?

Three sentences, front-loaded with the destructive nature, then the cascade, then the safer alternative and permissions. Every clause carries operational information; nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter destructive mutation with no output schema, the description covers irreversibility, cascade effects, the safer alternative, and required authorization. Nothing an agent needs before invoking it is missing.

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?

There is only one parameter and schema coverage is 100%, so the schema already documents articleId. The description adds no format, source, or lookup guidance for obtaining the ID, so the baseline of 3 applies.

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 ('Permanently delete an article') and immediately qualifies the scope ('Hard delete with no trash'), which distinguishes it from the softer update_article path. An agent can tell what this does and what it does not do without opening the 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?

Names the alternative explicitly ('use update_article with status archived') and states the condition that selects it ('to put an article away without losing it'). It also states upfront prerequisites: owner only and the 'delete' API scope.

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