Skip to main content
Glama

update_habit

Modify existing smart habit parameters including title, schedule, duration, frequency, and settings to adapt to changing needs.

Instructions

Update an existing smart habit.

Args: lineage_id: The habit lineage ID to update title: New title (optional) ideal_time: New preferred time in "HH:MM" format (optional) duration_min_mins: New minimum duration in minutes (optional) duration_max_mins: New maximum duration in minutes (optional) enabled: Enable/disable the habit (optional) frequency: New frequency (DAILY, WEEKLY, MONTHLY, YEARLY) (optional) ideal_days: New ideal days list (optional) event_type: New event type (optional) defense_aggression: New defense aggression (optional) description: New description (optional)

Returns: Updated habit object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lineage_idYes
titleNo
ideal_timeNo
duration_min_minsNo
duration_max_minsNo
enabledNo
frequencyNo
ideal_daysNo
event_typeNo
defense_aggressionNo
descriptionNo

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/universalamateur/reclaim-mcp-server'

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