Skip to main content
Glama

refresh_tasks

Idempotent

Rebuild the task tracker from recent WhatsApp chats (default 14 days) while keeping messages read-only; choose the account and lookback window as needed.

Instructions

Rebuild the task tracker from the last days days of chats (default 14). Read-only for WhatsApp.

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

Input Schema

NameRequiredDescriptionDefault
daysNo
accountNoAccount from list_accounts when several WhatsApp numbers are set up; default: default

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false. The description usefully clarifies that the source chats are not modified ('Read-only for WhatsApp'), which resolves the apparent tension between 'rebuild' and non-destructive hints. It does not say what happens to the existing tracker contents or any manual edits when the rebuild occurs, which is the key remaining behavioral question.

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 with the action and lookback front-loaded and the scope caveat second; nothing is redundant or padded.

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?

An output schema exists, so return values need not be described, and annotations cover the safety profile. For a mutating rebuild, however, the definition should clarify whether prior tracker state or user-curated tasks are replaced, and it offers no guidance on when a refresh is warranted.

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 50%; the `account` parameter is fully documented in the schema, while `days` has only a type and default. The description compensates by explaining that `days` sets the lookback window of chats and restating the default of 14, so both parameters now have 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 pairs a specific verb, 'Rebuild', with a specific resource, 'the task tracker', and states the scope: the last `days` days of chats. It doesn't name the obvious siblings (detect_tasks, tasks_overview), so it is clear on what it does but not on how it differs from them.

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 by the rebuild semantics; there is no statement of when to prefer this over detect_tasks or tasks_overview, nor any prerequisite or frequency guidance. The mention of a 14-day default gives a hint about typical use but stops short of real routing guidance.

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