Skip to main content
Glama
DataCleaninghash

Ressl MCP Server - Advanced File Search

search_in_directory

Find any keyword across all files in a directory recursively, returning matching results with optional line numbers, file type filters, and case sensitivity controls.

Instructions

Search for a keyword across all files in a directory recursively. Returns results from all matching files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordYesThe keyword or pattern to search for
maxResultsNoMaximum number of results to return (default: 500)
caseSensitiveNoWhether the search should be case-sensitive (default: false)
directoryPathYesPath to the directory to search within
fileExtensionsNoOptional array of file extensions to filter by (e.g., ["ts", "js", "json"])
includeLineNumbersNoWhether to include line numbers in results (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations provided, the description carries the behavioral burden. It does disclose useful traits: recursive traversal and returning results from all matching files. However, it does not discuss edge cases such as binary files, permission issues, or output limitations, leaving room for more transparency.

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?

The description consists of two short sentences with no filler: the first states the operation and scope, the second states the outcome. Every clause earns its place.

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?

Given that all six parameters are already documented in the schema, the description is nearly complete for invoking the tool. The only gap is that the exact result structure is not specified, but the description plus the includeLineNumbers and maxResults parameters provide sufficient operational context.

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 the schema already documents every parameter and default. The description adds no parameter-specific meaning, which is acceptable at the baseline of 3.

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?

The description uses a specific verb and resource: 'Search for a keyword across all files in a directory recursively.' It clearly distinguishes itself from the sibling search_in_file by emphasizing directory-level recursive search rather than a single-file operation.

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?

The description establishes clear context: use this tool when the intent is to search across an entire directory tree. It does not explicitly name alternatives or list exclusions, so it stops short of a 5, but the context is not merely implied.

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