Skip to main content
Glama

Take a task off the pile

take_task

Claim a task and get its briefing in one call. Pass an id to claim a specific task, or omit it to claim the next open task (oldest open by createdAt then id). Atomically flips the task to "taken" and records takenBy/takenAt; errors if it's already taken or done. Returns the task and a get_context-style briefing for its part_of domain plus the concepts it realizes / is governed_by (with code_areas). complete_task marks it done.

Input Schema

NameRequiredDescriptionDefault
idNoClaim this specific task by id. Omit to claim THE next open task (oldest by createdAt then id).
takenByNoLabel for who's claiming it (agent/orchestrator name). Defaults to a generic label.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say it is a non-destructive, closed-world mutation; the description goes well beyond that by disclosing atomicity ('atomically flips the task to "taken"'), the exact state written (takenBy/takenAt), and the error case for already-taken/done tasks. It also pre-announces the shape of the payload (task plus a get_context-style briefing with concepts and code_areas), which is exactly what an agent needs before calling a claim 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?

Four tight sentences, front-loaded with the action, then the two invocation modes, then side effects, then the return payload and the follow-on tool. No sentence is filler.

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?

With no output schema, the description compensates by describing what comes back (the task plus a get_context-style briefing with part_of domain, concepts, code_areas). Combined with the disclosed error conditions and atomicity, nothing essential to correct invocation is missing.

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?

Schema description coverage is 100% and both parameters are already documented there, including the ordering rule and the takenBy default. The description largely restates the `id` semantics rather than adding new meaning, so the baseline 3 applies.

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?

States a specific verb and resource ('Claim a task') plus the bundled side effect ('get its briefing in one call'), which distinguishes it cleanly from list_tasks, create_task and complete_task. An agent can tell what this does 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 Guidelines5/5

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

Explicitly branches usage: pass an `id` for a specific task, omit it to claim the next open task with a stated ordering (oldest by createdAt then id). It also names the follow-on sibling ('complete_task marks it done') and states the failure condition (already taken or done).

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