Skip to main content
Glama
FormKiQ Document MCP Server

FormKiQ Document MCP Server

Official

get_document_versions

Read-onlyIdempotent

Retrieve a paginated list of a document's content and metadata versions to review changes, track history, or compare revisions. Use the document ID and optional paging parameters.

Instructions

Get document's versions

Get a listing of document content and metadata versions; available as an Add-On Module

FormKiQ operation: GetDocumentVersions. API group: core. Access: read.

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": {
      "documentId": "<documentId>"
    },
    "name": "get_document_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
nextNoNext page of results token
limitNoLimit Results10
siteIdNoSite Identifier
shareKeyNoShare Identifier
artifactIdNoArtifact Document Identifier
documentIdYesDocument Identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuine context beyond them: the Add-On Module availability requirement and the underlying FormKiQ operation/API group, which helps an agent diagnose 'not enabled' failures. It says nothing about pagination behavior or result ordering, which matters for a 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first line ('Get document's versions') and the second line ('Get a listing of document content and metadata versions') say the same thing, so the opening is redundant. The trailing operation/API group/access metadata is short and front-loaded well enough, but the duplication costs it.

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?

For a read-only listing tool with full schema coverage and four annotations, the definition is adequate but thin: it omits pagination expectations (next/limit semantics) and what an 'Add-On Module' means operationally for the caller. No output schema exists, so return-shape guidance would also have been useful.

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 (next, limit, siteId, shareKey, artifactId, documentId) is already documented in the schema. The description adds no meaning about how documentId interacts with artifactId or siteId/shareKey scoping, so baseline 3 applies.

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: it lists 'document content and metadata versions' for a document. The plural 'versions' listing is distinguishable from the singular get_version sibling, though the description never says so explicitly.

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 when-to-use guidance and no mention of alternatives such as get_version for a single version or get_document for current content. The only contextual note is that the feature is 'available as an Add-On Module', which is a precondition rather than usage direction.

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