Skip to main content
Glama

Run a job again

rerun_job
Destructive

Start the same task again, word for word with the same settings, as a new job in a new session (a fresh browser; saved logins still apply). Use it to repeat a task that ended, e.g. to get fresh prices or retry after a failure; to change the instructions or carry on from where a job got to, use follow_up instead. Like browser_task, it acts on websites as you, is charged as a new task, and returns the new job's result (or its id with wait: false).

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": {
      "id": "<id>"
    },
    "name": "rerun_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe job to repeat (an id from list_jobs, browser_task or get_job).
waitNoWait for the result (default true). false: return the job id at once; check with get_job.
wait_secondsNoLongest wait before returning (the job carries on). Default 120, or 50 for a call without a progress token.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"The job to repeat (an id from list_jobs, browser_task or get_job)."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Adds real context beyond annotations: a fresh browser session where saved logins still apply, billing as a new task, and the return behavior with wait:false. It does not spell out what happens to the original job or whether anything is mutated/cancelled, which matters given destructiveHint=true.

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?

Front-loads what the tool does, then usage cases, then the alternative, then behavioral/cost notes. Dense but every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no output schema, it covers session state, credential inheritance, cost, return shape, and the nearest alternative. An agent has enough to decide and invoke correctly.

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 coverage is 100%, so id, wait, and wait_seconds are already fully documented. The description echoes the wait:false behavior but adds no format or validation detail beyond the schema; baseline 3 is appropriate.

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 action: re-running the identical task ('word for word with the same settings') as a new job in a new session. This distinguishes it clearly from follow_up and from browser_task, which it references.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use cases (repeat an ended task, get fresh prices, retry after failure) and names the alternative with the condition that selects it ('to change the instructions or carry on... use follow_up instead').

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.