Skip to main content
Glama

Update a goal

goalslot_update_goal
Idempotent

Update an existing goal's fields, including status (ACTIVE, COMPLETED, PAUSED), title, deadline, category, and target hours. Logged hours are adjusted only through time entries, not here.

Instructions

WRITES. Updates fields on an existing goal, including its status. There is deliberately no way to set loggedHours here. Logged hours are accumulated from time entries; to change them, add or correct a time entry with log_time. There is no archived status. PAUSED is how the user shelves a goal without deleting it. Deleting a goal is not available as a tool at all; tell the user to run the CLI if they want one gone. Only send the fields that should change.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorNoNew hex color such as #3B82F6.
titleNoNew goal name.
goalIdYesGoal id from list_goals. Never construct or guess an id.
statusNoGoal status. One of ACTIVE, COMPLETED, PAUSED. There is no archived state; PAUSED is how a goal is shelved.
categoryNoA category value string, not a display name and not an id. It must be one of the values from get_context.categories[].value, for example DEEP_WORK or LEARNING. An unknown value does not error, it silently produces an uncategorized record, so read get_context first.
deadlineNoNew deadline for the goal. Calendar date as YYYY-MM-DD, for example 2026-08-25, interpreted in the user's timezone (get_context.timezone). Never include a time or a Z suffix. Use get_context.today rather than assuming what today is.
descriptionNoNew longer description.
targetHoursNoNew target in HOURS, minimum 1.
Behavior5/5

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

Beyond annotations (readOnlyHint false, idempotentHint true), the description discloses critical behavior: it writes, it cannot set loggedHours because those come from time entries, there is no archived status, and CLIs are needed for deletion. It also explains the partial-update expectation with 'Only send the fields that should change,' which is not derivable from the schema or annotations alone.

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 compact yet information-dense. Every sentence adds value: the opening line states purpose, then exclusions, status semantics, deletion guidance, and usage instruction. No filler or redundancy; it is well-structured with the core purpose front-loaded.

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?

Despite lacking an output schema, the description covers all operational aspects needed to invoke the tool correctly: what it updates, what it cannot update, how to handle related behaviors (logged hours, shelving, deletion), and the PATCH-like calling convention. The only minor gap is the return value, but the annotations and sibling context make this a complete picture for an agent.

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 schema fully describes each parameter. The description adds meaningful usage context by explaining that loggedHours is deliberately absent and instructs to send only changed fields, which clarifies partial-update semantics. This goes beyond what the schema states about optionality, though it doesn't add per-parameter details.

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 states exactly what the tool does: 'Updates fields on an existing goal, including its status.' This is a specific verb and resource that clearly separates it from sibling tools like create_goal or update_task. It also explicitly notes what it does not do (loggedHours, deleting), further sharpening purpose.

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?

The description gives explicit guidance on when not to use this tool and directs to alternatives: logged hours must be changed via log_time, and deletion is not available as a tool (tell the user to use the CLI). It also clarifies status semantics (no archived, PAUSED for shelving), which helps the agent decide when this tool is appropriate.

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/ZeeshanAdilButt/goalslot-mcp'

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