Skip to main content
Glama
TAMA-MCP-Server

TAMA-MCP-Server

by Gitreceiver

add_subtask

Creates a subtask under a parent task with a title, priority, dependencies, and optional description, so you can break work into trackable steps.

Instructions

添加子任务。

Args:
    parent_id: 父任务ID
    title: 子任务标题
    description: 可选的子任务描述
    priority: 子任务优先级 (high, medium, low)
    dependencies: 依赖任务ID列表
    
Returns:
    新创建的子任务对象,失败返回None

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": {
      "parent_id": "<parent_id>",
      "title": "<title>"
    },
    "name": "add_subtask"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
priorityNomedium
parent_idYes
descriptionNo
dependenciesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It usefully discloses the return contract ('新创建的子任务对象,失败返回None'), which matters because there is no output schema, but it says nothing about side effects, whether the parent must already exist, whether dependency IDs must resolve to real tasks, or any permission requirements for this mutation.

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 one-line purpose statement is front-loaded, and the Args/Returns block is compact and scannable with no filler. Each line corresponds to a distinct parameter, so given the empty schema descriptions none of it is redundant padding.

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?

For a five-parameter mutation with no annotations and no output schema, the definition covers all inputs and the return/failure contract, which is the core. It is still incomplete on preconditions and error modes: nothing about parent existence validation, dependency resolution, or why creation might fail beyond returning None.

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?

Schema description coverage is 0%, so the argument list in the description does real work: it gives meaning to all five parameters, including the allowed priority values (high, medium, low) and that description is optional. It stops short of explaining how dependencies behave (blocking vs. informational) or that parent_id must reference an existing task, which keeps it from a 5.

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 opening verb+resource pair '添加子任务' (add a subtask) is specific and the required parent_id makes clear this creates a child of an existing task, which distinguishes it in spirit from add_task. However, the description never names or contrasts any sibling (e.g. add_task, add_dependency), so the differentiation is left to the reader's inference from the tool name.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no pointer to alternatives such as add_task or add_dependency. The only implicit signal is the required parent_id, which suggests a subtask must hang off an existing task, but the description never states that precondition or any other context for choosing this tool.

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