Skip to main content
Glama

Parse Batch

parse_batch

Extracts text and document elements from multiple PDFs, DOCX, TXT, logs, and other files in one batch call using Unstructured.io.

Instructions

Parse multiple documents in batch.

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": {
      "file_paths": "<file_paths>"
    },
    "name": "parse_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathsYesList of absolute paths to files

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it says nothing about failure semantics (does one bad path abort the whole batch?), file size or format limits, or whether parsing is local or remote. Because an output schema exists, return values need not be described, but batch failure behavior is a material omission for a multi-file operation.

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?

A single short sentence with no filler and the key scope word ("batch") present, so it is well front-loaded. It is efficient but so terse that brevity shades into under-specification.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The presence of an output schema covers return values, so the description need not explain results. However, for a batch mutation over arbitrary file paths with zero annotations, the absence of any note on partial failures, limits, or permissions leaves a real gap.

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?

Only one parameter exists and schema coverage is 100%, with the schema already describing file_paths as a list of absolute paths. The description adds no further meaning such as ordering guarantees, deduplication, or limits on list length, so the baseline 3 applies.

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

Purpose3/5

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

The description states a verb ("Parse") and a resource ("multiple documents in batch"), but it largely restates the name and title rather than explaining what parsing entails or what it produces. It gives no signal distinguishing it from the sibling parse_document beyond the word "batch."

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of when a single-document call (parse_document) is preferable, and no stated prerequisites. The agent must infer that this is the multi-file variant purely from the word "batch" in the name and description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools