Skip to main content
Glama

Begin work

begin_work

Begin repository implementation in one boundary call. Pass workId to claim that Work, or projectId to resume the active Work or claim the next ordered one. Each open workflow run builds its own Batch; pass runId to work in a specific run when several are open. If nothing is developing there, the next planned batch is started automatically when it contains implementable work. Returns the Work brief and the project's own instruction documents that apply to it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
runIdNoWorkflow run to work in, when several are open.
workIdNoWork to claim.
projectIdNoProject whose active or next Work to begin.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only reveal write/non-destructive; the description adds meaningful behavior beyond that, disclosing that it claims a Work, auto-starts the next planned batch when implementable work exists, and returns Work brief plus applicable instruction documents. No mention of auth, failure modes, or side effects on concurrent runs, but the automatic batch-start disclosure is valuable.

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?

Four dense sentences, purpose front-loaded and followed by parameter routing and side-effect behavior. Every sentence carries information; no padding, though it front-loads the boundary-call framing before the more actionable parameter guidance.

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

Completeness4/5

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

With no output schema, the description usefully covers return values (Work brief and instruction documents) plus the auto-start behavior and the zero-required-parameter model. Adequate for a mutation tool, with only the sibling relationship to start_workflow/resume_workflow left implicit.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds relational meaning the schema lacks: workId actively claims, projectId carries the resume-or-claim-next semantics, and runId selects among concurrent runs. This goes beyond the terse per-parameter schema descriptions.

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 ('Begin repository implementation') and clarifies the consolidated 'one boundary call' scope. An agent can distinguish it from the paired finish_work, though the description never explicitly names or contrasts with that sibling or start_workflow.

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?

Gives explicit conditional guidance for selecting between the argument modes: pass workId to claim, projectId to resume/claim-next, runId when several runs are open. That is unusually clear routing logic, but it stops short of telling the agent when to prefer begin_work over start_workflow or resume_workflow.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources