Skip to main content
Glama
FormKiQ Document MCP Server

FormKiQ Document MCP Server

Official

get_document_attributes

Read-onlyIdempotent

Retrieve a document's attributes by ID to inspect metadata and access details, with pagination support for larger attribute lists.

Instructions

Get document's attributes

Get a listing of a document's attributes

Requires READ_DOCUMENT_ATTRIBUTES or READ. ADMIN retains access.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.9/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, so the safety profile is covered. The description adds genuine value beyond that by disclosing the required authorization scopes and the ADMIN bypass, which an agent cannot infer from annotations. It stops short of saying the result is paginated or whether an empty/unreadable document errors versus returns an empty list.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

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

The first two lines say the same thing twice ('Get document's attributes' and 'Get a listing of a document's attributes'), wasting the front-loaded position on redundancy. The trailing metadata line ('FormKiQ operation: GetDocumentAttributes. API group: core. Access: read.') largely restates the readOnly annotation already supplied, though the permission sentence does earn its place.

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 no output schema and full schema coverage, the definition covers authorization and scope adequately. It omits pagination semantics despite exposing next/limit, and does not describe what an attribute record contains or what happens when a document has none.

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 five parameters including documentId, limit, next, siteId, and artifactId are already documented in the schema. The description adds no syntax, format, or interaction detail for any parameter. Baseline 3 is appropriate when the schema carries the full burden.

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: 'Get a listing of a document's attributes'. Clear enough for an agent to know it retrieves attribute records for one document. However, it offers no differentiation from the nearby singular sibling get_document_attribute, so the boundary between the two is left to inference.

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?

The only conditional context is an authorization prerequisite ('Requires READ_DOCUMENT_ATTRIBUTES or READ. ADMIN retains access'), which is useful but not usage guidance. There is no statement of when to pick this over get_attributes (all attributes) or get_document_attribute (single attribute), and no exclusions or preconditions on documentId validity.

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