Skip to main content
Glama

Add a task

add_task

Create a checkbox task in a project or today's daily note, with optional due date and priority, to track to-dos in a markdown knowledge vault.

Instructions

Add a checkbox task to a project's Tasks section (or today's daily note if no note given). Supports due date and priority.

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": {
      "text": "<text>"
    },
    "name": "add_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
dueNoYYYY-MM-DD
noteNoProject/note to attach to (title or path); default today's daily note
textYesTask description
headingNoSection to file under (default 'Tasks')
priorityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the key behavioral trait: the write target defaults to a project Tasks section or today's daily note, and filing goes under a configurable heading. It does not say whether the task is appended versus replacing anything, what happens on duplicate text, or what the call returns.

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?

Two sentences, front-loaded with the action and destination, followed by supported attributes. The trailing 'Supports due date and priority' is largely redundant with the schema's enum and date pattern, but it is short enough not to hurt.

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 tool with no annotations and no output schema, the description covers purpose, default destination, and default heading. It leaves gaps an agent would care about: whether the call returns the created task or confirmation, and how it behaves if the target note or heading does not exist.

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 80%, so the schema already documents due, note, and heading; the description mainly restates that due dates and priority are supported. The one genuine addition is restating the default destination for note, which slightly disambiguates the fallback semantics for heading 'Tasks' vs daily note.

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?

States a concrete verb and resource ('Add a checkbox task') and pins down the destination ('a project's Tasks section, or today's daily note'). It is clearly distinguishable from complete_task and update_task by being the creation path, though it never names those siblings to reinforce the contrast.

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?

The parenthetical 'or today's daily note if no note given' gives real routing context for the fallback case, which is more than most definitions offer. However there is no explicit guidance on when to prefer this over update_task/complete_task, or on prerequisites such as the project needing to exist.

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