Skip to main content
Glama
PatrickSekey

MCP Filesystem Server

by PatrickSekey

batch_process

Process multiple files in a single call to read, stat, or summarize directory contents, with recursive and extension filters for targeted filesystem operations.

Instructions

Process multiple files in a single call (read/stat/summary)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directoryYesDirectory containing files
max_filesNoMaximum files to process
operationNoOperation to performsummary
recursiveNoRecurse into subdirectories
extensionsNoFilter by extensions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It never states that all three operations are read-only (which the enum implies but is not asserted), nor what happens when max_files truncates the set, how errors on individual files are reported, or whether recursion depth is bounded. Significant gaps for a batch tool touching a whole directory.

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?

One short, front-loaded sentence with no padding. It is efficient, though the terseness contributes to the missing behavioral and usage detail rather than reflecting genuine completeness.

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

Completeness2/5

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

For a five-parameter batch tool with no annotations and no output schema, the description says almost nothing about how batching behaves, what the return shape is, or how truncation and per-file failures are surfaced. The schema covers parameter mechanics but the description leaves the operational picture incomplete.

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 every parameter is already documented in the schema, and the description adds only the operation list that the enum already provides. Baseline 3 is appropriate – no extra semantics such as extension filter syntax or max_files interaction are supplied.

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?

The description states a clear verb-plus-resource ('Process multiple files') and the parenthetical enumerates the three operations, which distinguishes it from the single-file siblings read_file and list_files. 'Process' itself is somewhat generic, but the batching scope is unambiguous.

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 explicit when-to-use guidance and no mention of the alternatives (read_file for one file, list_files for enumeration). The batch framing implies the use case, but the agent must infer it rather than being routed to this tool over its siblings.

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