Skip to main content
Glama

Reopen cycle

reopen_cycle
DestructiveIdempotent

Reopen a completed cycle (back to ACTIVE, clearing its end date). Requires project and cycleId. Only a completed cycle can be reopened. It does not reopen completed sub-cycles; reopen them individually once the parent is active. A sub-cycle cannot be reopened while its parent is Completed.

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": "reopen_cycle"
  }
}

Input Schema

NameRequiredDescriptionDefault
cycleIdYesCycle id to reopen.
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.

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.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true; the description adds real value by naming the resulting state (ACTIVE) and the side effect of clearing the end date, plus the cascading-behavior limits on sub-cycles. It does not mention permission requirements or what happens to any data associated with the completed cycle, which keeps it below a 5.

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?

Four short sentences, front-loaded with the action and state change, then the requirements, then the sub-cycle caveats. Every sentence carries distinct information with no repetition.

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 two-required-parameter mutation with full annotation coverage and no output schema, the definition covers preconditions, side effects, and cascading behavior well. The only minor gap is that it doesn't say what the call returns (e.g., the updated cycle), which matters slightly since no output schema exists.

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 the project parameter already explains the numeric-id-only rule from get_projects. The description only restates that both parameters are required, adding no syntax or format meaning beyond the schema.

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 plus the exact state transition: 'Reopen a completed cycle (back to ACTIVE, clearing its end date).' An agent can distinguish this from update_cycle or create_cycle purely from the description without opening a 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 preconditions ('Only a completed cycle can be reopened') and explicit exclusions for the trickiest case: completed sub-cycles are not reopened, and a sub-cycle cannot be reopened while the parent is Completed. It also names the workaround (reopen individually once the parent is active).

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.