Skip to main content
Glama
FormKiQ Document MCP Server

FormKiQ Document MCP Server

Official

get_sites_schema_attribute_allowed_values

Read-onlyIdempotent

Retrieves the allowed values for a specified attribute from a site schema, helping validate document metadata and enforce permitted options.

Instructions

Get Attribute Allowed Values

Returns an attribute's allowed values from the site schema

FormKiQ operation: GetSitesSchemaAttributeAllowedValues. 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": {
      "siteId": "<siteId>",
      "key": "<key>"
    },
    "name": "get_sites_schema_attribute_allowed_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesKey Identifier
localeNoSite Locale (ISO 639 / ISO 3166)
siteIdYesSite Identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.2/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 operation identity ('GetSitesSchemaAttributeAllowedValues', API group core) which is useful for tracing, but 'Access: read' merely restates readOnlyHint and it says nothing about what happens with an unknown key, an empty allowed-values set, or how locale affects results.

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?

The core sentence is front-loaded and short, with the operation metadata demoted to a trailing line. The repeated title line 'Get Attribute Allowed Values' duplicates the tool name and wastes a small amount of space, keeping it just below top marks.

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 three simple parameters and no output schema, the description should say more about the return shape (a flat list of value strings? an object with metadata?) and about behavior on missing keys. It covers the basic contract but leaves an agent guessing about return structure and edge cases.

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 baseline already applies. The description does add meaning to the ambiguous 'key' parameter by framing it as the attribute whose allowed values are returned, but it never mentions the optional locale parameter or its ISO 639/3166 effect on results.

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 and resource ('Returns an attribute's allowed values') and narrows the scope with 'from the site schema', which distinguishes it from the similarly named get_attribute_allowed_values and get_classification_attribute_allowed_values. It does not name those siblings explicitly, so the differentiation is inferential 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 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, no prerequisites (e.g., that the site schema must exist or that key must be a schema-defined attribute), and no mention of alternatives among the three allowed-values tools. The only contextual clue is the phrase 'from the site schema'.

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