Skip to main content
Glama

add_task

Adds a task to a specific note or today's daily note, optionally under a heading, and writes due, scheduled, start, priority and recurrence details in Tasks-plugin emoji format.

Instructions

Add a task to a note (optionally under a heading) or to today's daily note. Due/scheduled/start dates, priority and recurrence are written in Tasks-plugin emoji format.

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
dueNoDue date (YYYY-MM-DD, or today/tomorrow/+3)
fileNoNote to add to; omit for today's daily note
textYes
startNoStart date (YYYY-MM-DD, or today/tomorrow/+3)
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
headingNo
priorityNo
scheduledNoScheduled date (YYYY-MM-DD, or today/tomorrow/+3)
recurrenceNoe.g. "every week"
add_created_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-readonly, non-idempotent, non-destructive write, so the safety profile is covered. The description adds genuinely useful behavior the annotations don't: the default daily-note target and the fact that dates/priority/recurrence are serialized in Tasks-plugin emoji format. It does not disclose whether a missing note is created, what happens on duplicate tasks (relevant given idempotentHint=false), or what is returned.

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 dense sentences, front-loaded with the action and destination, then the formatting contract. No filler or restated title; the second sentence is terse enough that a reader must infer which parameters it covers.

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 10-parameter write tool with no output schema, the definition covers destination and format but not return values (created line, file path, task id), failure modes (note not found), or the meaning of add_created_date. Adequate to attempt a correct call, but not 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 coverage is 60%, and the description compensates meaningfully: it explains that heading scopes placement, that omitting file targets today's daily note, and that due/scheduled/start/priority/recurrence are encoded in Tasks emoji syntax rather than plain text. It leaves add_created_date, vault resolution, and priority defaults to the schema.

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 specific verb and resource ('Add a task') and names the two possible destinations: a note, optionally under a heading, or today's daily note. An agent can distinguish this from update_task/delete_task, though the description never names those siblings explicitly.

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?

Implies the usage context ('to a note … or to today's daily note') and that file may be omitted to target the daily note, but gives no explicit when-to-use versus update_task or delete_task, and no prerequisites or exclusions. Guidance is inferable rather than stated.

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

Deploy Server

Other Tools