Skip to main content
Glama

Create or update a goal

set_goal
DestructiveIdempotent

Create a roadmap goal (omit goalId) or update one (name, color, description). Progress is computed from the items linked with link_item_to_goal. Needs read-and-change access.

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": {
      "roadmapId": "<roadmapId>"
    },
    "name": "set_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoGoal name (required when creating)
colorNoColor as #rrggbb (optional)
goalIdNoGoal id from get_roadmap, to update it (omit to create a goal)
roadmapIdYesRoadmap id
descriptionNoShort description, or null to clear

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare the read/write and idempotency profile, so the bar is lower; the description still adds two useful facts — that progress is computed rather than written here, and that read-and-change access is required. It does not explain the destructiveHint=true annotation (nothing says what can be lost, e.g. clearing description or renaming, or whether updates are partial).

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?

Three short sentences, zero filler, with the create/update switch front-loaded and the permission requirement last. Every clause carries distinct information an agent needs.

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 five-parameter mutation tool with full schema coverage and no output schema, the description covers the mode switch, the derived-progress model, and the access requirement. Remaining gaps are the partial-update semantics (are unspecified fields left untouched?) and the destructive aspects flagged in annotations.

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 all five parameters (including name-required-on-create and the #rrggbb color pattern, and description=null to clear) are already documented structurally. The description only restates the updatable field set and that name is needed when creating, adding little beyond the schema — baseline 3.

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 and resource ('Create a roadmap goal ... or update one') and disambiguates the two modes with a concrete rule: omit goalId to create, supply it to update. It also names a sibling (link_item_to_goal) as the source of progress, so the agent can distinguish it from tools that set progress directly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The create-vs-update condition is explicit ('omit goalId' / 'to update it'), and the note that progress derives from link_item_to_goal tells the agent it is not the tool for setting progress (cf. set_progress). No explicit when-not-to-use or prerequisite ordering is given, so it stops short of a 5.

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