Skip to main content
Glama

Enter or update music request answers

update_form_submission_answers
Destructive

Enter or change a client's answers to a form (for example the song list) on their behalf. Pass exactly one id. With submission_id, replace the answers to the named questions: only the questions you name change and the rest are kept. With assignment_id, enter the first answers when the client has not answered yet (for example, a list taken over the phone); required questions may be left out, and it fails with SUBMISSION_EXISTS when the assignment already has an answer (use that submission_id then). Each song_list value replaces that question's rows, and duplicate rows are refused. No notification is sent. Requires crm.manage and the crm flag. Runs on the first call; there is no confirmation step.

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": {
      "answers": "<answers>"
    },
    "name": "update_form_submission_answers"
  }
}

Input Schema

NameRequiredDescriptionDefault
answersYesanswers keyed by question id. A song_list question takes an array of rows: category: MUST_HAVE (must play), YES (requested), OFF_LIST (to learn, not on the usual list), DO_NOT_PLAY (never play; a warning fires when a run-of-show song matches)
assignment_idNoenter the first answers for this form assignment (from the gig's forms); omit when passing submission_id
submission_idNoreplace answers on this form submission; omit when passing assignment_id
organization_idNoorganization to act in, an id from get_me; omit to use your active organization

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe API response { status (HTTP status), data: { id, form_id, external_submission_id, submitted_at, match_status, answers, assignment_id, customer_id, customer_contact_id, event_id, lead_request_id, form_title, purpose, external_form_id, revision_items [{ kind, id, markdown, file, missing, label, type, required, and 5 more fields }], customer_name, event_title, event_date } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: named-question-only partial replacement ('the rest are kept'), permission prerequisites (crm.manage plus the crm flag), no notification sent, no confirmation step, duplicate rows refused, and the SUBMISSION_EXISTS failure path. The destructiveHint=true annotation is consistent with the described replace-the-rows behavior rather than contradicted by it.

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

Conciseness4/5

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

Front-loaded with purpose and the one-id rule, then mode behavior, then side effects and permissions. Every sentence carries distinct information, but the single dense paragraph packs several facts per sentence, making it harder to scan than a lightly structured version would be.

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?

For a destructive, two-mode, nested-object tool with an output schema, the description covers everything an agent needs before calling: which id to pass, what is preserved vs replaced, failure modes, permissions, and the absence of confirmation. Return values are correctly left to the output schema.

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 100%, so the schema already carries the row-level and category semantics; the description's added value is the mode discrimination between the two id parameters and the note that required questions may be omitted under assignment_id. That meaning goes beyond the schema wording, though the per-parameter detail remains largely delegated to the schema.

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 ('Enter or change a client's answers to a form') plus a concrete example (song list) and the acting-on-behalf framing. It also enumerates the two operating modes keyed on submission_id vs assignment_id, so the agent can tell it apart from read-oriented siblings like list_music_requests.

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?

Explicitly routes between modes: use submission_id to replace answers on an existing submission, use assignment_id only when the client has not answered yet, and switch to submission_id if it fails with SUBMISSION_EXISTS. It also states the mutual-exclusion rule ('Pass exactly one id'), leaving nothing to inference.

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.