Skip to main content
Glama

Clean up finished jobs

operatorlane_job_prune
Destructive

Remove old completed job metadata and logs while preserving active jobs.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "operatorlane_job_prune"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxAgeDaysNo
steerlatchDeviceNoOptional: name or deviceId of the computer that runs this action (from operatorlane_list_devices). Recommended when several computers are online or several conversations work at once.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description's real contribution is blast radius: it states precisely what is deleted (metadata and logs) and what is explicitly spared (active jobs), which is the key behavioral question for a destructive cleanup tool. It stops short of stating whether deletion is permanent or recoverable and says nothing about return values.

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 sentence that front-loads the destructive verb and uses the second clause for the one caveat that matters. No filler, no restatement of the title.

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 destructive, non-idempotent operation with no output schema, the definition covers the essential what and the protective boundary but omits the retention threshold semantics, whether pruned data is recoverable, and whether any prerequisite or confirmation is required. Adequate to act, not complete enough to act confidently.

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

Parameters2/5

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

maxAgeDays carries no schema description at all (50% coverage overall), and the description only gestures at it with the word 'old' — no unit, no relation to the 14-day default, and no indication that a small value prunes aggressively. steerlatchDevice is fully documented in the schema, so the description needed to compensate for the undocumented parameter and does not.

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 gives a specific verb ('Remove') and names the exact resource ('old completed job metadata and logs'), plus a scope boundary ('while preserving active jobs'). That boundary implicitly separates it from job_cancel, which presumably acts on active jobs, but no sibling is named explicitly.

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?

Usage is implied rather than stated: an agent can infer this is the maintenance/cleanup path for finished jobs, distinct from inspection tools like job_list or job_logs. There is no explicit 'use this when...' guidance, no mention of alternatives, and no note on how often or under what conditions pruning should run.

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