Skip to main content
Glama
aleksakarac

Obsidian MCP Extended

by aleksakarac

get_task_statistics_tool

Analyze task completion, priority, and overdue status across a single note or your entire Obsidian vault. Get counts of total, incomplete, completed tasks, overdue items, and upcoming deadlines for project tracking.

Instructions

Get aggregate task statistics for a note or entire vault (filesystem-native).

Analyzes all tasks and provides:

  • Total, incomplete, completed counts

  • Breakdown by priority level

  • Overdue tasks (past due date, still incomplete)

  • Upcoming tasks (due within 7 days)

  • Recurring tasks count

  • Optional grouped data

When to use:

  • Project progress tracking

  • Workload analysis

  • Finding overdue tasks

  • Weekly planning

Performance:

  • Single note: < 100ms

  • Vault (1,000 notes): < 5 seconds

Returns: Comprehensive task statistics with counts and optional grouping

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeYesStatistics scope: single note or entire vault
file_pathNoFile path (required if scope='note')
group_byNoOptional grouping for detailed breakdown
vault_pathNoPath to vault (optional, uses OBSIDIAN_VAULT_PATH env if not provided)
ctxNo
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses performance metrics and return content, but lacks details on return format or potential edge cases. The tool is read-only, which is implied but not explicitly stated.

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?

The description is well-structured with sections (main description, statistics list, when to use, performance, returns). It is front-loaded with the key action. Minor redundancy could be trimmed, but overall efficient.

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?

Given the tool's complexity (aggregate task statistics with optional grouping), the description provides sufficient context: what statistics are returned, optional grouping, performance guidance. Missing output schema is compensated by the 'Returns' summary. Edge cases are not addressed.

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?

Input schema has 80% coverage with descriptions for 4 of 5 parameters. The description adds value by explaining the overall output, but does not elaborate on parameter details beyond the schema. The 'ctx' parameter remains undocumented.

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 clearly states 'Get aggregate task statistics for a note or entire vault' and lists specific statistics. It distinguishes the tool's focus on tasks, but does not explicitly differentiate from similar sibling tools like note_statistics_fs_tool or vault_statistics_fs_tool.

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 description includes a 'When to use' section with relevant scenarios (project progress tracking, workload analysis, etc.). However, it does not mention when not to use this tool or compare it to alternatives such as search_tasks_tool or note_statistics_fs_tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aleksakarac/obsidian-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server