Skip to main content
Glama

content_batch_analyze

Read-only

Batch analyze multiple files in compare (cross-document) or individual (per-file) mode. Process directories or file lists with configurable output schema and thinking depth.

Instructions

Analyze multiple content files from a directory or explicit file list.

Supports two modes: 'compare' sends all files to Gemini in a single call for cross-document analysis, 'individual' analyzes each file separately with bounded concurrency (3 parallel calls).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instructionNoWhat to analyze — e.g. 'compare methodologies', 'summarize each document', 'extract key findings'Provide a comprehensive analysis of these documents.
directoryNoDirectory to scan for content files
file_pathsNoExplicit list of file paths to analyze
glob_patternNoGlob pattern to filter files within directory*
modeNo'compare' for cross-document analysis in one call, 'individual' for separate per-file analysiscompare
output_schemaNoOptional JSON Schema for each result
thinking_levelNoGemini thinking depth.high
max_filesNoMaximum files to process

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Adds meaningful behavioral context beyond annotations: describes mode-specific behavior and concurrency limit. Annotations already indicate safe read (readOnlyHint) and open world, so description complements them without contradiction.

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 sentences only: first states core purpose, second explains modes. Every sentence contributes value with no redundancy or verbosity.

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?

Describes modes and concurrency, which are key for a batch tool. Could briefly mention file selection options (directory/list/glob) but schema covers those. Given output schema exists, description is sufficiently complete.

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 coverage is 100% with descriptions for all 8 parameters. The description does not add any additional parameter-level information beyond what the schema already provides, so baseline score 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?

Clearly states verb 'analyze' and resource 'multiple content files', and distinguishes from sibling tools like content_analyze by specifying batch operation and two distinct modes.

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?

Explains two modes ('compare' vs 'individual') with clear behavioral differences, and mentions bounded concurrency (3 parallel calls). Does not explicitly state when not to use, but provides sufficient context for selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Galbaz1/video-research-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server