Skip to main content
Glama
FormKiQ Document MCP Server

FormKiQ Document MCP Server

Official

get_attribute_allowed_values

Read-onlyIdempotent

Retrieve an attribute's allowed values across all classifications and site schema to validate inputs or populate option lists.

Instructions

Get Attribute Allowed Values

Returns an attribute's allowed values that spans across all classifications and site schema

FormKiQ operation: GetAttributeAllowedValues. 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": {
      "key": "<key>"
    },
    "name": "get_attribute_allowed_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesKey Identifier
siteIdNoSite Identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.4/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=true, so the safety profile is fully covered. The description adds the cross-classification/site-schema aggregation behavior, which is genuinely useful, but 'Access: read' merely restates the annotation and nothing is said about how values are merged across sources.

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

Conciseness4/5

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

Short and front-loaded, with the key scope statement in the opening sentence. Minor waste: the title line duplicates the tool name and 'Access: read' duplicates readOnlyHint=true.

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?

No output schema exists, so the description carries the burden of describing the return value, and it only says 'allowed values' without indicating the shape (flat list vs. per-classification grouping) or what happens when an attribute has no allowed values. Adequate for a simple two-parameter read, but not complete.

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 'key' and 'siteId' are already documented in the schema. The description adds no meaning beyond that — it doesn't clarify whether siteId broadens or restricts the lookup, which is exactly the ambiguity an agent would face here.

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?

Specific verb+resource ('Returns an attribute's allowed values') with an explicit scope qualifier: the values span 'across all classifications and site schema'. That scope phrase implicitly separates it from the narrower siblings get_classification_attribute_allowed_values and get_sites_schema_attribute_allowed_values, though none of them are named.

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 scope phrase hints at when this tool is appropriate (when you want the global/aggregated set rather than a classification- or schema-scoped set), but the description never states that condition, never names an alternative, and gives no exclusions or prerequisites.

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