Skip to main content
Glama

get_cycle_generation

Read-onlyIdempotent

Read the latest "Generate all" batch of a playbook cycle: overall status (running, completed, stopped, interrupted) and each step's status — queued, generating, done, failed, blocked, skipped or not_started — with a reason and message where relevant. Returns batch: null when none was ever started.

When to use: to follow up after generate_cycle_content, or when the user asks how a cycle's generation is going.

**Links:** present `link_url` to the user exactly as returned — copy it character for character. Never retype, shorten, or rebuild a link or the IDs inside 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": {
      "team_id": "<team_id>",
      "run_id": "<run_id>"
    },
    "name": "get_cycle_generation"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYesCycle id — the integer run_id from list_playbook_cycles / instantiate_playbook, not a UUID.
team_idYesTeam id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions.

Output Schema

NameRequiredDescriptionDefault
batchNo
cycle_link_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / team_id
      Added value: +{
      +  "description": "Team id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions.",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "run_id"
      -]New value: +[
      +  "team_id",
      +  "run_id"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / run_id / description
      Previous value: -"Cycle id — the run_id from list_playbook_cycles."New value: +"Cycle id — the integer run_id from list_playbook_cycles / instantiate_playbook, not a UUID."
  3. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so the safety profile is covered. The description adds value beyond that: the full status vocabulary, the per-step statuses with reason/message, the null-batch edge case, and the operational rule that link_url must be copied verbatim. It does not discuss pagination or freshness, but those are minor for a single-batch read.

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 what is returned, then a compact "When to use" clause, then a bolded Links rule. Every sentence carries information. The link-handling paragraph is somewhat boilerplate but is genuinely relevant to this tool's output.

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?

With an output schema present, the description needn't document return shape, yet it still names the status values and the null case, which helps the agent interpret results. Required team_id/run_id sourcing is covered in the schema. Only the ambiguity versus get_generation_status is left unaddressed.

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 coverage is 100% and the schema already explains run_id as the integer cycle id from list_playbook_cycles/instantiate_playbook rather than a UUID, plus the team_id sourcing and external-vs-bound behavior. The description adds nothing further about parameters, so the baseline 3 applies.

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?

States a specific verb and resource: reads the latest "Generate all" batch of a playbook cycle, with the enumerated status values and the explicit `batch: null` case. It is clear what the tool returns. It does not, however, differentiate itself from the closely named sibling get_generation_status, so an agent comparing the two gets no disambiguation.

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?

An explicit "When to use" clause routes the agent: follow-up after generate_cycle_content, or when the user asks about generation progress. That is a clear positive trigger. There is no when-not-to-use guidance or explicit alternative for the overlapping get_generation_status case.

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