Skip to main content
Glama

firefighter_submit

Destructive

Queue heavy GPU or CPU work on a shared machine, returning the job ID, start estimate, cost, and next step; then wait for completion.

Instructions

Queue heavy work (GPU, or CPU over ~1 min) on this shared machine. Returns one line: job id, start estimate, cost, do: (next step). Then call firefighter_wait. Runs the command as you, outside any agent sandbox, with your network and files: only submit what you'd run in your own shell.

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": {
      "command": "<command>",
      "cwd": "<cwd>",
      "minutes": "<minutes>"
    },
    "name": "firefighter_submit"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdYesAbsolute working directory
gpuNoNeeds the GPU
netNoNetwork-heavy (downloads, uploads); known installers and downloads are detected
nameNo'<project> <what>'
spotNoLeftover time only; 1/3 price, paused first
ram_gbNoPeak RAM GB, if known
urgentNoOnly when the human waits on the result; 2x price
commandYesShell command
minutesYesHigh-end runtime guess; a lease, billed 2x past 1.25x
vram_gbNoPeak VRAM GB, if known
gpu_vendorNoGPUs the job can use: nvidia, amd, intel or any (default NVIDIA if present)
request_idNoIdempotency key: a retry with the same key (same cwd project) returns the first job instead of queuing a copy

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.3
    • addedInput schema / properties / request_id
      Added value: +{
      +  "description": "Idempotency key: a retry with the same key (same cwd project) returns the first job instead of queuing a copy",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, but the description adds context the annotations cannot convey: the command runs 'as you, outside any agent sandbox, with your network and files' and warns 'only submit what you'd run in your own shell.' It also discloses the exact return shape ('job id, start estimate, cost, do: (next step)') despite there being no output schema.

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?

Three sentences, front-loaded with purpose and gating criteria, then return format, then the safety constraint. No sentence is redundant and the 'do: (next step)' framing efficiently hands off to the adjacent tool.

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 destructive, cost-incurring, 12-parameter tool with no output schema, the description covers purpose, gating, return shape, and the sandbox/credential risk. Minor gaps remain: nothing about failure behavior, cancellation, or that pricing multiplies (2x urgent, 2x past 1.25x lease) — though those live in the schema.

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 all 12 parameters (including billing semantics for minutes, spot, and urgent, plus the request_id idempotency key) are already documented in the schema. The description adds no parameter-level meaning beyond that, so the baseline of 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?

States a specific verb and resource ('Queue heavy work') and immediately scopes it with concrete criteria ('GPU, or CPU over ~1 min') on a named resource ('this shared machine'). It also names the follow-up sibling (firefighter_wait), so an agent can distinguish this from firefighter_job/status without opening any schema.

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?

The threshold '(GPU, or CPU over ~1 min)' is an explicit use condition, and 'Then call firefighter_wait' routes the agent to the correct next step. What's missing is a stated when-not: it never says what to do with light CPU work (presumably run it inline rather than queue it), so the negative case is only implied.

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