Skip to main content
Glama

List pending revisions

koskamo_list_revisions
Read-onlyIdempotent

List revisions for a public dataset; pending by default, or filter by approved, rejected, or all states.

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": {
      "dataset": "<dataset>"
    },
    "name": "koskamo_list_revisions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum rows in this page
offsetNoContinue from pagination.nextOffset while keeping the same filters
statusNoReview state; defaults to pending
datasetYesDataset id or slug

Output Schema

NameRequiredDescriptionDefault
revisionsYes
paginationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / revisions / items / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed7 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / dataset / description
      Added value: +"Dataset id or slug"
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "Review state; defaults to pending",
      +  "enum": [
      +    "pending",
      +    "approved",
      +    "rejected",
      +    "all"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / revisions / items / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedOutput schema / properties / revisions / items / additionalProperties
      Added value: +false
    • addedOutput schema / properties / revisions / items / properties
      Added value: +{
      +  "action": {
      +    "enum": [
      +      "add_document",
      +      "replace_document",
      +      "delete_document"
      +    ],
      +    "type": "string"
      +  },
      +  "baseDocumentVersion": {
      +    "anyOf": [
      +      {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "body": {
      +    "type": "string"
      +  },
      +  "createdAt": {
      +    "format": "date-time",
      +    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +    "type": "string"
      +  },
      +  "datasetId": {
      +    "type": "string"
      +  },
      +  "datasetName": {
      +    "type": "string"
      +  },
      +  "datasetSlug": {
      +    "type": "string"
      +  },
      +  "documentId": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "id": {
      +    "type": "string"
      +  },
      +  "proposerName": {
      +    "type": "string"
      +  },
      +  "rationale": {
      +    "type": "string"
      +  },
      +  "reviewedAt": {
      +    "anyOf": [
      +      {
      +        "format": "date-time",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "sourceUrl": {
      +    "type": "string"
      +  },
      +  "status": {
      +    "enum": [
      +      "pending",
      +      "approved",
      +      "rejected"
      +    ],
      +    "type": "string"
      +  },
      +  "title": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / revisions / items / required
      Added value: +[
      +  "id",
      +  "datasetId",
      +  "datasetSlug",
      +  "documentId",
      +  "action",
      +  "title",
      +  "body",
      +  "sourceUrl",
      +  "rationale",
      +  "status",
      +  "createdAt",
      +  "reviewedAt",
      +  "proposerName",
      +  "baseDocumentVersion"
      +]
  3. Changed4 schema fields changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 50,
      +  "description": "Maximum rows in this page",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Continue from pagination.nextOffset while keeping the same filters",
      +  "maximum": 9007199254740891,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties
      Added value: +{
      +  "pagination": {
      +    "properties": {
      +      "hasMore": {
      +        "type": "boolean"
      +      },
      +      "limit": {
      +        "maximum": 100,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "nextOffset": {
      +        "minimum": 0,
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "offset": {
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "limit",
      +      "offset",
      +      "hasMore",
      +      "nextOffset"
      +    ],
      +    "type": "object"
      +  },
      +  "revisions": {
      +    "items": {
      +      "type": "object"
      +    },
      +    "type": "array"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "revisions",
      +  "pagination"
      +]
  4. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds that the target must be a public dataset and that pending is the default state, but says nothing about pagination behavior or result volume beyond what the schema's limit/offset imply.

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?

A single compact sentence that front-loads the action and resource before the filtering nuance. Every clause carries information and there is no redundant phrasing.

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, full annotation coverage, and complete parameter descriptions, the definition only needs to convey purpose and default scoping, which it does. A note about ordering or typical result size would close the remaining small gap.

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 all four parameters are already documented in structured form. The description's mention of 'public dataset' adds a meaningful constraint on the dataset parameter, but the status-state enumeration merely restates the enum already present in the schema.

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 revisions for a public dataset') and scopes the result set by review state, which distinguishes it from the single-item sibling koskamo_get_revision. It stops short of naming any sibling explicitly, so the differentiation is inferable rather than stated.

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?

The description clarifies the default behavior (pending) and the available filter states, which is useful context for choosing arguments. It gives no guidance on when to prefer this over koskamo_get_revision or koskamo_get_history, and no prerequisites or exclusions are mentioned.

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