Skip to main content
Glama

update_goal

Update a goal — its status, target, tags, metric, dates, or the manual counter. Status is one of not_started | active | at_risk | achieved | abandoned. at_risk is set deliberately by a human or agent that knows the goal is slipping; nothing sets it automatically, so it stays meaningful. To advance a manual goal pass manual_done. Do not set current_value — measured goals are re-read from the source by refresh_goals. Passing metric_key CHANGES what this goal measures — it re-baselines from the new metric immediately (the old baseline meant nothing under the new one), it does not just relabel the existing progress. Call goal_metrics first to confirm the key. This is the fix for a wrong metric choice at create time — no need to delete and recreate the goal.

Input Schema

NameRequiredDescriptionDefault
tagsNoJSON array of labels — replaces the existing set
stageNodiscover | fix | build | grow | defend
titleNoNew title
due_atNoISO 8601 date/time this goal is due
statusNonot_started | active | at_risk | achieved | abandoned
goal_idYesGoal id from list_goals
site_idYesThe brand/site ID
categoryNoseo | aeo | geo | technical | content | authority
priorityNolow | medium | high
starts_atNoISO 8601 date/time this goal starts
metric_keyNoA key from goal_metrics. Changing this re-baselines the goal from the new metric, right now.
descriptionNoNew description
manual_doneNoHow many of manual_total are done
manual_totalNoRevised total for a manual goal
target_valueNoRevised target

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say it is a non-idempotent, non-destructive write. The description adds substantive behavior: metric_key immediately re-baselines the goal rather than relabeling, at_risk is only ever set deliberately and never automatic, and current_value must not be set. That is real context beyond the structured fields.

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?

Front-loaded with the operation and its field list, then layered with targeted caveats. Dense but nearly every sentence carries a distinct constraint; the metric_key paragraph is slightly long relative to the rest but earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 15-parameter mutation with no output schema and no idempotency guarantee, the description covers the risky behaviors (re-baselining, at_risk semantics, current_value prohibition) well. It leaves response shape and the behavior of unmentioned fields implicit, but annotations and the full schema description coverage fill much of that gap.

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 baseline is 3, but the description adds meaning the schema lacks: why at_risk carries signal, that manual_done advances a manual goal, and the re-baselining consequence of metric_key. It does not explain every parameter (e.g. stage, priority, category), so it stops short of a 5.

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?

States a specific verb (Update) and resource (a goal), enumerates the mutable fields (status, target, tags, metric, dates, manual counter), and positions itself against siblings like create_goal, delete_goal, refresh_goals, and goal_metrics. An agent can distinguish it from those siblings without opening any schema.

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?

Gives explicit when-to-use guidance: pass manual_done to advance a manual goal, do not set current_value (refresh_goals re-reads measured goals), call goal_metrics first before setting metric_key, and use this instead of deleting/recreating to fix a wrong metric. Alternatives and exclusions are named.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources