Skip to main content
Glama

claim_subtask

Claim a ready subtask assigned to an agent or a specific task, returning dependency results and user preferences. Renew the lease before expiry; null if none ready.

Instructions

Claim the next ready subtask assigned to you (or a specific one). Returns a work packet including dependency results and user preferences. Heartbeat before the lease expires; returns null when nothing is ready.

Input Schema

NameRequiredDescriptionDefault
agentNo
api_keyNo
subtask_idNo
lease_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.36.1

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the return packet shape (dependency results and user preferences), the null result when nothing is ready, and the lease/heartbeat constraint. It omits auth expectations and concurrency/failure behavior, but the key operational traits are present.

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 three sentences are tightly front-loaded: purpose first, then return shape, then lease/null behavior. There is no filler and each sentence adds useful information.

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

Completeness3/5

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

No output schema or annotations exist, so the description must be relatively self-sufficient. It explains the return packet and null case, but the 0% parameter coverage and missing auth details leave gaps an agent would need filled elsewhere.

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

Parameters2/5

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

Schema description coverage is 0% and four parameters exist, so the description should compensate more. It hints that subtask_id is optional and implies lease_seconds via the heartbeat sentence, but it says nothing meaningful about agent or api_key, leaving half the parameters unexplained.

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 uses a specific verb ("claim") and resource ("subtask") and clarifies the two modes: next ready subtask or a specific one. It does not explicitly distinguish itself from nearby siblings like pickup or start_work, but the core purpose is clear.

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

Usage Guidelines3/5

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

It gives an implicit usage cue ("claim the next ready subtask... or a specific one") and mentions heartbeat timing, but it does not state when to choose this over alternatives such as pickup or start_work, nor when not to use it.

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