Skip to main content
Glama
Gemini Remote Agent MCP

Gemini Remote Agent MCP

by lisycotana

poll_bg_job

Read-only

Retrieve a background job's current status and incremental output, using next_offset to fetch only new data on each subsequent request.

Instructions

Poll job status and incremental output. Use next_offset for the next request.

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": {
      "job_id": "<job_id>"
    },
    "name": "poll_bg_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes
max_bytesNo
offset_bytesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuinely new behavioral context by saying output is incremental/partial, which the annotations do not convey. It stops short of describing completion semantics, terminal states, or whether repeated polling is required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short, front-loaded sentences with no padding, which is the right size for this tool. However, the second sentence spends its limited words on a parameter name that does not match the schema, so the brevity comes at the cost of accuracy.

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

Completeness2/5

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

An output schema exists, so return values need not be explained, but the tool's core loop — poll, get partial output, advance with offset_bytes until done — is not fully described, and the misnamed offset token actively risks an incorrect invocation. For a three-parameter polling tool with zero schema coverage, this leaves too much to inference.

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 the parameter burden, and it only addresses one concept — the offset for the next request — under the wrong name ('next_offset' vs. offset_bytes). It says nothing about job_id or max_bytes (page size), leaving two of three parameters unexplained anywhere.

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 states a specific verb+resource pair: 'Poll job status and incremental output.' Combined with the name, an agent can distinguish it from start_bg_job, kill_bg_job and list_bg_jobs, though the description itself never names those siblings or states the contrast explicitly.

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

Usage Guidelines2/5

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

The only guidance is 'Use next_offset for the next request,' which is a sequencing hint but references a name that does not exist in the schema (the parameter is offset_bytes). There is no statement of when to poll versus when to use list_bg_jobs or how to know polling is finished.

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