Skip to main content
Glama

Edit gig song requests

save_song_requests
Destructive

Add, edit or remove the song requests the gig team keeps outside a form (the team_requests list_music_requests returns), up to 100 rows per call, applied in order. A row without request_id adds a request (category required, target defaults to SONG, requested_by to CLIENT). A row with request_id edits that request: pass only the fields to change. A row with request_id and remove: true removes it. The same song twice in one category is refused. Returns one result per row (ok, request_id, error) and counts; partial_failure is true when any row failed, and the rows before it are kept. Use update_form_submission_answers to change what a client entered on a form. Confirmation-gated only when a row removes a request. Requires a gig manager.

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": {
      "event_id": "<event_id>",
      "rows": "<rows>"
    },
    "name": "save_song_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYesthe requests to add, edit or remove, in order
event_idYesthe gig (event) id, from list_events, open_gigs or my_agenda
confirmation_tokenNoonly when a row removes a request: leave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNotool payload (API/composite/confirmation object); object, array, or primitive JSON
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?

Annotations already flag destructiveHint=true and non-idempotency; the description goes well beyond them by disclosing the 100-row batch cap, in-order application, duplicate-song refusal, per-row results with ok/request_id/error, partial_failure semantics (earlier rows kept), and the exact confirmation-token retry flow. Permission requirements are also stated.

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 what the tool does, then row semantics, then failure behavior, alternative, gating, and permissions. Dense but every sentence carries information; only the row cap mildly duplicates the schema's maxItems.

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 batch mutation, the description covers permissions, confirmation flow, partial-failure behavior, and return shape, and an output schema exists to carry return details. Nothing an agent needs in order to call it safely 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 100%, but the description still adds patch semantics for edits ('pass only the fields to change'), confirms defaults for target and requested_by on add, and explains that fields are ignored when remove is true. That is genuine meaning beyond the schema, though the per-field meanings themselves are left 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 specific verbs (add, edit, remove) and a specific resource (the team_requests song requests kept outside a form), which also disambiguates it from form submissions. An agent can identify the tool and its scope without opening the 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?

Explicitly routes form-entered answers to update_form_submission_answers, notes the confirmation gate applies only to removals, and states the gig manager permission requirement. When-to-use, when-not-to-use, and prerequisites are all covered.

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.