Skip to main content
Glama

Get form

get-form-tool
Read-only

Get a form's current draft structure: its metadata, design, hidden fields, translation languages, and the full ordered list of draft blocks with their ids, types, titles, and settings. Use this before editing blocks, design, or hidden fields.

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": {
      "form_slug": "<form_slug>"
    },
    "name": "get-form-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
form_slugYesThe form's slug, from list-forms-tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered structurally. The description adds genuine context beyond that: the read targets the *draft* structure (implying a distinct published state, relevant given publish-form-tool) and specifies the shape of what comes back.

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

Conciseness5/5

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

Two sentences, zero filler. The payload description is front-loaded and the usage directive follows it, so an agent can act after the first sentence alone.

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?

With no output schema, the description usefully enumerates the returned sections so the agent knows what it will get. For a one-parameter read tool this is close to complete; only the draft-versus-published distinction could be stated more explicitly.

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 the single form_slug parameter is already documented in-schema as 'The form's slug, from list-forms-tool.' The description adds no further meaning about the parameter, so the baseline of 3 applies.

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

Purpose5/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 form's current draft structure') and then enumerates exactly what is returned: metadata, design, hidden fields, translation languages, and the ordered draft block list with ids/types/titles/settings. This is clearly distinguishable from siblings like list-forms-tool and get-form-stats-tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly prescribes timing: 'Use this before editing blocks, design, or hidden fields,' which correctly routes the agent to this call prior to update-block-tool, update-design-tool, or update-hidden-fields-tool. It does not name those siblings directly or state exclusions, so it falls just short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.