Skip to main content
Glama
langadventurellc

Task Trellis MCP

claim_task

Assign yourself to available tasks for execution in Task Trellis. Use to pick up work items from the queue based on priority, scope, or specific task ID, enabling autonomous task execution workflows.

Instructions

Claims a task in the task trellis system

Use this tool to assign yourself to available tasks for execution. Essential for AI agents to pick up work items from the task queue and begin execution.

Claiming behavior:

  • Without 'taskId': Claims the next available task based on priority and readiness

  • With 'taskId': Claims a specific task by ID if available and ready

  • 'scope': Limits claiming to tasks within a specific project or area

  • 'force': Overrides normal claiming restrictions (use with caution)

Task readiness criteria:

  • Task status allows claiming (typically 'draft' or 'open' states)

  • All prerequisites are satisfied (prerequisite tasks completed)

  • Task is not already claimed by another agent

  • Task falls within specified scope if provided

Claiming workflow:

  1. System evaluates available tasks against readiness criteria

  2. Selects highest priority task that meets requirements

  3. Updates task status to 'in-progress

  4. Associates task with the claiming agent

  5. Returns claimed task details for execution

Common patterns:

  • Claim any ready task: (no parameters)

  • Claim from project: scope='P-project-name'

  • Claim specific task: taskId='T-specific-task-id'

  • Force claim blocked task: taskId='T-task-id', force=true

Essential for autonomous task execution workflows where agents need to discover and claim work items dynamically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoScope to claim task from (optional)
taskIdNoSpecific task ID to claim (optional)
forceNoForce claim flag (defaults to false)
Behavior4/5

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

With no annotations provided, the description carries full burden and delivers substantial behavioral context. It explains claiming behavior for different parameter combinations, details task readiness criteria (status, prerequisites, ownership, scope), outlines the claiming workflow steps, and warns about force parameter implications. The only minor gap is lack of explicit mention of error conditions or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (Claiming behavior, Task readiness criteria, Claiming workflow, Common patterns), but could be more concise. Some sentences repeat information (e.g., 'Essential for AI agents' appears twice), and the final sentence restates earlier points. The front-loading is good, but overall length could be optimized.

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 tool with 3 parameters, no annotations, and no output schema, the description provides comprehensive context. It covers purpose, usage, parameters, behavior, workflow, and patterns. The main gap is lack of information about return values (though no output schema exists), but otherwise it gives agents sufficient information to use the tool effectively in autonomous workflows.

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?

Despite 100% schema description coverage, the description adds significant value beyond the schema. It explains the semantic meaning of each parameter in context ('Without taskId: Claims the next available task', 'scope: Limits claiming to tasks within a specific project', 'force: Overrides normal claiming restrictions'), provides usage patterns, and clarifies default behaviors. The schema only provides basic descriptions without this contextual richness.

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 clearly states the tool's purpose with specific verbs ('claims a task', 'assign yourself to available tasks') and distinguishes it from siblings by focusing on task claiming rather than creation, completion, or issue management. It explicitly identifies this as essential for AI agents to pick up work items, establishing a distinct role.

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?

The description provides explicit guidance on when to use this tool ('Essential for AI agents to pick up work items from the task queue'), offers clear alternatives through common patterns (claim any ready task, claim from project, claim specific task, force claim), and includes cautionary advice ('use with caution' for force parameter). It effectively distinguishes this from sibling tools like complete_task or get_next_available_issue.

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/langadventurellc/task-trellis-mcp'

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