Skip to main content
Glama

gp_recall

Find a symbol definition by name — returns kind, file:line, and signature. Pre-indexed search avoids false positives from comments or strings.

Instructions

Find a symbol definition by name — returns kind, file:line, and signature. ALWAYS use instead of grep -rn "function X" or reading files to locate a definition: pre-indexed, no false positives from comments or strings, sub-millisecond. Pass substring:true for partial-name searches. Do NOT use for "who calls X?" — use gp_callers for that.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSymbol name to look up.
limitNoMax results (default 10).
substringNoEnable substring match (default false).
pathNoRepo root with a GraphPilot index. Optional: when omitted, resolves via GRAPHPILOT_ROOT, MCP workspace roots, parent walk, or a single ~/.graphpilot index.
Behavior4/5

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

With no annotations, the description carries full burden. It discloses pre-indexed nature, no false positives, sub-millisecond performance, and path resolution behavior. Does not cover error handling (e.g., symbol not found), but overall good context.

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?

Highly concise and front-loaded: starts with purpose, then guidelines, then parameter hints. Every sentence adds value with no fluff.

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?

With no output schema, the description specifies return values (kind, file:line, signature). All 4 parameters are explained. Sibling tools are listed. Complete for the intended use.

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% (baseline 3). The description adds meaning by explaining substring usage ('Pass substring:true for partial-name searches') and path resolution behavior, going beyond the simple schema descriptions.

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 finds a symbol definition by name, returning kind, file:line, and signature. It distinguishes from sibling tools by explicitly stating to use instead of grep and not for 'who calls X?' (use gp_callers).

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?

Provides explicit when to use ('ALWAYS use instead of grep -rn...') and when not to use ('Do NOT use for "who calls X?" — use gp_callers for that'), along with hints for substring parameter usage.

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/graphpilot-oss/graphpilot'

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