Skip to main content
Glama

Cancel a build upload

cancel_upload
Destructive

Abandons a version that is still uploading (for example when the build cannot be uploaded from this assistant): it is archived and its partial upload dropped, so a new upload can start.

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": {
      "versionId": "<versionId>"
    },
    "name": "cancel_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionIdYesVersion id (from start_upload, get_game or get_version_status)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag this as a destructive, non-idempotent write, so the bar is lower, but the description adds real value: the version is archived rather than deleted and the partial upload data is discarded, which tells the agent what is lost. It does not say whether a cancelled upload can be resumed or what happens on a second call to an already-cancelled version (relevant since idempotentHint=false).

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?

A single sentence that front-loads the action and its precondition, with zero filler. The parenthetical example earns its place by making the use case concrete.

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 mutation with full annotation coverage and full schema coverage, the description supplies the essential effect and precondition. The only gaps are post-cancellation state (resumability, repeat-call behavior), which are minor given no output schema exists.

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 one parameter's description already names its sources (start_upload, get_game, get_version_status). The description adds no further meaning about versionId, so baseline 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?

"Abandons a version that is still uploading" names a specific verb and resource, and the qualifier "still uploading" separates it from complete_upload without needing the sibling's schema. The sentence also states the concrete outcome (archived, partial upload dropped).

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?

It gives a clear triggering condition – the build cannot be uploaded from this assistant – so an agent knows when cancellation is the right move. It stops short of naming complete_upload as the alternative for the success path or stating what to do if the version is no longer uploading.

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.