Skip to main content
Glama

update_habit

Update a habit's mutable fields such as title, description, deadline, recurrence, or labels. Accepts habit ID as UUID, sequence shorthand, canonical ref, or app URL.

Instructions

Patch mutable fields on a habit. Omitted fields stay untouched.

habit_id accepts any reference form — UUID, sequence shorthand (#123, personal-org only), canonical ref (acme-123), or app URL — and is resolved to a UUID before the patch.

v0.2 optional fields:

  • deadline_time_of_day: "HH:MM" time-of-day deadline (user's TZ).

  • subtask_template: list of subtask shapes materialized per occurrence.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
habit_idYes
titleNo
descriptionNo
complete_byNo
recurrenceNo
labelsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description should disclose behavior. It explains habit_id resolution and that omitted fields are untouched, but does not mention error handling, permission requirements, or whether fields are truly mutable. The mention of v0.2 optional fields adds some context but leaves other behavioral aspects unclear.

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?

The description is concise with no extraneous text. The first sentence communicates the purpose, followed by focused details on habit_id and optional fields. Every line adds value, and the structure is front-loaded and easy to scan.

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?

Given 6 parameters, no annotations, and an output schema not shown, the description is incomplete. It omits explanations for key mutable fields like recurrence, labels, and null behavior. The mention of v0.2 fields not in schema creates confusion. Overall, it fails to fully equip an agent for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must add meaning. It thoroughly details habit_id formats and two extra fields (deadline_time_of_day, subtask_template) not in schema, but the 5 other schema parameters (title, description, etc.) receive no description. This partial coverage leaves most parameters semantically opaque.

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?

The description clearly states the tool patches mutable fields on a habit, with the first sentence specifying the operation and resource. It distinguishes from siblings like create_habit and delete_habit by explicitly focusing on updating existing habits, leaving no ambiguity.

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 implies use for partial updates via 'Omitted fields stay untouched' but provides no explicit when-to-use or when-not-to-use guidance relative to alternatives like update_habit vs mark_habit_occurrence. Context of sibling tools suggests this is for field updates, but the description lacks direct contrast.

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/Circuit-Stitch/defernowork-mcp'

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