Skip to main content
Glama

sa__ListPlaybookVersions

List every version of a playbook with filters for status, version type, and enabled state. Use it to review, audit, or select the right playbook version.

Instructions

[SA] List all versions of playbook.

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": {
      "playbook_id": "<playbook_id>",
      "project_id": "<project_id>",
      "workspace_id": "<workspace_id>"
    },
    "name": "sa__ListPlaybookVersions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNorequest limit size
offsetNorequest offset, from 0
statusNo剧本版本状态,编辑中:EDITING 审核中:APPROVING 不通过:UNPASSED 已发布:PUBLISHED
enabledNo启用/禁用
project_idYesID of project
playbook_idYesID of playbook
approve_roleNo审核角色
version_typeNo版本类型, 草稿版本:0 正式版本:1
workspace_idYesID of workspace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description bears the full burden of behavioral disclosure and delivers almost nothing. It does not mention pagination (despite limit/offset existing), default sort order, whether unpublished/draft versions are included, or any authorization requirements — all important for a 9-parameter listing tool.

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?

A single short sentence with the operation front-loaded and no wasted wording. It is efficient, though its brevity reflects under-specification rather than disciplined compression.

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?

Given nine parameters, three required path identifiers, no output schema, and no annotations, a one-line description is not enough. An agent cannot tell what the response contains, how paging behaves, or what filtering semantics apply without reading the schema directly.

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 every parameter including status, enabled, approve_role, and version_type is documented in the schema itself. The description adds no meaning beyond that baseline, which is acceptable but not additive.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ("List all versions of playbook"), so the basic operation is identifiable. However, it does not distinguish this tool from close siblings such as sa__ShowPlaybookVersion (a single version) or the other sa__List* tools, and the "[SA]" prefix adds noise rather than clarity.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives — not when to prefer it over ShowPlaybookVersion for a single version, nor any note on prerequisites such as needing a published playbook. The only implied usage is 'you want version history', which the name already conveys.

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

Deploy Server

Other Tools