Skip to main content
Glama

Delete a release draft

delete_release_draft
DestructiveIdempotent

Partner accounts only. Permanently delete a release that is still an untouched draft, with its files. Confirm with the user first.

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_release_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
articleIdYesRelease id from list_releases or create_release.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call did not succeed.
reasonNonot_a_partner when the signed-in account has no partner account.
successNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, so the description's added value is in naming the blast radius: 'Permanently delete ... with its files' tells the agent associated files are destroyed too, which the annotations do not convey. It also discloses an account-scope restriction and a required user-confirmation step, both beyond structured data.

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 short sentences in priority order: eligibility, destructive effect, then safety step. Zero filler and the most consequential fact (permanent deletion of files) is not buried.

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 one-parameter destructive tool with full annotation coverage and an output schema, the description covers who can call it, what gets destroyed, and the required confirmation gate. The only gap is behavior when the draft precondition fails (error vs. partial delete), which an agent must discover at call time.

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 100% and the single articleId parameter is fully described in the schema, including its source (list_releases or create_release). The description adds no further meaning about the identifier or its format, so this sits at the baseline for high-coverage schemas.

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?

The description uses a specific verb and resource ('Permanently delete a release') and narrows the target to one that is 'still an untouched draft,' which distinguishes it from update_release or remove_track style operations. It never names a sibling, so the differentiation is inferred from the stated precondition rather than made explicit.

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

Usage Guidelines4/5

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

'Partner accounts only' sets an eligibility prerequisite, and 'still an untouched draft' functions as both a when-to-use and an implicit when-not-to-use condition. It also prescribes a workflow step ('Confirm with the user first'), but does not say what to do when the release is not an untouched draft — no alternative tool is named.

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