Skip to main content
Glama

add_task

Create a task with a unique id, dependencies, scope, and priority. Fails if the id already exists to prevent duplicates.

Instructions

Create a task. deps/scope accept an array or a comma string. Fails if the id exists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesStable unique id.
qaNoHow much review (default subagent).
depsNoIds this task waits on.
kindNoFree-text classifier — feature | bug | chore | yours.
specNoPlanning lifecycle.
tagsNoFree-form GitHub labels, verbatim and with no `field:` prefix (`frontend`, `security`). REPLACES the list. Adopted from the issue on every pull, so a label added in the web UI flows back.
tierNo1-4; how much model the work needs (default 3).
briefNoThe build brief: what it builds toward.
scopeNoFolders the task may edit.
stageNoNarrative label on a staged deliverable.
titleNoOne-line summary.
branchNoBranch to scope to (optional; the backend decides its use).
targetNoThe roadmap target this serves (add_target creates one). Must already exist.
projectNoThe project id — an opaque, supplied string, never derived. Omit to use the server's --project-id default.
contractNoThe done-condition, turned into a failing test first.
priorityNoHow urgent (default normal).
discovered_fromNoParent task, when split out mid-build.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.21.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It does add a meaningful behavior: 'Fails if the id exists,' which warns against duplicate creation. However, it does not mention other side effects, permissions, downstream consequences, or the non-idempotent nature beyond that one failure mode.

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?

Three short sentences with no filler. The core action is front-loaded, and each subsequent sentence provides distinct useful information about input format and duplicate-id failure.

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 schema already documents all 17 parameters and an output schema exists, so return details are not required. Still, this is a complex mutation tool with many siblings and no annotations; the description omits any selection guidance, prerequisite context, or broader side-effect information, making it minimally adequate rather than complete.

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 100%, so the baseline is 3. The description adds value by explicitly stating that deps/scope accept an array or a comma string, which clarifies the anyOf schema type, and by noting the id uniqueness failure condition.

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 description opens with 'Create a task,' a clear verb+resource statement that distinguishes this tool from edit, amend, close, delete, and start siblings. It does not explicitly compare itself to add_target or other creation-adjacent tools, so it falls short of full differentiation.

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

Usage Guidelines3/5

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

Usage is implied through 'Create a task' and the tool name, but there is no explicit guidance about when to choose add_task over edit_task, amend_task, or add_target. No exclusions or alternative-selection conditions are provided.

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

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/outputty/tasks-mcp'

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