Skip to main content
Glama

Request attachment upload

request_attachment_upload

Ask the HOST APPLICATION to upload the user's staged file attachments into an existing ingestion batch. The response tells the host to start the upload, and the host then adds each staged file to the batch, so the batch gains files after this call. For in-product hosts (Soundcheck web/mobile) with staged attachments — call this exactly ONCE after create_ingestion_batch when the user shared files, then STOP; the host uploads directly. Nothing outside the batch changes. Third-party MCP agents without a host uploader should use add_ingestion_file (content_base64 for a binary file, text for pasted text) instead. 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": {
      "event_id": "<event_id>",
      "batch_id": "<batch_id>"
    },
    "name": "request_attachment_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
batch_idYesthe ingestion batch id, from create_ingestion_batch or list_ingestion_batches
event_idYesthe gig the ingestion batch belongs to, an id from list_events, open_gigs or my_agenda
organization_idNodefaults to caller's active org — pass explicitly if the event belongs to a different org

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNo{ status: "upload_required", organization_id, event_id, batch_id, instructions }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / batch_id / description
      Previous value: -"the ingestion batch id"New value: +"the ingestion batch id, from create_ingestion_batch or list_ingestion_batches"
    • addedInput schema / properties / batch_id / minLength
      Added value: +1
    • changedInput schema / properties / event_id / description
      Previous value: -"the event the ingestion batch belongs to"New value: +"the gig the ingestion batch belongs to, an id from list_events, open_gigs or my_agenda"
    • addedInput schema / properties / event_id / minLength
      Added value: +1
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / properties / data / description
      Previous value: -"tool payload (API/composite/confirmation object); object, array, or primitive JSON"New value: +"{ status: \"upload_required\", organization_id, event_id, batch_id, instructions }"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "description": "tool payload (API/composite/confirmation object); object, array, or primitive JSON"
      +    },
      +    "error": {
      +      "description": "when ok is false",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "true on success (including confirmation_required prompts)",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description discloses the key behavioral traits: the host performs the actual upload, 'Nothing outside the batch changes,' and 'Runs on the first call; there is no confirmation step.' This is exactly the kind of irreversible, no-confirmation side effect an agent needs to know about before calling a non-read-only tool.

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?

The important constraint (exactly once, stop after) is front-loaded and each sentence carries information, including the negative scoping statement. It is dense with parenthetical asides, but no sentence is pure filler; slight trimming of the Soundcheck web/mobile parenthetical would tighten it further.

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?

It covers the multi-party mechanics (agent asks, host uploads, batch gains files), the caller eligibility split, and the no-confirmation behavior. An output schema exists so return values need not be explained, and nothing an agent needs in order to call this correctly is missing.

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

Parameters3/5

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

Schema description coverage is 100%, and each of the three parameters already carries its own description with sourcing hints (batch_id from create_ingestion_batch, event_id from list_events, organization_id defaulting to the active org). The prose adds no additional parameter meaning, so the baseline of 3 applies.

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 opens with a specific verb and resource: 'Ask the HOST APPLICATION to upload the user's staged file attachments into an existing ingestion batch.' It also explains the resulting effect ('the batch gains files after this call') and explicitly separates this from the sibling add_ingestion_file, which handles the same goal for a different caller type.

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?

It gives explicit when-to-use guidance ('For in-product hosts (Soundcheck web/mobile) with staged attachments — call this exactly ONCE after create_ingestion_batch') and explicit when-not-to ('Third-party MCP agents without a host uploader should use add_ingestion_file'). The invocation count and the sequencing relative to create_ingestion_batch are both spelled out.

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.