Skip to main content
Glama

chain_job

Inspect, list, or abort running tool chains: check status and receipt ledgers, view retained chains, or kill a chain that must be stopped.

Instructions

Inspect or stop tool_chain runs: action "status" (needs chain_id) returns the receipt ledger, "list" lists retained chains, "kill" aborts a running chain.

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": "chain_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
chain_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

readOnlyHint=false is coarse for a tool where two of three actions are reads, and the description usefully clarifies that only "kill" mutates. It does not say whether kill is irreversible, what state a killed chain is left in, or what permissions are required, so the behavioral disclosure is partial.

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?

A single front-loaded sentence packs the purpose and all three modes with their prerequisites; no clause is redundant.

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?

With no output schema, the description should describe returns, and it covers status ("receipt ledger") and list ("retained chains") but says nothing about what kill returns or what a ledger entry looks like. Adequate to invoke, incomplete for interpreting results.

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 0%, so the description must carry parameter meaning, and it does explain the action enum values and that status requires chain_id. It omits whether kill also requires chain_id and gives no format hints for the id, leaving a real 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 opens with a specific verb pair and resource ("Inspect or stop tool_chain runs") and then enumerates the three modes, so an agent can immediately tell this manages existing chains rather than creating them. It never names a sibling for contrast, which keeps it short of a 5.

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?

Each action value is given a one-clause condition: status for the receipt ledger and it "needs chain_id", list for retained chains, kill for aborting a running chain. There are no explicit exclusions or pointers to alternatives, but the mode-selection guidance is clear enough to act on.

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