Skip to main content
Glama
FormKiQ Document MCP Server

FormKiQ Document MCP Server

Official

get_document_attribute

Read-onlyIdempotent

Retrieve a document attribute by key from FormKiQ using a document ID and attribute key, returning the matching attribute value for read-access workflows.

Instructions

Get document attribute by key

Get a document attribute by using its key

Requires READ_DOCUMENT_ATTRIBUTES or READ. ADMIN retains access.

FormKiQ operation: GetDocumentAttribute. 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>",
      "attributeKey": "<attributeKey>"
    },
    "name": "get_document_attribute"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdNoSite Identifier
artifactIdNoArtifact Document Identifier
documentIdYesDocument Identifier
attributeKeyYesAttribute Key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior. The description adds useful authorization context beyond the annotations by naming READ_DOCUMENT_ATTRIBUTES or READ access and noting ADMIN retention, though it omits not-found behavior and return shape.

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 purpose is front-loaded, but the first two lines repeat the same idea ('Get document attribute by key' / 'Get a document attribute by using its key'). The operation metadata is compact, though 'Access: read' overlaps both the annotation and the permission sentence.

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?

For a simple single-attribute getter with full schema coverage and rich annotations, the definition adequately covers purpose and authorization. It does not explain the return shape or not-found behavior, which is a minor gap given there is no output schema.

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 the schema already documents all four parameters. The description's 'by key' maps to attributeKey but adds no syntax, formatting, or guidance about siteId, artifactId, or documentId beyond what the schema provides.

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?

The description states a specific verb ('Get'), resource ('document attribute'), and selector ('by key'), making clear it retrieves one document attribute. It does not explicitly name or contrast sibling tools such as get_document_attributes or get_attribute, so it stops short of full sibling differentiation.

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 description gives permission prerequisites but no when-to-use, when-not-to-use, or alternative-tool guidance. An agent must infer from 'by key' that this is for a single-attribute lookup rather than a list retrieval.

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