Skip to main content
Glama

tududi_update_habit

Modify a habit's settings—name, schedule, targets, reminders, polarity, priority, color—and archive or unarchive it by UID.

Instructions

Update habit settings and/or archive state

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": {
      "id": "<id>"
    },
    "name": "tududi_update_habit"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesHabit UID
nameNoNew habit name
unitNoOptional measurement unit (e.g. ml, pages, mins)
colorNoHex color (#rrggbb)
archivedNoArchive (true) or unarchive (false) the habit
polarityNoWhether to build or quit this habit
priorityNoPriority level
timeOfDayNoPreferred time of day
descriptionNoHabit notes or instructions
targetCountNoTarget completions per period (1-1000)
targetValueNoOptional numeric measurement target (e.g. 2000)
intervalDaysNoInterval in days (>= 2) for custom schedules
reminderTimeNoReminder time in HH:mm format
scheduleDaysNoScheduled days of week (0-6)
frequencyPeriodNoTracking period for target count

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses very little. The phrase 'and/or' hints that partial updates are allowed and that archiving is a mode of this same call, but it never confirms that omitted fields are left untouched, says nothing about permissions or reversibility of archiving, and gives no success/failure behavior for a 15-parameter mutation.

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?

One front-loaded sentence with no wasted words and the mutation framing up front. It is arguably under-specified rather than bloated, which costs it a point only because the brevity leaves the 15 parameters uncontextualized.

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?

A 15-parameter mutation tool with no annotations and no output schema needs more than a single clause, especially around partial-update semantics and archive/unarchive behavior. As written, an agent knows the tool edits a habit but must read the schema alone to understand what a call actually does.

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 one of the 15 parameters, including the four enums and the schedule/interval fields, is already documented in the schema. The description adds only the broad categories 'settings' and 'archive state', which is the baseline expectation when the schema does the explanatory work.

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 states a specific verb and resource ('Update habit settings') and adds scope ('and/or archive state'), which is enough to separate it from tududi_create_habit, tududi_delete_habit, and tududi_log_habit_completion. It does not explicitly name a sibling for contrast, so it stops short of a 5.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: nothing says to prefer this over tududi_create_habit for renames, or over tududi_log_habit_completion when the goal is recording progress rather than editing settings. The only implied guidance is that archiving happens here rather than in a dedicated tool.

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