Skip to main content
Glama

update_habit

Modify an existing habit's schedule, duration, title, notes, category, or privacy settings by sending only the fields you want to change.

Instructions

Update properties of an existing habit. Only include fields you want to change.

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": {
      "habitId": "<habitId>"
    },
    "name": "update_habit"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoNew description
titleNoNew habit title
habitIdYesHabit ID to update
idealDayNoPreferred day
idealTimeNoPreferred time
durationMaxNoNew maximum duration in minutes
durationMinNoNew minimum duration in minutes
alwaysPrivateNoCalendar privacy
eventCategoryNoWORK or PERSONAL
defenseAggressionNoDefense aggression level

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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 behavioral burden. It discloses partial-update semantics, but says nothing about permissions, reversibility, behavior when habitId does not exist, or what the response contains, which is a significant gap for a mutation tool.

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 two short sentences with no wasted wording. The core action is front-loaded, and the partial-update constraint follows immediately.

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?

The schema is rich and covers every parameter, which supports correct invocation. Still, the description is thin for a 10-parameter mutation with no annotations or output schema, and it leaves operational context such as alternative selection and success behavior to inference.

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 the schema already documents all 10 parameters and the single enum. The description adds only a general partial-update instruction rather than per-parameter meaning, making the baseline 3 appropriate.

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 clear verb and resource: update properties of an existing habit. It distinguishes the operation from create, delete, get, and list habits, but it does not explicitly differentiate it from sibling update tools such as update_task or update_focus_settings.

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 sentence 'Only include fields you want to change' gives useful partial-update guidance, implying that omitted fields remain untouched. However, it does not state when to choose this tool over alternatives, nor does it mention prerequisites such as the habit needing to exist.

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