Skip to main content
Glama
FormKiQ Document MCP Server

FormKiQ Document MCP Server

Official

get_document

Read-onlyIdempotent

Retrieves a document's metadata and details from FormKiQ by document ID, so agents can identify and inspect documents before further processing.

Instructions

Get document

Retrieves a document's details, i.e., metadata

FormKiQ operation: GetDocument. 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"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdNoSite Identifier
shareKeyNoShare Identifier
artifactIdNoArtifact Document Identifier
documentIdYesDocument Identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, and 'Access: read' merely restates them. The description does add that the return is metadata rather than content, but says nothing about behavior for missing documents, share-key/public access semantics, or permissions needed per siteId.

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 core sentence is short and front-loaded, but the header 'Get document' duplicates the tool name and 'FormKiQ operation: GetDocument. API group: core.' is boilerplate that consumes space without helping an agent decide or invoke.

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?

With no output schema, the description must characterize the return value, and 'metadata' alone is thin for a tool whose whole purpose is returning document details. It is adequate for invocation but leaves the agent guessing what fields come back.

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 (siteId, shareKey, artifactId, documentId) are already documented in the schema. The description adds no meaning about how shareKey or artifactId interact with documentId, so the baseline of 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 and adds the useful qualifier 'i.e., metadata', which tells an agent this does not return file content. It does not name the sibling that does return content (get_document_content), so differentiation is inferred 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 'metadata' clarification implies when to use this versus content-fetching siblings, and 'Access: read' signals a safe operation. There is no explicit when-to-use/when-not-to-use statement or named alternative.

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