Skip to main content
Glama

add_task

Add a task to a TaskPaper project, with optional notes and tags supplied inline or as separate fields.

Instructions

Add a task to a project. Tags can be inline in the text (e.g. '@due(2026-04-01)') or specified separately.

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
fileNo
noteNoNote text to add under the task
tagsNoTags to apply
textYesTask text (without leading dash)
projectNoProject to add task under

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description bears the full burden; it does disclose the concrete inline-tag syntax ('@due(2026-04-01)'), which is real behavioral detail the schema lacks. However it says nothing about side effects, what happens when the project does not exist, duplicate handling, or what is returned on success.

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?

Two short sentences, front-loaded with the core action, with the secondary tag detail following. No filler or redundancy; every clause carries information.

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 5-parameter mutation tool with no annotations and no output schema, the description covers the main action and tag mechanics but omits the meaning of `file`, the required-ness of `project`, and failure behavior. Adequate to attempt a call, incomplete for calling it confidently in edge cases.

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 already 80%, establishing a baseline of 3, and the description adds genuine meaning by explaining the relationship between the `text` and `tags` parameters — tags may be embedded in text rather than passed in the array. The `file` parameter and the effect of `project` remain unexplained, keeping 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?

States a specific verb and resource ('Add a task') plus its target ('to a project'), which separates it from siblings like add_project, add_note, or add_tasks. It stops short of explicitly contrasting itself with those siblings, but the action 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 Guidelines3/5

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

Offers a useful usage choice for tags — inline in the task text or passed separately — which tells the agent two valid call patterns. There is no guidance on when to prefer this over add_tasks or add_note, and no stated prerequisites such as whether the project must already exist.

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