Skip to main content
Glama

List tasks

list_tasks

List markdown tasks across an Obsidian vault or within one note, filtered by status, completion, or daily notes. Returns path:line references for updating tasks.

Instructions

List markdown tasks, vault-wide or in one note. Each task has a ref (path:line) usable with update_task.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoNote name, resolved like a wikilink. No folder path, no extension.
pathNoExact path from the vault root, e.g. "Projects/Roadmap.md".
totalNoReturn only the count.
filterNoRestrict to open, completed, or daily-note tasks.
statusNoFilter by a custom status character, e.g. "/".

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?

With no annotations, the description carries the full behavioral burden: it discloses the return shape ('ref (path:line)'), which is genuinely useful since there is no output schema. It says nothing about default filtering (whether completed tasks are included), ordering, or permissions, leaving meaningful behavior undisclosed.

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 sentences, front-loaded with the purpose and scope, and the second sentence delivers exactly the one piece of information the schema cannot express — the ref format and its downstream consumer. No filler.

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 optional-parameter list tool with a fully documented schema, the description covers purpose, scope, and return shape. It leaves open how 'file' and 'path' interact when both are supplied and what the default task set is, which are small but real gaps.

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 description coverage is 100%, so the schema already documents all five parameters including the enum and examples. The description only echoes the 'one note' scoping implied by file/path and adds nothing to disambiguate the two overlapping note-selection params, so the baseline 3 applies.

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 gives a specific verb and resource ('List markdown tasks') plus an explicit scope of vault-wide or single-note, which distinguishes it from note-listing siblings like list_notes. It does not name a sibling it is not, so it stops short of a 5.

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?

Scope ('vault-wide or in one note') implies when this tool is appropriate, and pointing at update_task as the consumer of the returned ref gives a workflow hint. There is no explicit when-not or alternative-selection guidance, so usage remains inferred rather than stated.

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