Skip to main content
Glama

search_code

Search code by keyword across registered Git projects, with optional filters for specific project and file patterns to pinpoint relevant implementations.

Instructions

등록된 프로젝트들에서 키워드로 코드를 검색합니다. ripgrep을 사용하며, 특정 프로젝트로 제한하거나 파일 패턴을 지정할 수 있습니다. 한국어 키워드는 영어 키워드로도 검색하면 더 정확한 결과를 얻을 수 있습니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordYes검색할 키워드 (예: payment, createOrder, 결제)
projectNo특정 프로젝트로 검색 범위 제한 (선택, 미지정시 전체 프로젝트 검색)
file_patternNo파일 패턴 필터 (선택, 예: "*.ts", "*.controller.ts", "*.service.ts")
Behavior3/5

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

The description discloses the use of ripgrep and the ability to limit search scope, adding value beyond the raw schema. However, it does not mention output format, read-only nature, or any limitations. With no annotations provided, the description carries the full burden and only partially fulfills it.

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 compact and effective: two sentences that state purpose, capabilities, and a usage tip. It is front-loaded with the main action, with no unnecessary detail.

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

Completeness3/5

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

For a tool with no output schema and no annotations, the description should explain what the tool returns or any important behavior. It covers the core search operation and constraints, but omits return value details (e.g., file paths, snippets) and potential edge cases, leaving the agent with incomplete information for full usage.

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 coverage is 100%, so the baseline is 3. The description adds a practical tip about Korean keywords, but does not significantly elaborate on parameter formats or provide examples beyond what the schema already includes. It reinforces optionality of project and file_pattern but adds little new semantic meaning.

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 it searches code by keyword in registered projects, with specific capabilities like project restriction and file pattern filtering. This distinguishes it from sibling tools like read_file or list_projects, which serve different purposes.

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 use for keyword-based code search in registered projects, but does not explicitly contrast with alternatives like get_file_tree or read_file. It provides context (search scope, file patterns) but lacks explicit when-to-use or when-not-to-use guidance.

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/dudckd6744/git-finder-mcp'

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