Skip to main content
Glama

search_project

Read-only

Search for plain-text substrings across Godot project files to find references, callers, or signatures. Supports filtering by file type, case sensitivity, and result limit.

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 (truncated:true if hit). Returns { matches: [{ file, lineNumber, line }], truncated }. Skips hidden entries and the .mcp directory.

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)
Behavior5/5

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

The description discloses important behaviors beyond the readOnlyHint annotation: default file types, case sensitivity default, maxResults with truncation behavior, and that 'Skips hidden entries and the .mcp directory'. This gives the agent full understanding of the tool's behavior and limitations.

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 a single, front-loaded paragraph. Every sentence is informative: purpose, usage, defaults, return shape, exclusions. No redundant or filler content.

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 no output schema, the description explains the return format { matches, truncated } and mentions it skips hidden entries. Parameter defaults and search behavior are fully covered. This is complete for a straightforward search tool.

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 coverage is 100% with descriptions for all parameters. The description adds value by restating defaults and adding truncation behavior for maxResults. While not drastically new, it provides a concise summary that helps the agent understand parameter interactions.

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 starts with 'Plain-text (substring) search across project files', clearly stating the verb and resource. It further specifies use cases: 'find references, callers, or signatures across the codebase', which distinguishes it from sibling tools like get_project_files or scene operations.

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?

The description explicitly says 'Use to find references, callers, or signatures across the codebase', providing clear context for when to use this tool. However, it does not explicitly state when not to use it or mention alternative tools, though the sibling list doesn't include another search tool.

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