Skip to main content
Glama

search_project

Read-only

Search across project files to find references, callers, or signatures by substring matching.

Instructions

Plain-text (substring) search across project files. Use to find references, callers, or signatures across the codebase. Default fileTypes is ["gd","tscn","cs","gdshader"]; caseSensitive default false; maxResults default 100. Skips hidden entries and the .mcp directory. Returns: matches[] (project-relative file, 1-indexed lineNumber, line text) and truncated:true when maxResults was hit — consider raising it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathYesPath to the Godot project directory
patternYesPlain-text string to search for
fileTypesNoFile extensions to search (default: ["gd", "tscn", "cs", "gdshader"])
caseSensitiveNoCase-sensitive search (default: false)
maxResultsNoMaximum matches to return (default: 100)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
matchesNo
truncatedNo
Behavior5/5

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

Annotation readOnlyHint=true declares read-only behavior. Description adds default values for fileTypes, caseSensitive, maxResults, skips hidden entries and .mcp directory, and explains return structure with matches and truncated flag. No contradictions.

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?

Three concise sentences, front-loaded with purpose. Every sentence provides essential details without fluff. Structure is clear and easy to parse.

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

Completeness5/5

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

Given 5 parameters, 2 required, no enums, and presence of output schema, the description fully explains return structure (matches with file, lineNumber, line text) and truncated behavior. No gaps for agent decision-making.

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?

Input schema has 100% description coverage. Description repeats defaults already present in schema (fileTypes, caseSensitive, maxResults) and does not add new meaning for parameters like projectPath or pattern. Baseline 3 for high schema coverage.

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?

Description clearly states 'Plain-text (substring) search across project files' with specific verb and resource. It distinguishes from sibling tools like 'get_project_files' and 'get_debug_output' by focusing on substring matching across codebase.

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?

Explicitly says 'Use to find references, callers, or signatures across the codebase', providing clear when-to-use. Does not mention when not to use or alternatives, but sibling differentiation is implied.

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/Erodenn/godot-mcp-runtime'

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