Skip to main content
Glama

firefighter_storage

Destructive

Allocates per-project disk space and manages it: claim a storage allotment, rank files as keep/useful/scratch, list contents, and free space by deleting least important items.

Instructions

Disk space the human allots agents. show: the allotment and every space. claim: set your project's space to gb (new, bigger or smaller) and get its folder; keep the project's big files (data, checkpoints, models, caches) there and delete what you no longer need. label: rank a file or folder in your space (path) as keep (needed), useful (costly to remake) or scratch (temporary), with for = what uses it and until when; rank everything you save. items: your space's contents, least important first. free: delete the least important items until gb is freed (scratch first; upto=unranked or useful goes further; keep is never deleted; dry_run to preview). release: give it back (delete=true removes its files). While a space holds more than its claim, its project's new jobs wait.

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

Input Schema

NameRequiredDescriptionDefault
gbNoFor claim: size of the space; for free: GB to free
cwdNoYour absolute working directory (sets the default project)
forNoFor label: what uses it, and until when
whyNoFor claim: what it holds
pathNoFor label: file or folder in your space (relative to it, or absolute)
rankNoFor label: keep | useful | scratch | none
uptoNoFor free: scratch (default) | unranked | useful
forceNoChange another project's space (not the one cwd is in)
actionYesshow | claim | label | items | free | release
deleteNoFor release: delete the space's files
dry_runNoFor free: only list what would go
projectNoProject (default: the repo or folder of cwd)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.3

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description adds the crucial specifics: deletion order (scratch first), the escalation via 'upto=unranked or useful', the hard safety guarantee that 'keep is never deleted', that dry_run previews, and that release with delete=true removes files. It also discloses a non-obvious operational consequence — 'While a space holds more than its claim, its project's new jobs wait' — which an agent could not infer from annotations or schema.

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

Conciseness4/5

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

The description is dense and front-loaded with the resource definition, then organized action-by-action in a stable order matching the schema's action values, with zero filler sentences. The telegraphic style ('claim: ...', 'items: ...') occasionally compresses so hard that clauses like 'with for = what uses it and until when' take a second read, costing a point.

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 12-parameter, destructive, multi-action tool with no output schema, the description covers all six actions, the safety boundary (keep never deleted), the preview path, and the queueing side effect, plus the ordering of 'items' ('least important first'). It stops short of stating what claim returns on failure (e.g. when the space exceeds quota) or the return shape of 'items', which for a no-output-schema tool would have been useful.

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 and the schema already documents gb, path, for, upto, rank, dry_run and delete. The description does add meaning the schema lacks: gb is dual-purpose (claim size vs. GB to free), path is relative to the space, upto's accepted values ('unranked or useful') and their effect, and what keep/useful/scratch actually mean. This is a modest increment over an already-complete schema, not a rescue of a gap.

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 ('disk space the human allots agents') and enumerates six specific actions — show, claim, label, items, free, release — each with a concrete verb-object gloss (e.g. 'delete the least important items until gb is freed'). It is clear what the tool does and cannot be confused with the sibling job/plan/status/submit/wait tools, but the opening sentence is a fragment and no explicit sibling contrast is stated.

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?

Because this is a single multi-action tool, the per-action enumeration functions as usage guidance: an agent learns that 'claim' allocates space, 'label' ranks files, 'free' reclaims, and 'release' gives space back, with 'dry_run to preview' as an explicit safe path. It gives clear context for each branch but no explicit when-not conditions or guidance on ordering actions beyond the implicit lifecycle.

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