Skip to main content
Glama

firefighter_job

Manage a queued or running job: extend its lease, change urgency, amend RAM, VRAM, or time estimates for a waiting job, or cancel it.

Instructions

Change your job: extend (minutes = more lease), urgent / normal (tier, while waiting), amend (new ram_gb / vram_gb / minutes for a waiting job: keeps its place; don't cancel and resubmit), cancel.

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": {
      "id": "<id>",
      "action": "<action>"
    },
    "name": "firefighter_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesJob id
cwdNoYour absolute working directory (the project you act as)
actionYesextend | urgent | normal | amend | cancel
ram_gbNoFor amend
minutesNoFor extend (more lease) or amend (new estimate)
vram_gbNoFor amend

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.3.3
    • changedInput schema / properties / action / description
      Previous value: -"extend | urgent | normal | cancel"New value: +"extend | urgent | normal | amend | cancel"
    • addedInput schema / properties / cwd
      Added value: +{
      +  "description": "Your absolute working directory (the project you act as)",
      +  "type": "string"
      +}
    • changedInput schema / properties / minutes / description
      Previous value: -"For extend"New value: +"For extend (more lease) or amend (new estimate)"
    • addedInput schema / properties / ram_gb
      Added value: +{
      +  "description": "For amend",
      +  "type": "number"
      +}
    • addedInput schema / properties / vram_gb
      Added value: +{
      +  "description": "For amend",
      +  "type": "number"
      +}
  2. First observedv0.1.0

TDQS

B3.3/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, and it does disclose one non-obvious behavior: amend preserves the job's queue position. Beyond that it is silent on whether cancel is irreversible, whether urgent changes cost or preempts others, and whether the actions apply equally to running versus waiting jobs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is compact with no filler, but it is a single run-on sentence built from nested parentheticals and slashes, making clauses like "urgent / normal (tier, while waiting)" hard to parse. A short per-action list would be both shorter to read and more front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter mutation tool with no annotations and no output schema, the description covers the action vocabulary but omits what a call returns, whether cancel is final, and any cost or permissions implications of urgent. The coverage is adequate to attempt a call but not to call it confidently.

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%, so the baseline is 3. The description restates the same mappings the schema already encodes ("minutes = more lease", ram_gb/vram_gb "for amend") but adds no formats, bounds, or units, and the cwd parameter is never mentioned at all.

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 opens with a specific verb+resource ("Change your job") and then enumerates the five supported operations (extend, urgent, normal, amend, cancel) with a short gloss on each. It is clear this is the mutation/control tool for an existing job, but it never contrasts itself with siblings like firefighter_submit, so an agent must infer that this modifies rather than creates.

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?

There is one genuinely useful routing rule: use amend rather than cancel-then-resubmit for changing a waiting job's resources. However, the guidance does not explain when to pick extend versus amend (both accept minutes), nor when urgent/normal should be used relative to firefighter_wait, leaving the choice between this tool and sibling tools implicit.

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