Skip to main content
Glama

Preview import file

preview_import_file
Read-onlyIdempotent

Dry-run a Soundcheck import file (a UEF 2.0 document) against a destination org you manage. Nothing is stored: the result exists only in this response, no import job is created, and no business record is created or edited. Pass the document from export_workspace, or one you built in the same shape: schema_version "2.0" plus any of the collections members, clients, venues, inventory, acts, songs, setlists, projects, events and leads, linked by ref (search_soundcheck_docs for "Universal Event Format" has each field). A row error comes back per collection, so this call is also the check for a hand-built document. Inspect new vs updated counts and errors before import_file. The result also carries vocabulary: every gig type, gig status and position the document uses, with counts and spelling variants collapsed, each matched to the org's own gig type, position or status or proposed as new (surface event_type, position, or a label in the Source status group). Pass accept_vocabulary here to see the effect, and the same accept_vocabulary to import_file to create them before the records are written. For a raw export from another system, pass export_files instead of document: the result is a mapping report (each file's role, which column fills which field and why the rest were left out, the links between files with orphan counts, row and record counts, duplicates and the date range) to review with the user. Correct a wrong role or column with export_options.roles and export_options.columns and call again, then export_options.mode 'preview' to dry-run the generated documents, then import_file with the same export_files and export_options.

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": {
      "organization_id": "<organization_id>"
    },
    "name": "preview_import_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentNoa UEF 2.0 document (schema_version "2.0"), e.g. from export_workspace
export_filesNoinstead of document: the files of a whole-workspace export from another system (jobs, crew, positions, venues, clients, contacts, addresses…), linked by codes. Soundcheck works out each file's role, its columns and the links between files, and builds the import documents
export_optionsNooptions for export_files
organization_idYesdestination org id (must be one you manage)
accept_vocabularyNowhich suggestions from the preview vocabulary to apply: true for all, or a list of their key values. Accepted spelling variants are rewritten to one name; on import the new gig types, positions and Source status labels they propose are created first (org admin) and the records use them

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe API response { status (HTTP status), data: export files: { mode, committed, report, documents, imports [{ document, ok, status, message, result }], field_catalog }; a UEF document: { committed, documents [{ target_type, preview, result, decision_model }], vocabulary { suggestions, created, reactivated, failures }, event_types { matched, created, failures } } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description deepens this by spelling out that no import job, business record, or stored artifact results and that the preview exists only in the response. It adds auth context (creating proposed vocabulary requires org admin) and describes what row-level errors and the mapping report contain. The only shortfall is that some of the no-write framing restates the readOnlyHint.

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 no-storage guarantee, and nearly every sentence carries actionable information. It is a single dense paragraph covering two distinct modes, which makes scanning harder than it needs to be, but there is little genuine padding for a tool of this complexity.

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?

Covers both input paths, the corrective iteration, the vocabulary preview/accept contract with import_file, the admin requirement, and the hand-built-document error check. With an output schema present, the description needn't enumerate return fields, and it still summarizes the key ones an agent must act on.

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

Parameters5/5

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

Schema coverage is 100%, so 3 is the baseline, but the description adds real meaning: export_files produces a mapping report (file roles, column-to-field mapping with reasons for exclusions, orphan links, duplicates, date range) and accept_vocabulary here previews what import_file would create. export_options.mode 'preview' and the roles/columns correction workflow are explained in narrative terms beyond the schema's field notes.

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 precise verb and resource: dry-run a Soundcheck import file (UEF 2.0 document) against a destination org. It explicitly distinguishes the two input modes (document from export_workspace vs. raw export_files from another system), so an agent can separate it from import_file and export_workspace without opening a 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?

Gives explicit when-to-use and when-to-use-an-alternative guidance: use document for a built document, export_files for a raw export, and inspect counts/errors here before calling import_file. It also lays out the corrective loop (export_options.roles/columns, then mode 'preview', then import_file with the same options) and notes accepting vocabulary here must be repeated on import_file.

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.