Skip to main content
Glama

aggregate_tasks_by_period

Collect tasks from Obsidian daily notes across a chosen week, month, year, or custom range, then filter by completion status and group by date for review.

Instructions

Aggregate tasks from daily notes within a specified time period

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": {
      "period": "<period>"
    },
    "name": "aggregate_tasks_by_period"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterNoFilter tasks by completion statusall
periodYesTime period to aggregate tasks from
group_byNoHow to group tasks in the outputdate
custom_end_dateNoRequired if period is "custom". ISO date format (YYYY-MM-DD)
custom_start_dateNoRequired if period is "custom". ISO date format (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it says nothing about whether the operation is read-only, how output is shaped or grouped, how custom date ranges are validated, or how many tasks/notes are scanned. 'Aggregate' hints at a read, but that is inference, not disclosure.

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?

A single front-loaded sentence with no filler or repetition, so every word earns its place. The only cost is that this economy contributes to the underspecification noted elsewhere rather than being a flaw of structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter tool with three enums, a conditional custom date range, and no output schema, the definition is far too thin — it explains neither the grouping behavior controlled by group_by nor the response shape the agent should expect. An agent could not reliably predict the result structure from this text alone.

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 every parameter (filter, period, group_by, custom_start_date, custom_end_date) is already documented in the schema, and the description adds no format, default, or interaction detail beyond that. Baseline 3 is appropriate when the schema does the heavy lifting.

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 names a specific verb (aggregate) and resource (tasks from daily notes) with a stated scope (a specified time period), so an agent can immediately tell what the tool produces. It does not, however, distinguish itself from nearby siblings like extract_tasks, analyze_trends, or generate_task_summary, leaving the agent to infer the boundary.

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?

Use is only implied by the phrase 'within a specified time period' — there is no explicit when-to-use statement, no exclusion, and no named alternative for a different aggregation shape. The agent must reconstruct the selection rule from the sibling list rather than from the definition.

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