Skip to main content
Glama

grok_delegate_poll

Poll background delegation jobs to fetch status, results, and live progress. Supply a job ID for detailed phase, elapsed time, and outputs; omit it to list recent job summaries. Read-only.

Instructions

Poll a background delegation started with grok_delegate_start. With job_id: that job's state and result (branch, changed_files, commits, diffstat), plus live progress while running — phase (preflight/worktree/worktree_recover/anchors/executor/collect), elapsed_s, phase_elapsed_s, last_step, and worker_pid once the executor is spawned. A dispatch spends its first minutes in git with no process and no lane directory to see: that is normal, and phase is how you tell it apart from a stuck server. Without job_id: newest job summaries. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax job summaries when listing (default 20)
job_idNoJob id from grok_delegate_start; omit to list recent jobs
Behavior5/5

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

With no annotations, the description carries full burden and succeeds: it declares read-only, details the phases (preflight/worktree/etc.), explains that a dispatch may initially have no process/lane directory, and tells how to distinguish normal from stuck server via the phase field.

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?

The description is information-dense and well-structured: it opens with the core purpose, then details the job_id path, clarifies a normal edge case, and closes with the no-job_id listing mode and read-only note. Every sentence contributes value.

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?

Despite having no output schema and no annotations, the description provides a thorough picture: output fields, phase values, the worker_pid condition, normal behavior for early dispatches, and the read-only nature. It is self-sufficient for an agent to invoke and interpret results.

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

Parameters5/5

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

Although the schema already describes both parameters (100% coverage), the description adds significant meaning: it explains what job_id returns (state, result, live progress fields) and how the tool behaves without job_id. This goes well beyond the schema's basic definitions.

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 description clearly states the tool polls a background delegation started with grok_delegate_start, distinguishing it from start/status siblings. It specifies both usage modes (with/without job_id) and the exact output contents.

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

Usage Guidelines4/5

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

It gives clear context for use (polling delegations from grok_delegate_start, both with and without job_id) and explains the normal early-phase behavior to avoid false alarms. However, it does not explicitly mention when not to use it or compare to alternatives like grok_delegate_status.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zai-one/grok-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server