Skip to main content
Glama

cancel_colab_job

Cancel a queued or running Colab job to immediately stop its remote GPU VM, freeing pool resources when the work is no longer needed.

Instructions

Cancel a queued or running Colab job and immediately stop its remote GPU VM.

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": {
      "job_id": "<job_id>"
    },
    "name": "cancel_colab_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It usefully discloses that the remote GPU VM is stopped immediately, signalling a mutating, resource-freeing action, but it does not state whether cancellation is reversible, what happens to in-flight work or artifacts, or what error occurs for an already-finished job.

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 front-loaded sentence with the action, the applicable states, and the effect, containing no filler or redundant restatement of the tool name.

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 mutation tool with no output schema and no annotations, the description covers the essential action and its immediate consequence. It stops short of describing the resulting job state or return value, which an agent would need to confirm success.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is one required parameter (job_id) with 0% schema description coverage, and the description says nothing about its expected format or where to obtain it. Common-sense naming helps, but the definition does not compensate for the documentation gap as the low-coverage rule requires.

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 ('Cancel a queued or running Colab job') plus the immediate side effect ('stop its remote GPU VM'). The 'cancel' action is clearly distinct from the sibling operations get/retry/submit/list/pool_status/download, so an agent can select it 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 Guidelines3/5

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

The 'queued or running' qualifier implicitly tells the agent the states in which this applies, but there is no explicit when-not guidance (e.g. what to do for already-completed or failed jobs) and no reference to alternatives such as retry_colab_job for restarting rather than cancelling.

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