Skip to main content
Glama

fenbs_job

Destructive

Record a background job started on an In Progress task (Codex, another CLI, or a long batch), so other windows can see it is running; finish it with its result when it ends, or abandon it. A job carries its branch and base commit, not a local or temporary path (DEC-341), and a result cites a repo path @ commit or a file attached to the task. Start needs tool and what; finish or abandon needs jobId. Finish and abandon work in any lane.

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

Input Schema

NameRequiredDescriptionDefault
refYesThe task ref, e.g. "ENH-1190".
toolNoWhat runs the job, e.g. "Codex". Required to start; up to 40 characters.
whatNoWhat the job is doing. Required to start; up to 200 characters.
jobIdNoThe running job id from jobs, e.g. "j2". Required to finish or abandon.
actionYes
branchNoThe repository branch, up to 120 characters; not a local path.
resultNoFor finish: the result, up to 300 characters: a repo path @ commit or the name of a file attached to the task, not a local or temporary path.
sessionNoA short name for this session or window, e.g. "Claude Code c--ws 33edc07d"; the same one on every call. Every window shares this connection, so without it fenbs shows only the connection name and cannot tell your windows apart.
doneWhenNoHow to tell the job has ended, up to 200 characters.
baseCommitNoThe commit the job starts from, 7 to 40 hexadecimal characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / branch / description
      Previous value: -"The repository branch, up to 120 characters. Never a local path."New value: +"The repository branch, up to 120 characters; not a local path."
    • changedInput schema / properties / result / description
      Previous value: -"For finish: the result, up to 300 characters. Cite a repo path @ commit or the name of a file attached to the task; never a local or temporary path."New value: +"For finish: the result, up to 300 characters: a repo path @ commit or the name of a file attached to the task, not a local or temporary path."
    • changedInput schema / properties / session / description
      Previous value: -"A short name for this session or window, e.g. \"Claude Code c--ws 33edc07d\". Pass the same one on every call. Every window you open shares this connection, so without it fenbs shows only the connection name and cannot tell your windows apart."New value: +"A short name for this session or window, e.g. \"Claude Code c--ws 33edc07d\"; the same one on every call. Every window shares this connection, so without it fenbs shows only the connection name and cannot tell your windows apart."
  2. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false; the description adds real context beyond that by stating the DEC-341 constraint that jobs carry a branch and base commit rather than a local path, and that results must cite a repo path @ commit or an attached file. It does not explain what abandoning a job does to existing data, nor whether repeated starts create duplicate jobs, which are precisely the behaviors the annotations flag as risky.

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?

Two sentences, front-loaded with the record-a-job purpose, followed by the state-transition and path constraints. Dense but each clause carries information; the second sentence is packed with two distinct rules (path policy and result format) that could be split for readability.

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 10-parameter lifecycle tool with no output schema, the description covers purpose, per-action requirements, path/result conventions, and the cross-window session rationale. The remaining gap is outcome semantics: what finishing or abandoning actually does to the record and what comes back.

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

Parameters4/5

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

Schema coverage is 90%, so parameters are largely self-documenting, but the description adds conditional requirements the schema does not encode: 'Start needs tool and what; finish or abandon needs jobId.' That is genuinely useful action-conditional meaning beyond the flat required list of ref and action.

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?

States a specific resource (a background job on an In Progress task) and the full lifecycle it manages: start, finish with a result, or abandon. The parenthetical examples (Codex, another CLI, a long batch) make the job concept concrete. It is clearly distinct from the sibling note/decision/lesson tools, though the three-action nature is only fully resolved by the later 'Start needs...' sentence.

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?

Gives the triggering context explicitly: use this when a background job is started on an In Progress task so other windows can see it running, and close it out when it ends. It also clarifies that finish and abandon work in any lane. No sibling alternative is named for the 'who is running what' case, but none of the listed siblings plausibly covers it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources