Skip to main content
Glama

Forms Get Form

forms_get_form
Read-onlyIdempotent

Retrieve a Google Form's structure, including title, description, publish state, and every item with its question, so you can inspect or work with the form's content.

Instructions

Read a Google Form's structure: title, description, publish state and every item with its question. The form_id comes from drive_list_files, search_workspace or forms_create_form; for submitted answers use forms_list_form_responses. Returns form_id, title, document_title, description, responder_url, revision_id, linked_spreadsheet_id, is_quiz, published and accepting_responses (both null for legacy forms), count and items, each with item_id, title, description, kind, question_id (for a grid, a list of question_id and row_title), required, question_type and options (choices, or scale bounds and labels). Format raw returns Google's Form instead, paged.

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_id": "<form_id>"
    },
    "name": "forms_get_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNo'normalized' (the default) returns the structure described above. 'raw' returns Google's Form resource unchanged in form (every setting, grading, feedback, image, video and file-upload limit included), for forms_batch_update_form edits; it needs the extended tool tier and fails with invalid_input under MCP_TOOL_TIER=core.normalized
offsetNoRaw only (normalized ignores it): the next_offset of a truncated raw result. Raw pages hold about 32,000 characters of JSON and are cut between whole items, the first page holding every other field; joining items across pages gives Google's resource. 0 starts at the beginning.
form_idYesGoogle Forms form ID: the Drive file ID, also the long ID in the form's edit URL (not the responder URL).

Output Schema

NameRequiredDescriptionDefault
formNo
countNoNumber of items in this response.
itemsNo
titleNo
formatNo
form_idNo
is_quizNo
publishedNo
raw_charsNo
truncatedNo
raw_sha256No
descriptionNo
next_offsetNo
revision_idNo
element_countNo
responder_urlNo
document_titleNo
accepting_responsesNo
linked_spreadsheet_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/non-destructive annotations by disclosing that 'raw' requires the extended tool tier and fails with invalid_input under MCP_TOOL_TIER=core, that raw results are paged at ~32,000 characters cut between whole items, and that published/accepting_responses are null on legacy forms. These are exactly the failure modes and edge cases an agent needs before calling.

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?

Purpose and ID sourcing are correctly front-loaded, but the long enumeration of every returned field (form_id, document_title, responder_url, revision_id, item_id, question_id, options...) largely duplicates the existing output schema. That field-by-field listing is the bulk of the description and does not earn its space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers what is read, where the identifier comes from, the normalized-vs-raw tradeoff with its tier requirement, and the paging contract for raw output. For a three-parameter read tool with full annotation and output-schema coverage, nothing an agent needs is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, and the description still adds meaning: it pins form_id to the Drive file ID / edit-URL ID rather than the responder URL, and explains that normalized ignores offset while raw pages resume from next_offset. The only gap is that the paging semantics are restated rather than illuminating anything the schema omits.

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?

Opens with a specific verb and resource ("Read a Google Form's structure") and enumerates the concrete contents (title, description, publish state, items with questions). It explicitly separates itself from forms_list_form_responses, which handles submitted answers, so an agent can pick correctly without opening either schema.

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?

Names the three tools that supply form_id (drive_list_files, search_workspace, forms_create_form) and redirects answer-lookup to forms_list_form_responses. The format parameter's schema description also states when 'raw' applies (forms_batch_update_form edits) and what makes it fail, so both the use case and the alternative path are spelled out.

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

Deploy Server

Other Tools