Skip to main content
Glama

Claim a task

claim_task

Claim an open, unassigned task for the current account; fails if another user already holds it. Also works on public project tasks within account limits.

Instructions

Take an open (unassigned) task for this account. Fails if someone else already has it. Works on any public project's open tasks too (workspaceId "public"); an account holds at most 5 unfinished tasks on other people's public projects.

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": {
      "workspaceId": "<workspaceId>",
      "taskId": "<taskId>"
    },
    "name": "claim_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYes
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.8

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare non-read-only, non-destructive, so the description carries real weight here and delivers: the failure mode on contention, cross-workspace behavior, and a per-account cap of 5 unfinished tasks on other people's public projects. It omits whether a claim can be released or how to undo it, which is the main remaining gap for a mutation tool.

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?

Three short sentences, ordered from what it does, to the failure condition, to the scope/limit exception. Nothing is repeated from the name or title and no sentence is padding.

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?

For a two-parameter mutation with no output schema, the description covers purpose, contention behavior, scope, and the public-project quota. The only missing piece an agent might want is what success returns or leaves the task in, but the essentials for correct invocation are present.

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 0%, so the description must compensate, and it does for the non-obvious parameter by revealing the sentinel value workspaceId "public" — something the schema's bare string type does not convey. taskId is left to inference from the first sentence, which is a minor shortfall given the zero coverage baseline.

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 names a specific verb and resource ('Take an open (unassigned) task for this account') and adds the defining precondition ('Fails if someone else already has it'), which is what separates claiming from the other task-lifecycle siblings like approve_task or complete_task. An agent can tell this is an exclusive acquisition operation without opening the schema.

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 says clearly that the tool is for open, unassigned tasks and that it is a no-op-to-failure if the task is taken, and it extends scope to public projects via workspaceId "public". It does not name an alternative to use when the task is already claimed (e.g., how to reassign), but the usage context is otherwise unambiguous.

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