Skip to main content
Glama

task_take

Takes a task or bug into work or returns to it (shared team data). The server picks the transition: a draft is published, a task in deployment goes back to work, an "any" stage is assigned to the token owner. A closed task is reopened on the token owner: they become the work assignee, the plan with its AI estimate and the closing resolution are cleared, a bug leaves its version; the approver, reviewer and tester stay; a closed task is taken only at the user's direct request. When the user decides that the previous assignee continues the work, their workAssignee is noted before the take; after it come finishing with wait and then a task update setting them as workAssignee. Another employee's stage is refused. Returns the job for the task, the available outcomes, where the task goes on done and on return, the task context and, once per session, the conventions for the work on a task and the memory for the job, unless the product context with the same runKey already delivered it.

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": {
      "run": "<run>"
    },
    "name": "task_take"
  }
}

Input Schema

NameRequiredDescriptionDefault
IDNoTask ID; preferred over key.
keyNoTask number without #, if the ID is unknown.
runYesSession counters accumulated since its start: runKey (the client session ID), model, usage (input, cacheRead, cacheWrite, output, including subagents), mcps (server to tool to calls), subagents and ms (active time); the snapshot at the start of the work on the task.
localRepositoriesNoIDs of the product repositories the task changes (the product's repositories), as in the product context.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / localRepositories / description
      Previous value: -"IDs of the product repositories cloned locally."New value: +"IDs of the product repositories the task changes (the product's repositories), as in the product context."
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Very rich disclosure beyond the annotations: the server (not the caller) chooses the transition, and reopening clears the plan, the AI estimate and the closing resolution, drops a bug from its version, and preserves approver/reviewer/tester. One tension worth noting: this field-clearing is a data-losing side effect while annotations declare destructiveHint=false, though the operation is a workflow transition rather than a delete. It also discloses session-scoped return content (conventions and memory delivered "once per session"), which is useful and non-obvious.

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?

The core purpose is front-loaded in the first sentence and every later clause carries operational content rather than filler. However, the closing sentences are run-on and jargon-dense ("after it come finishing with wait and then a task update setting them as workAssignee"), which forces re-reading; a bulleted split of transition rules would be more parseable.

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?

Given a 4-parameter tool with a nested run object and no output schema, the description does compensate by enumerating return values (job, outcomes, where the task goes on done and on return, task context, conventions, memory). The remaining gap is that it never explains how a caller selects behavior for the ambiguous cases, nor the relationship between run/localRepositories and the take itself, leaving a fairly complex definition just shy of complete for the complexity involved.

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 the run object is thoroughly documented in the schema (session counters, subagents, ms), so the baseline is 3. The description adds nothing about ID vs key precedence or what localRepositories does; all parameter meaning lives in the schema.

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?

"Takes a task or bug into work or returns to it" is a specific verb+resource statement, and the following sentences describe the transition logic (draft→published, deployment→work, closed→reopened), which distinguishes it from siblings like task_done or task_publish. It stops short of naming an alternative tool, so an agent must infer the boundary from the workflow description rather than an explicit contrast.

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?

Provides real when-to-use conditions: a closed task is taken "only at the user's direct request," and when the previous assignee should continue, workAssignee is noted before the take. It also gives a when-not rule: "Another employee's stage is refused." What is missing is an explicit statement of when to prefer task_done, task_update, or task_publish instead.

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