Skip to main content
Glama

List policy revisions

list_policy_revisions
Read-onlyIdempotent

List the saved revisions of a policy, newest first: revision number, when and by whom it was saved, and the policy version it produced. changedBy is recorded audit attribution, not proof of a manual human action. Read a saved configuration with get_policy_revision_document; saved versions do not prove a device applied them. Use rollback_policy only to propose a restore.

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": {
      "policyId": "<policyId>"
    },
    "name": "list_policy_revisions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many revisions to return, newest first (default 20).
companyNoOptional: a `company` value from list_companies to run this in. Omit it for the connection's own company.
policyIdYesThe policy's path name - the unique identifier returned by list_policies as "pathName".

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 readOnlyHint, idempotentHint, destructiveHint=false, and a closed-world scope, so safety is covered. The description adds genuinely non-obvious context beyond those: changedBy is recorded audit attribution rather than proof of a manual human action, and saved versions do not imply deployment to a device. It does not discuss truncation when the limit is reached, which is the main remaining behavioral gap.

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?

Three compact sentences: return fields and ordering first, then interpretation caveats, then sibling routing. No filler or restated title, and every clause carries usable information for an agent deciding between this tool and its neighbors.

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 no output schema, the description carries the burden of explaining return fields, and it does so (revision number, saved-at, changedBy, produced version). It also guards against over-interpreting results. It stops short of saying what happens when more revisions exist than the requested limit, which is the only missing piece for a paginated-list tool.

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 limit, company, and policyId are already documented in the schema, including the pathName origin and default of 20. The description adds no parameter-level detail (no format hints for policyId, no guidance on choosing limit), so the baseline 3 applies.

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 saved revisions of a policy') and immediately defines scope: newest first, with revision number, save time/author, and resulting policy version. It is clearly distinguishable from siblings named in the text (get_policy_revision_document, rollback_policy), so an agent can route 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?

Explicitly routes the agent: use get_policy_revision_document to read a saved configuration, and use rollback_policy only to propose a restore. It also sets a boundary on interpretation ('saved versions do not prove a device applied them'), which tells the agent when this tool's output is not sufficient evidence.

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