Skip to main content
Glama

gate_manage_job

Destructive

Retry, cancel, pin, unpin, or delete durable jobs and optionally remove unshared archived files, even while the GPU is sleeping.

Instructions

Manage a durable job: retry, cancel, pin, unpin, or delete (optionally deleting unshared archived files). Works while GPU is sleeping.

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>",
      "action": "<action>"
    },
    "name": "gate_manage_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesManagement action to perform on the job.
job_idYesTarget job ID.
delete_filesNoWhen action='delete', also delete unshared output blobs from archive storage (default: false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is covered. The description adds two pieces of real context beyond that: operations succeed while the GPU is sleeping, and delete can cascade into unshared archived blobs. It still omits what cancel versus delete means for a running job and whether any action is reversible.

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 tight sentences, with the action set front-loaded and the environmental caveat as a short trailing clause. No filler or redundancy.

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 3-parameter tool with full schema coverage, rich annotations and no output schema, the description covers what it does, its action set, and the key operational constraint. The remaining gap is action-specific semantics (cancel versus delete effects, pin behavior), which is a modest omission rather than a blocker.

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 description coverage is 100%, including the action enum values and the delete_files default, so the schema already carries full parameter meaning. The description only restates the action set and parenthetically echoes the delete_files behavior, adding no syntax or format detail beyond it.

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 names the resource ('a durable job') and enumerates the exact supported actions (retry, cancel, pin, unpin, delete), which map cleanly to the action enum. It does not distinguish this from siblings such as gate_stop or gate_get_job, so an agent cannot tell from the text alone why it should pick this over those.

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?

Usage is only implied by the action list; there is no explicit when-to-use or when-not, and no named alternative such as gate_stop for stopping versus canceling here. The line 'works while GPU is sleeping' hints at a valid context but does not frame a decision rule.

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