Skip to main content
Glama
amazing-marvin-complete-mcp

amazing-marvin-complete-mcp

mark_done

Idempotent

Marks a task as completed, stops running time tracking, and cleans up its T and M reminder entries by clearing reminderTime.

Instructions

Mark a task as done and clean up its reminders as the app does. Reads the task, runs /markDone (configured timezone) and then does what the app does: the server entries T and M are removed and reminderTime is cleared; the reminders list remains. Projects: /markDone responds 400 (tasks only); projects are closed with mark_project_done. 404 = does not exist, 400 = already done or a project. Habit task (field habitId): the habit is also recorded with /updateHabit at 12:00 on the task's day, and habitRepAt is set. Habit with a count (recordType number): value is recorded with the current time; the task is checked off only once the day's total reaches the target — otherwise it stays open and the response shows the total. Recurring occurrence: safe (deterministic id). After completion: the next occurrence is created +N days later. With a future day the tool does what the app does: the occurrence is moved to today before it is checked off, and the next one is counted from today. If a step fails the response says which steps were done. Running time tracking is stopped and written to task.times. /markDone does not set workedOnAt and does not stamp fieldUpdates, which the app does. Reward points: /markDone awards the task's rewardPoints automatically, whatever the strategy settings (live-tested 2026-12-01). claim_reward_points for the same task afterwards does nothing: one award per task (verified twice). Without rewardPoints the completion awards 0: the app's rules (default points, frog bonus) are computed only in the app. Day Starts At: /markDone sets day to the calendar date. Before the account's day start (dayStartTime 00:00-06:00) a day the server set is moved to the user's day with one extra /doc/update (day_corrected); points and doneAt stay and the app's Logbook follows day.

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": {
      "item_id": "<item_id>"
    },
    "name": "mark_done"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueNoHabit task with a count only: the value to record (default 1)
item_idYesTask ID (NOT a project — mark_project_done closes those)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.7.3
    • changedInput schema / properties / item_id / description
      Previous value: -"Task ID (NOT a project — see description)"New value: +"Task ID (NOT a project — mark_project_done closes those)"
    • addedInput schema / properties / value
      Added value: +{
      +  "anyOf": [
      +    {
      +      "exclusiveMinimum": 0,
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Habit task with a count only: the value to record (default 1)"
      +}
  2. First observedv1.3.0

TDQS

A4.7/5.0
Behavior5/5

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

Far beyond the annotations: it names exactly what is removed (server entries T and M, reminderTime cleared, reminders list retained), that running time tracking is stopped and written to task.times, that workedOnAt and fieldUpdates are NOT stamped, the 404/400 meanings, and that partial failures are reported per step. It even flags reward-point awarding and the day-start correction path with a live-test date, which is exactly the context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the remainder is a dense single block mixing happy path, edge cases, and parenthetical verifications ("live-tested 2026-12-01", "verified twice") without sectioning, which makes it hard to scan. Nearly every sentence carries information, but the repetition of "does what the app does" and the testing asides could be trimmed or moved.

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

Completeness5/5

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

For a mutation with an output schema and four annotations, this covers the remaining gaps: error semantics, partial-failure reporting, habit and recurring-occurrence edge cases, reward-point side effects, and the day-start correction. Nothing an agent needs to call it correctly or to interpret an unusual response is missing.

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 100% so the baseline is 3, but the description adds real meaning about the optional value parameter: it applies only to count-based habits, the value is recorded at the current time, and the task is checked off only once the day's total reaches the target (otherwise it stays open and the response shows the total). It also reinforces that item_id must be a task, not a project.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Mark a task as done and clean up its reminders") and immediately draws the boundary against the sibling that does the other thing: "Projects: /markDone responds 400 (tasks only); projects are closed with mark_project_done." An agent can pick this tool over mark_project_done without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing rules: tasks here, projects via mark_project_done, and it pre-empts the follow-up question by stating that claim_reward_points afterwards does nothing because there is one award per task. It also conditions behavior on task shape (habitId, recordType number, recurring occurrence) so the agent knows which invocation paths exist.

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