Skip to main content
Glama

update_submission

Idempotent

Update answers on an existing form submission by providing form ID, submission ID, and replacement answers. Returns the refreshed submission data.

Instructions

Update an existing submission's answers. Requires allowEditSubmissions on the form.

Args: form_id: Numeric form id. submission_id: Numeric submission id. Must belong to the current user. answers: Full replacement answers object (same shape as submit_form).

Returns: JSON of the updated submission (refetched).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
answersYes
form_idYes
submission_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already signal mutation and idempotency. The description adds valuable behavioral detail: answers are a 'full replacement answers object,' not a partial merge, and the tool refetches the updated submission for the response. It also provides authorization and ownership constraints beyond the annotations.

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?

The description is compact and well-organized: a one-sentence purpose, concise parameter list, and explicit return value. Every sentence earns its place and there is no filler or repetition of schema details.

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 an output schema present and annotations covering idempotency, the description covers the necessary operational context: permission, ownership, full replacement semantics, and the refetched return value. It lacks an explicit 'use this for existing submissions, not new ones' contrast with submit_form, but the wording makes that distinction reasonably clear.

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?

With 0% schema description coverage, the description carries the full burden and does so well: form_id is numeric, submission_id is numeric and ownership-restricted, and answers is a full replacement object shaped like submit_form. The only gap is that the answer object's internal shape is deferred to submit_form rather than described directly.

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 uses a specific verb and resource: 'Update an existing submission's answers.' The word 'existing' distinguishes it from submission creation via submit_form cops. It is also clearly distinct from update_form because the target is a submission, not a form.

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?

The description states clear prerequisites: 'Requires allowEditSubmissions on the form' and 'Must belong to the current user.' It implies the use case is editing an existing submission, though it does not explicitly name submit_form as the alternative for new submissions. This is clear context with minor room for improvement on alternative routing.

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