Skip to main content
Glama

List Script Revisions

list_script_revisions
Read-onlyIdempotent

List a script's past revisions (newest first) with version, save time, author, and step count.

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": {
      "projectId": "<projectId>",
      "scriptId": "<scriptId>"
    },
    "name": "list_script_revisions"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoHow many revisions to return (default 10, maximum 100).
scriptIdYes
projectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context — the ordering (newest first) and which fields each entry carries — but says nothing about truncation beyond the count parameter, whether step contents are included, or how the result behaves for a script with no revisions.

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?

One compact sentence with no filler, and the ordering and payload are front-loaded. Slightly dense but nothing that should be removed.

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

Completeness3/5

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

Because there is no output schema, the description of returned fields is a valuable addition, and for a simple three-parameter read the definition is close to sufficient. The remaining gap — no explanation of the two undocumented identifier parameters — matters for a tool whose callers must supply them.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%: 'count' is documented in the schema (default 10, max 100), while projectId and scriptId are bare strings with no description. The tool description does not compensate for that gap at all — it does not explain what a projectId is or where a scriptId comes from. Only the implicit 'a script's revisions' hints that scriptId scopes the listing.

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 ('List a script's past revisions') and adds distinguishing detail — newest-first ordering plus the fields returned (version, save time, author, step count). It does not explicitly separate itself from the singular sibling get_script_revision, but the plural 'revisions' listing scope is clear enough to infer.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can tell this is for enumerating revision history rather than fetching one revision or restoring it, but the description never says when to use this versus get_script_revision or restore_script_revision. No prerequisites or exclusions are given.

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.