Skip to main content
Glama

Create ingestion batch

create_ingestion_batch

Create an empty file-ingestion batch on a gig. Add files via add_ingestion_file (content_base64 for a binary file or text for pasted text, from third-party MCP agents) or request_attachment_upload (host-staged attachments in Soundcheck web/mobile). 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>"
    },
    "name": "create_ingestion_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
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)
dataNothe API response { status (HTTP status), data: { batch { event_id, files, id, merge_commit_result, merge_error, merge_status, merge_version, merged_proposal_counts, and 2 more fields } } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 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 / 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"
    • addedOutput schema / properties / data / additionalProperties
      Added value: +{}
    • changedOutput schema / properties / data / description
      Previous value: -"tool payload (API/composite/confirmation object); object, array, or primitive JSON"New value: +"the API response { status (HTTP status), data: { batch { event_id, files, id, merge_commit_result, merge_error, merge_status, merge_version, merged_proposal_counts, and 2 more fields } } }"
    • addedOutput schema / properties / data / properties
      Added value: +{
      +  "data": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "batch": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "properties": {
      +              "created_at": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "event_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "merge_status": {
      +                "anyOf": [
      +                  {
      +                    "description": "Merge fields describe the batch-level merged-analysis pass (orthogonal\nto Status — see MergeStatus* consts).",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "merge_version": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "organization_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "status": {
      +                "anyOf": [
      +                  {
      +                    "description": "OPEN | PROCESSING | COMPLETED",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "total_files": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "updated_at": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "status": {
      +    "type": "number"
      +  }
      +}
    • addedOutput schema / properties / data / type
      Added value: +"object"
  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

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, and the description adds real value with 'Runs on the first call; there is no confirmation step', warning the agent that there is no dry-run or confirm gate. However, it does not address the non-idempotent hint (what happens if called twice — duplicate empty batches?) nor any cleanup or auth/org-permission requirements.

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 the core action, then the follow-up routing, then the no-confirmation warning — a sensible order. The parentheticals are dense but each carries information; the only slight cost is packing three tool names and two file-source modes into a single sentence.

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 full schema coverage, the description needn't explain return values, and annotations cover the safety profile. The remaining gap is lifecycle context: that this produces an empty batch which must later be populated and committed via commit_ingestion_batch, and whether an abandoned batch needs cleanup.

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%, so both parameters are already documented, and the description only echoes the gig scoping of event_id. It adds nothing about organization_id (the override for cross-org events), which is the one parameter where the schema text alone is the only guidance. Baseline 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?

States a specific verb and resource ('Create an empty file-ingestion batch on a gig') and immediately scopes what the tool does not do (it does not add files itself). It names the two tools that do add files, so an agent can distinguish this from add_ingestion_file and request_attachment_upload without opening either 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?

Gives clear routing guidance: use add_ingestion_file for base64/pasted text from third-party MCP agents, request_attachment_upload for host-staged attachments in web/mobile. What's missing is guidance on when not to create a new batch — e.g. checking list_ingestion_batches for an existing open batch — and nothing about the downstream commit step.

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.