Skip to main content
Glama

Buscar en el proyecto

buscar
Read-only

Find where a text is defined or used across project files, grouped by file and ranked by citations. Use it instead of grep for case-insensitive, read-only searches; secrets are omitted.

Instructions

Dónde se define o usa un texto: líneas agrupadas por archivo, primero los más citados (conciso: 5 archivos). Sin distinguir mayúsculas. Úsala en vez de grep. Para ver el código usa leer. Solo lectura, dentro de la raíz; omite secretos (.env, *.key...).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topeNomáximo de líneas
dondeNocarpeta o archivo relativo a la raíz
regexNotexto es regex extendida
textoYesliteral salvo regex=true
formatoNoconciso = solo lo esencialdetallado
contextoNolíneas alrededor

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true and openWorldHint=false, and the description reinforces this with 'Solo lectura'. Beyond annotations it adds real behavioral context: case-insensitive matching, grouping/ordering by most-cited files, and secret exclusion (.env, *.key). It does not cover pagination or result-size limits, but the safety and scoping profile is well conveyed.

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?

Extremely dense and front-loaded: purpose first, then the grep comparison, the sibling routing, and the security constraint. Every clause earns its place with no filler.

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?

For a 6-parameter read-only search tool with no output schema, the description covers behavior, scoping, security exclusions, and alternatives. Minor gaps remain around result limits or pagination, but nothing critical to correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 all six parameters (baseline 3). The description adds meaning beyond the schema by clarifying that 'conciso' returns 5 files and that matching is case-insensitive, which enriches the formato and texto parameters.

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?

States a specific verb+resource: it finds where a text is defined or used and returns lines grouped by file. It separates itself from siblings by directing the agent to 'leer' for viewing code. An agent can distinguish it from 'leer' and 'correr' without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says 'Úsala en vez de grep' (use instead of grep) and names the alternative 'Para ver el código usa leer'. Both the when-to-use condition and the routing to a sibling tool are stated directly.

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