Skip to main content
Glama

Discard an update

discard_update
DestructiveIdempotent

Cancels an update that hasn't been submitted and deletes its uploaded package. Nothing was sent to Partner Center, so nothing is left behind there.

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": {
      "releaseId": "<releaseId>"
    },
    "name": "discard_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
releaseIdYesThe releaseId from start_update.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered; the description goes further by specifying exactly what is destroyed (the uploaded package) and clarifying that no remote cleanup is needed because nothing reached Partner Center. That is genuine added context about the blast radius, though reversibility of the deletion is not stated.

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 short sentences, zero filler, with the destructive action stated first and the reassurance about external state second. Nothing repeats the name or title verbatim.

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 no output schema, the description covers what it does, what it deletes, and what it leaves untouched externally. The remaining gap is what the caller should do if the update was already submitted, 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?

There is a single required parameter with 100% schema description coverage that already ties releaseId back to start_update. The description adds no further meaning about releaseId, so the baseline of 3 applies since the schema carries the full burden.

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?

"Cancels an update that hasn't been submitted and deletes its uploaded package" gives a concrete verb (cancel/discard), the target resource (an unsubmitted update), and the side effect (package deletion). The unsubmitted-state qualifier implicitly separates it from submit_update and from discard_listing_changes, though no sibling is named 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?

The description establishes a precondition for use (only updates that haven't been submitted), which implies when to call it, but it never states when not to use it or which alternative tool to reach for if the update was already submitted. Usage is inferable rather than guided.

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