Skip to main content
Glama
Dissimilis

DirForge

search_content

Search for text inside files and return matching lines with line numbers. Quickly locate specific content in text files within a directory.

Instructions

Search for text inside files (grep-like). Returns matching lines with line numbers. Only searches text files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesCase-insensitive text to search for inside files.
pathNoDirectory to search within. Empty for root.
maxResultsNoMaximum matching lines to return (default: 50, max: 200).
maxFileSizeNoSkip files larger than this many bytes (default: 2 MB, max: 10 MB).
Behavior3/5

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

With no annotations, the description discloses that it only searches text files and returns line numbers, but does not mention that it is read-only, concurrency limits, or other behavioral aspects. It provides some transparency but not comprehensive.

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 is extremely concise with two sentences, front-loading the purpose and key constraints. No unnecessary words.

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 4 parameters with full schema coverage and no output schema, the description is fairly complete for a simple search tool. It could mention the output format explicitly, but the combination of schema and description suffices.

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 descriptions cover all 4 parameters (100% coverage). The description adds 'grep-like' context but does not enhance understanding beyond the schema. Baseline 3 is appropriate.

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 clearly states the tool searches for text inside files (grep-like), returns matching lines with line numbers, and only searches text files. This distinguishes it from sibling tools like search_by_date or search_by_size which filter by metadata.

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 description implies usage for content searching via 'grep-like', but does not explicitly state when to use this tool versus alternatives, nor provides exclusions or context for when not to use it.

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/Dissimilis/DirForge'

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