Skip to main content
Glama

get_form_draft

Read-onlyIdempotent

Fetch a form’s raw draft definition. Large drafts come back TRUNCATED — for any form beyond a few dozen fields, use get_form_fields (compact field inventory) and get_form_logic (rule documents) instead; they are never truncated. Requires form:write (drafts are an authoring surface).

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

Input Schema

NameRequiredDescriptionDefault
formIdYesThe form id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context beyond annotations: large drafts come back TRUNCATED, and the tool requires form:write despite being a read operation. This is useful disclosure of a non-obvious behavior.

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?

Three sentences with zero waste. The core purpose is front-loaded, the truncation warning is prominent, and the alternative routing is compact. Every sentence earns its place.

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 single-parameter read tool with rich annotations, the description is nearly complete. It covers purpose, truncation behavior, alternatives, and permission requirements. The only minor gap is not describing the return format, but with no output schema and a simple fetch operation, this is a small omission.

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 the single formId parameter. The description doesn't add parameter-level detail beyond what the schema provides, but it does clarify the resource being fetched ('raw draft definition'), which gives context. Baseline 3 is appropriate since the schema carries the parameter documentation burden.

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?

The description states a specific verb and resource: 'Fetch a form's raw draft definition.' It clearly distinguishes this from siblings like get_form_fields and get_form_logic by noting it returns the raw draft, not a compact inventory or rule documents. The truncation warning further differentiates it from alternatives.

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

Usage Guidelines5/5

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

The description explicitly tells the agent when to use this tool vs alternatives: for large drafts, use get_form_fields and get_form_logic instead because they are never truncated. It also states the required permission (form:write), giving clear context for when this tool is appropriate.

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.

Resources