Skip to main content
Glama

get_form_fields

Read-only

Retrieve field information for a specified form node using its space ID and form ID to inspect available fields before processing form data.

Instructions

Query form field info for a form node.

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": {
      "spaceId": "<spaceId>",
      "formId": "<formId>"
    },
    "name": "get_form_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
formIdYesForm node ID.
spaceIdYesSpace ID, usually starts with spc.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds nothing beyond that: no indication of whether results are paginated, whether fields are returned in schema order, or what happens if formId refers to a non-form node — for a read operation with annotations the bar is lower, but this adds no context at all.

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?

One short sentence with no filler and the resource is front-loaded, so there is no wasted text. The problem is the opposite of verbosity — the sentence is so terse that it under-specifies rather than being appropriately sized for a two-parameter query tool.

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 simple read-only tool with two fully documented required parameters and annotation coverage, the definition is minimally sufficient to invoke it. It is not sufficient to predict the response shape (no output schema exists) or to know how form fields differ from the sibling get_fields results.

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% and both parameters (spaceId, formId) are documented in the schema itself, so the baseline of 3 applies. The description mentions "form node" which loosely reinforces the formId meaning but contributes no format, constraint, or edge-case detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Query form field info for a form node" names a verb and a resource and ties it to a form node, which separates it somewhat from the generic get_fields sibling. But "info" is vague about what is actually retrieved (field definitions? values? metadata?), so an agent cannot fully predict the payload from the description alone.

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 preconditions (e.g., needing a form-type node versus a datasheet node), and no mention of when to prefer get_fields or get_form_association instead. The agent must infer the selection rule from tool names alone.

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