Skip to main content
Glama

grok_agent_execute

Executes coding tasks in an isolated git worktree, runs tests, and returns diffs and evidence artifacts.

Instructions

Start workspace execution in a git worktree. completed requires a real diff and requested evidence.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
laneNo
taskYes
transportNostdio
Behavior2/5

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

With no annotations, the description must disclose side effects and lifecycle behavior. It only mentions that completion requires 'a real diff and requested evidence,' which is a useful detail, but it omits whether the operation is async, what execution side effects occur, or how results are retrieved.

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?

The description is very short (two sentences), but the second sentence is cryptic and unrelated to the first. It would benefit from a clearer structure, such as separating the purpose from completion conditions. Conciseness is fine, but the flow is jarring.

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

Completeness1/5

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

For a tool with a deeply nested schema, no output schema, and no annotations, this description is grossly incomplete. It does not explain expected behavior, return value, async nature, or how the 'task' object fields map to execution behavior.

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

Parameters1/5

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

Schema description coverage is 0%, and the description provides no parameter semantics. The 3 parameters (lane, task, transport) and the complex nested task object are entirely unexplained, forcing the agent to infer or blindly pass values.

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 clearly states the action ('Start workspace execution') and the resource ('a git worktree'), which conveys the tool's primary purpose. It distinguishes from siblings like grok_agent_poll/status by focusing on starting execution, though the cryptic second sentence about 'completed requires a real diff' adds confusion.

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?

No guidance is given on when to use this tool versus the many sibling tools (e.g., grok_agent_start, grok_agent_consult). The description implies usage for starting work in a worktree, but it does not state prerequisites, exclusions, or alternatives.

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