Skip to main content
Glama

List control policy revisions

stack_list_control_policy_revisions
Read-only

List the revisions of one policy, newest first: revision, change (create, start_from_access, tighten, loosen, delete or unchanged), actor, approval_id (the governance approval that let a loosening through, else null), the definition as it was and created_at. Not found when the id is not a policy of the account. Operator only. A controls feature: with controls off the API answers 402 CONTROLS_REQUIRED, and the owner switches controls on in the Console, at the Billing page. A self-managed install has every controls feature.

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": {
      "policy_id": "<policy_id>"
    },
    "name": "stack_list_control_policy_revisions"
  }
}

Input Schema

NameRequiredDescriptionDefault
policy_idYesThe policy id (cpl_*), from stack_list_control_policies or stack_get_control_policy

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond readOnlyHint/destructiveHint, it discloses result ordering, the enumerated change taxonomy, the meaning of approval_id (governance approval that allowed a loosening, else null), the not-found behavior, operator-only authorization, and the feature-gate failure mode with a remediation path. That is unusually rich behavioral disclosure for a read 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?

Front-loaded with purpose then the field list, followed by error and feature-gate notes; every clause carries information. The long mid-sentence enumeration of returned fields is dense but not padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by enumerating the returned fields, ordering, and null semantics, plus failure modes. For a one-parameter read tool this leaves nothing an agent needs missing.

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 single policy_id parameter is already documented in-schema with its cpl_* pattern and sibling provenance. The description only reinforces that the id must be 'a policy of the account'; it adds no new syntax or format 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 ('List the revisions of one policy') plus ordering ('newest first') and an explicit field inventory, so it is unmistakable against siblings like stack_get_control_policy or stack_list_control_decisions.

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?

Gives clear operating context: 'Operator only', the 402 CONTROLS_REQUIRED condition with remediation ('owner switches controls on in the Console, at the Billing page'), and the self-managed-install caveat. It does not explicitly contrast with stack_get_control_policy for reading current state, so the when-not is only implied.

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.