Skip to main content
Glama
TAgents

Planning System MCP Server

by TAgents

claim_next_task

Pick the next task in a planning scope, claim it, and return its context. Resolution prioritizes resuming in-progress tasks, suggesting next tasks, then my tasks. Use 'fresh' to skip resume.

Instructions

Pick the next task in scope, claim it, and return its context — all in one call. Resolution order: (1) resume any in_progress task, (2) suggest_next_tasks, (3) my_tasks fallback. Pass fresh:true to skip the resume step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeYes
ttl_minutesNo
freshNo
context_depthNo
dry_runNoIf true, return the candidate task without claiming. Lets the caller peek before committing. No phantom claim left behind.
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the internal resolution order and the effect of the dry_run parameter. However, it does not cover error handling or authorization, but the disclosed logic is sufficient for an agent to understand the tool's behavior.

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 description is extremely concise with only two sentences. The core action is front-loaded, and every sentence provides necessary information without redundancy.

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?

The tool is complex with 5 parameters and a nested scope object, yet no output schema. The description explains the resolution order and the fresh parameter, but omits details about the return value ('context'), the effect of context_depth, and edge cases like no task available. This leaves the agent with incomplete understanding.

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?

Only 20% of parameters (dry_run) have descriptions in the schema. The description adds meaning for fresh and scope, but does not describe ttl_minutes or context_depth. It partially compensates for the low schema coverage but leaves gaps.

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?

Description clearly states the verb 'Pick', 'claim', and 'return' applied to the resource 'next task'. The resolution order and the fresh parameter add specificity, making the tool's purpose distinct, even though it does not explicitly differentiate from sibling tools.

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?

The description provides clear guidelines on the resolution order and when to use fresh:true to skip the resume step. It does not explicitly mention when not to use the tool or compare with alternatives like 'release_task', but the context is well-defined.

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/TAgents/agent-planner-mcp'

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