Skip to main content
Glama

File ingestion review

get_ingestion_file_review
Read-onlyIdempotent

Get one ingested file's full review payload: extracted proposals, proposed_targets (UEF vs INGESTION classification), field_map (filled vs blank catalog paths), dry-run preview, key_facts, and out_of_range_paths (document paths of run-of-show rows outside the gig dates). Proposals are UEF 2.0: commit rows by their document path. Nothing has been written yet.

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>",
      "file_id": "<file_id>"
    },
    "name": "get_ingestion_file_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYesthe ingested file id within the batch
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)
dataNotool payload (API/composite/confirmation object); object, array, or primitive JSON
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
    • addedInput schema / properties / file_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"
  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.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false. The description adds value beyond that: it confirms the review is a pre-write state ('Nothing has been written yet') and explains domain-specific semantics such as UEF-vs-INGESTION classification, filled-vs-blank catalog paths, and what out_of_range_paths means.

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

Conciseness5/5

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

Two dense sentences, front-loaded with the resource and its contents, followed by a short clarification about UEF 2.0 commit semantics and write state. Every clause adds information and nothing is repeated.

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?

An output schema exists, so the enumeration of payload fields is partly redundant, but it usefully tells the agent what it can plan against before committing. Combined with the pre-write caveat, the definition is complete enough for this read-only review tool; only explicit next-step routing to the commit tool 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?

The description says nothing about event_id, batch_id, file_id, or organization_id; all meaning comes from the schema, which is at 100% description coverage and even documents parameter provenance. With the schema carrying the full burden, the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Get one ingested file's full review payload') and enumerates the payload contents: proposals, proposed_targets, field_map, dry-run preview, key_facts, out_of_range_paths. It implicitly separates itself from a commit tool with 'Nothing has been written yet', but never names commit_ingestion_file, so sibling differentiation rests on inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The workflow position is implied ('dry-run preview', 'Nothing has been written yet', 'commit rows by their document path'), which tells an agent this precedes a commit. However, there is no explicit when-to-use versus when-to-commit statement and no mention of commit_ingestion_file or commit_ingestion_batch as the next 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.