Skip to main content
Glama

Start async browser job

aside_job_start

Run Aside repl JavaScript as a background job in a dedicated session and return a job ID immediately; poll job status, then retrieve output for tasks that do not need interactive approval.

Instructions

Run Aside repl JavaScript as a background job in a fresh, dedicated Aside session and return {job_id, status:'running', title} immediately; poll aside_job_status, then read output with aside_job_result. Denylisted URLs and code the gate classifies as destructive are refused with isError (jobs have no approval path, and this version classifies all arbitrary JavaScript as destructive) - use repl with its _approval_id flow for gated actions. On finish, if notify is on, it writes an outbox file and best-effort opens a GitHub issue on the configured bridge repo.

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": {
      "title": "<title>",
      "code": "<code>"
    },
    "name": "aside_job_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesJavaScript for the Aside repl (same dialect as the repl tool's code argument).
titleYesShort human-readable label used in status, audit log and notifications.
notifyNoSend a completion notification. Default: config notify.job_notify_default (true if unset).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses refusal behavior (denylisted URLs and gate-classified destructive code return isError), that jobs have no approval path, and completion side effects (outbox file plus a best-effort GitHub issue on the bridge repo). Annotations already cover openWorldHint and readOnlyHint, but the side-effect and error semantics here are extra value; the phrasing that 'this version classifies all arbitrary JavaScript as destructive' is slightly at odds in tone with destructiveHint=false, though it is consistent once read as the gate refusing execution rather than the tool destroying anything.

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?

Front-loaded with the action and return value, then routing, then failure modes, then side effects — a sensible priority order. It is a single dense run-on with parentheticals and dashes that takes effort to parse, but no sentence is filler.

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 three-parameter async job tool with no output schema, the description supplies what the schema cannot: the immediate return shape, the polling contract, the failure contract, and post-completion side effects. An agent can invoke and follow up correctly without further information.

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 applies; code and title are fully documented in the schema and the description only cross-references the repl dialect. The one real addition is the side-effect meaning of notify (writes an outbox file, opens a GitHub issue), which goes beyond the schema's 'Send a completion notification'.

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?

The opening clause states a specific verb and resource: run Aside repl JavaScript as a background job in a fresh dedicated session, and it even names the immediate return shape (job_id, status:'running', title). It is clearly distinguishable from sibling tools like repl (synchronous/gated) and from the polling/reading siblings it routes to.

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?

Explicit lifecycle routing: call this, then poll aside_job_status, then read output with aside_job_result. It also names the alternative path for gated actions ('use repl with its _approval_id flow'), which is the exact when-not guidance an agent needs.

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