Skip to main content
Glama

Update cycle

update_cycle
DestructiveIdempotent

Update a cycle. Requires project and cycleId; name, description, cycleTypeId, startDate/endDate (yyyy-MM-dd), status (UPCOMING/ACTIVE/COMPLETED), parentCycleId and clearParent are optional and applied when provided. Set status ACTIVE to start the cycle (needs a startDate) or COMPLETED to complete it (needs an endDate); completing a cycle completes every sub-cycle beneath it.

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": {
      "project": "<project>",
      "cycleId": "<cycleId>"
    },
    "name": "update_cycle"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional new name.
statusNoOptional status: UPCOMING, ACTIVE or COMPLETED.
cycleIdYesCycle id to update.
endDateNoOptional end date (yyyy-MM-dd).
projectYesProject id the cycle belongs to. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted.
startDateNoOptional start date (yyyy-MM-dd).
clearParentNoSet true to detach the parent cycle.
cycleTypeIdNoOptional new cycle type id.
descriptionNoOptional new description.
parentCycleIdNoOptional new parent cycle id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project / description
      Previous value: -"Project id the cycle belongs to. Numeric id from get_projects (same as in the app URL); not the project name."New value: +"Project id the cycle belongs to. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted."
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint, idempotentHint), the description discloses a significant side effect: completing a cycle completes every sub-cycle beneath it, a cascading destructive behavior an agent must know before calling. It also discloses partial-update semantics and the validation rules attached to status transitions, none of which appear in 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?

It is front-loaded with the required parameters, then the optional ones, then the conditional transition rules, so an agent can skim in priority order. Some of the optional-field enumeration duplicates the schema's own property descriptions, which is minor waste.

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 10-parameter mutation tool with no output schema, the description covers required inputs, optional inputs, validation conditions, and the destructive cascade. It omits what the call returns and what happens if a requested status transition is invalid (e.g. branching to UPCOMING), which are the remaining gaps.

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 genuine meaning: the conditional dependency between status and startDate/endDate, and the detach semantics of clearParent versus the attach semantics of parentCycleId. It does not clarify how parentCycleId and clearParent interact if both are supplied.

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 a cycle') and immediately scopes it by naming the required identifiers and the full set of mutable fields. It never names a sibling such as reopen_cycle or create_cycle to distinguish when this tool is the right choice, so it falls short of the top band.

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?

It clearly states the conditions under which fields take effect ('optional and applied when provided') and spells out state-transition prerequisites: ACTIVE needs a startDate, COMPLETED needs an endDate. There are no explicit exclusions or routing to alternatives like reopen_cycle for reverting a completed cycle.

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.