Skip to main content
Glama

Submit Forms response

forms_filling_submit

Submit a response to a published form: a REAL answer is saved unless validate_only.

Instructions

Submit a response to a published form: a REAL answer is saved unless validate_only.

body maps each question slug (discover them via filling_get) to its answer — a scalar, a string list, a {begin, end} date range, or matrix {row, column} items. Returns the success-page payload (answer_id confirms the save).

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": {
      "survey_id": "<survey_id>",
      "body": "<body>"
    },
    "name": "forms_filling_submit"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoPersonal-link fill key, when the form uses one.
bodyYesAnswer map keyed by question slug (see ``filling_get`` for the slugs).
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
survey_idYesForm id or slug of a published form.
validate_onlyNoValidate only — saves nothing and fires no integrations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.142.2
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).",
      +  "type": "boolean"
      +}
  2. Changed5 schema fields changedv0.122.1
    • removedInput schema / properties / dry_run
      Removed value: -{
      -  "default": false,
      -  "description": "Validate only — saves nothing and fires no integrations.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / survey
      Removed value: -{
      -  "description": "Form id or slug of a published form.",
      -  "type": "string"
      -}
    • addedInput schema / properties / survey_id
      Added value: +{
      +  "description": "Form id or slug of a published form.",
      +  "type": "string"
      +}
    • addedInput schema / properties / validate_only
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Validate only — saves nothing and fires no integrations."
      +}
    • changedInput schema / required
      Previous value: -[
      -  "survey",
      -  "body"
      -]New value: +[
      +  "survey_id",
      +  "body"
      +]
  3. First observedv0.67.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false; the description adds that a real answer is saved (mutation semantics) and that the response is the success-page payload with answer_id confirming the save. It does not warn that repeated submissions create duplicate answers (relevant given idempotentHint=false) or mention auth/rate limits, so it stops short of full behavioral coverage.

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 short sentences, front-loaded with the action and the save/validate distinction, followed by payload shape and return value. No filler or repetition of annotation data.

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 5-parameter write tool with a free-form nested body and no output schema, the description covers the action, payload shape, and return confirmation. The gaps are minor: dry_run (a second no-op path, distinct from validate_only) is never mentioned in the prose, and idempotency/duplicate-submission behavior is left implicit.

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

Parameters5/5

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

Schema coverage is 100%, so baseline is 3 — but the body schema is an empty object with additionalProperties, and the description supplies the entire payload contract: slug-keyed answers accepting a scalar, string list, {begin, end} date range, or matrix {row, column} items. That is meaningfully more than the schema conveys and is the single most useful piece of information for calling this tool correctly.

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 ('Submit a response to a published form') and names the prerequisite sibling ('discover them via filling_get'), so an agent can distinguish it from the read/fill-helper tools without opening a schema.

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?

Clearly frames the two modes: a real answer is persisted 'unless validate_only', which gives an explicit safe-preview alternative. It also points to filling_get for slug discovery, though it doesn't contrast with sibling tools like forms_answers_get/list or state any prerequisites such as form-published status or permissions.

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