Skip to main content
Glama

extract_tasks

Extract tasks from Obsidian daily notes within a date range, grouped by completion status, to review what is done and outstanding; defaults to the current week.

Instructions

Extract all tasks from daily notes in a date range, categorized by completion status. Defaults to the current week.

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": "extract_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNoEnd date in ISO format (YYYY-MM-DD). Defaults to Sunday of current week.
start_dateNoStart date in ISO format (YYYY-MM-DD). Defaults to Monday of current week.
include_timestampsNoWhether to include completion timestamps (e.g., ✅ 2025-09-25)

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 disclosure burden. It does useful work by stating the default range (current week) and that results are grouped by completion status, implying a read-only extraction, but it does not say which notes/folder are read, whether the scan is expensive, or what a returned task entry contains beyond an optional timestamp.

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 and scope, then the default behavior. Nothing is wasted and no clause is redundant.

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 a tool with three optional, fully documented parameters and no output schema, the description supplies the key output contract (tasks grouped by completion status) and the default window, which is most of what an agent needs. Only the shape of individual task records and the notes source remain unspecified.

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 100% and all three parameters already document their ISO formats and defaults, so the schema does the heavy lifting. The description's "Defaults to the current week" only restates what the schema already specifies for start_date and end_date, adding no new syntax or behavioral meaning.

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 ("Extract") and resource ("all tasks from daily notes"), plus scope (a date range) and result grouping ("categorized by completion status"). It is clear what the tool returns, though it never explicitly contrasts itself with siblings like aggregate_tasks_by_period or generate_task_summary, so an agent must infer which one to pick.

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?

Usage is only implied: it tells the agent the tool reads daily notes over a date range and defaults to the current week, which helps it decide when the tool applies. There is no explicit when-not guidance and no named alternative for aggregating or summarizing instead of extracting.

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