Skip to main content
Glama
quochuy
by quochuy

claim_task

Claim a pending task to implement it as the assigned agent, blocking pre-assigned tasks and returning the task summary.

Instructions

Claim a pending task as the implementer working on it. Fails if the task was pre-assigned to someone else. Returns the task summary (no history[] — call get_task for that).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
assigneeYesName/identifier of the agent claiming the task, e.g. 'opencode'.
expected_versionNoPass the task's current version to detect races with another claimer.
Behavior4/5

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

No annotations exist, so the description carries the full burden. It discloses the failure behavior ('Fails if the task was pre-assigned'), the return value ('Returns the task summary'), and explicitly notes the absence of history, pointing to get_task. This is meaningful beyond schema but lacks details on permission requirements or state-change implications.

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?

Two sentences, front-loaded with the main action, no wasted words. The failure and return-info additions are purposeful.

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?

For a tool with three params and no output schema, the description covers the core behavior, failure mode, and return format. It even directs users to get_task for history, covering a common follow-up. The only missing context (expected_version usage) is already in the schema.

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?

The schema already documents assignee and expected_version with descriptions, but the id parameter only has a pattern. The description adds no parameter-specific guidance, leaving id's semantics implicit. With 67% schema coverage, the description doesn't compensate for the un-annotated id, but schema covers the rest.

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 opens with a specific verb+resource+role: 'Claim a pending task as the implementer working on it.' It clearly distinguishes from siblings like claim_next_task and create_task by indicating this targets a specific pending task. The failure condition (pre-assigned) adds useful purpose detail.

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 implies when to use: when an implementer wants to claim a specific pending task. It also provides an alternative for history: 'call get_task for that.' However, it doesn't explicitly contrast with claim_next_task or state when not to use, so it's clear context but missing explicit exclusions.

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/quochuy/ai-coord-mcp'

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