Skip to main content
Glama

tldr_search

Search files for a pattern to perform structural code analysis for debugging and understanding.

Instructions

Search files for a pattern. Faster than grep for structural searches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesProject path (absolute)
patternYesSearch pattern
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only claims performance ('faster than grep') but does not mention read-only nature, side effects, or required permissions. This leaves significant gaps in behavioral understanding.

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 short, front-loaded sentences. Every word serves a purpose: verb, resource, and a key differentiator. No wasted text.

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?

Given the simplicity (2 params, no output schema, no annotations), the description is incomplete. It does not explain what the tool returns (e.g., matches, line numbers), nor does it clarify what 'structural' means. An agent cannot fully anticipate tool behavior.

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 baseline is 3. The description adds 'structural searches,' which provides context for the pattern parameter but does not elaborate on parameter format or behavior. No additional semantic value beyond schema.

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 'Search files for a pattern,' providing a specific verb and resource. It adds 'Faster than grep for structural searches,' which differentiates it from generic grep and implies a focus on structural code searches, distinguishing it from siblings like tldr_semantic or tldr_text.

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 gives some context ('for structural searches') but lacks explicit when-to-use or when-not-to-use guidance. It does not mention alternatives among the sibling tools, leaving the agent to infer usage context.

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/BenMousaAmine/mcp-tldr'

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