Skip to main content
Glama

Create task

create_task

Capture multi-session work as a persistent task with goal, constraints, and acceptance criteria, so agents can track progress and surface related dead ends before starting.

Instructions

Capture work that will not finish this session. Pass cwd and todox picks the project; registering a new one needs repo_root or repo_url too. Put the goal and the definition of done in body. If dead ends in this project share its title's terms, they come back as related_dead_ends -- read them before starting.

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

Input Schema

NameRequiredDescriptionDefault
cwdNoAbsolute working directory. Resolves — and if needed creates — the project.
bodyNoGoal, constraints, acceptance
filesNoAbsolute paths of files in play; hashed here for staleness
modelNoYour model id, e.g. 'claude-opus-5'.
titleYes
statusNo
projectNoExplicit slug or name. Use when the task does not belong to `cwd`.
priorityNo1 high, 2 normal (default), 3 low. High-priority tasks are carried first in the briefing and keep their bodies longest; reports label it importance. Every task at 1 is the same as every task at 2.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.8
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / anyOf
      Removed value: -[
      -  {
      -    "required": [
      -      "project"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "cwd"
      -    ]
      -  }
      -]
  2. First observedv0.1.4

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 must carry the behavioral load; it usefully discloses the project auto-resolution side effect and the `related_dead_ends` return field. However, it references `repo_root` or `repo_url` as required for registering a new project, and neither parameter exists in the input schema, which can send an agent hunting for fields that aren't there.

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?

Four dense sentences, front-loaded with the core purpose and no filler. The telegraphic compression is efficient, though the parenthetical about repos introduces a claim the schema doesn't support.

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 an 8-parameter creation tool with no annotations and no output schema, it covers purpose, project resolution, body content, and one notable return field. Remaining gaps (idempotency, failure modes, the other returned fields) are partially absorbed by the fairly descriptive schema.

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 coverage is already 75%, so the baseline is near 3. The description does add genuine meaning for `title` (it drives dead-end term matching) and for `body` (goal plus definition of done), but the `repo_root`/`repo_url` reference adds ambiguity rather than semantics for real parameters.

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?

"Capture work that will not finish this session" states the operation and adds a scope qualifier that separates it from session-scoped logging tools like log_entry. It never says plainly "creates a task record," leaning on the title for that, but the intent is unambiguous.

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?

Gives a clear selection criterion (work spanning beyond this session) and a procedural instruction to read related_dead_ends before starting. It does not name any sibling alternative (e.g. add_context, log_entry) or state when not to create a task, so it falls short of full when/when-not guidance.

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