Skip to main content
Glama
Gemini Remote Agent MCP

Gemini Remote Agent MCP

by lisycotana

start_bg_job

Destructive

Launch a non-interactive long-running command in a scoped workspace and return a job ID so you can poll its status and results.

Instructions

Start a non-interactive long-running job; poll with the returned job_id.

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": {
      "command": "<command>"
    },
    "name": "start_bg_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo.
commandYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 openWorldHint=true, so the description is not the sole carrier of the safety profile. It adds the useful 'non-interactive, long-running, returns a job_id to poll' behavior, but does not say what side effects or privileges the spawned command has, which matters for a destructive open-world tool.

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?

A single compact sentence with the core purpose front-loaded and the follow-up workflow attached efficiently. It is arguably too terse given the parameter gaps, but no sentence is wasted.

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?

Output schema exists, so the returned job_id needn't be explained, and annotations cover the risk profile. Still, for a destructive process-spawning tool with 0% schema coverage, the description should at least characterize the command and cwd parameters, which it omits.

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?

Schema description coverage is 0%, so the description must explain 'command' and 'cwd'. It mentions neither: no indication that command is a shell string, nor that cwd defaults to '.'. The two parameters are left entirely undocumented.

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 verb and resource ('Start a ... long-running job') and qualifies it with 'non-interactive', which distinguishes it from a foreground command runner. It does not explicitly name run_command as the synchronous alternative, so sibling differentiation is implied rather than stated.

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?

The clause 'poll with the returned job_id' routes the agent toward the polling workflow, which is useful usage context. However, there is no explicit guidance on when to choose this over run_command, or when a job should be killed instead of polled.

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