Skip to main content
Glama

update_goal

Modify an existing Lattice goal by supplying its ID and all required fields, including name, dates, priority, owners, visibility, and progress tracking.

Instructions

Update an existing goal (PUT - all fields required)

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": {
      "id": "<id>",
      "name": "<name>",
      "description": "<description>",
      "startDate": "<startDate>",
      "dueDate": "<dueDate>",
      "priority": "<priority>",
      "private": "<private>",
      "ownerIds": "<ownerIds>",
      "okrType": "<okrType>",
      "amountType": "<amountType>",
      "startingAmount": "<startingAmount>",
      "goalAmount": "<goalAmount>",
      "companyGoal": "<companyGoal>",
      "departmentId": "<departmentId>",
      "departmentsVisibleToIds": "<departmentsVisibleToIds>",
      "goalCycleId": "<goalCycleId>",
      "tagNames": "<tagNames>",
      "isDraft": "<isDraft>",
      "parentId": "<parentId>"
    },
    "name": "update_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesGoal ID to update
nameYesGoal name
dueDateYesDue date (YYYY-MM-DD)
isDraftYesDraft status
okrTypeYesOKR type
privateYesWhether the goal is private
ownerIdsYesUser IDs who own this goal
parentIdYesParent goal ID
priorityYesPriority 1-10
tagNamesYesTag names (max 5)
startDateYesStart date (YYYY-MM-DD)
amountTypeYesProgress tracking type
goalAmountYesTarget amount
companyGoalYesWhether company goal
descriptionYesGoal description
goalCycleIdYesGoal cycle ID
departmentIdYesDepartment ID
startingAmountYesStarting amount
departmentsVisibleToIdsYesVisible department IDs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does deliver the single most important behavioral fact for a PUT tool — that all fields are required, implying unspecified fields are replaced rather than merged — but it says nothing about permissions, whether the replacement is reversible, or what happens to fields omitted from a partial payload.

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?

Two compact clauses, front-loaded with the operation and immediately followed by the constraint that matters most. Nothing is wasted, though the parenthetical is squeezed onto one line rather than being given clear structure.

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?

For a 19-required-parameter mutation with no annotations and no output schema, the description is thin. It never addresses what a full replacement does to fields the caller might expect to persist, whether draft goals can be updated, or any side effects on related entities — gaps an agent would need filled before calling it safely.

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% and every one of the 19 required parameters is documented in the schema itself, so the baseline of 3 applies. The description adds only the cross-cutting 'all fields required' rule and contributes no per-parameter meaning beyond the schema.

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 gives a specific verb and resource ('Update an existing goal') and adds the HTTP verb semantics '(PUT - all fields required)', which is material for a 19-parameter call. It does not name or contrast with siblings such as create_goal or list_goals, but the purpose is unambiguous on its own.

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?

Usage is only implied: 'existing goal' tells the agent the goal must already exist, so create_goal is the alternative for new goals. There is no explicit statement of when to reach for this versus create_goal_update or other mutation tools, and no preconditions or exclusions are given.

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