Skip to main content
Glama

find_symbol

Look up a function, class, or symbol by name and retrieve its definition along with call-graph relationships. Supports exact or fuzzy substring matching.

Instructions

Use to look up a specific function/class/symbol by name — preferred over Grep since it returns the definition plus its call-graph relationships in one call. Set exact=False for fuzzy substring matching when unsure of the exact name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesSymbol name (e.g. 'create_server', 'TokenBudget')
exactNoTrue for exact match, False for fuzzy substring

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description must disclose behavioral traits. It reveals that the tool returns definition and call-graph relationships, but does not mention if it has side effects, rate limits, or authorization needs. It implicitly suggests read-only behavior but doesn't state it clearly.

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 two sentences, front-loads the purpose, and includes a key usage tip. Every sentence is necessary and efficient.

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 the tool has an output schema, the description need not detail return format. It covers the core operation and key parameter variation. Sibling context shows this is a lookup tool among analysis tools, and the description adequately differentiates.

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% with both parameters well-described. The description adds a note about using exact=False for fuzzy matching, which complements the schema but adds limited extra semantic value beyond what the schema already provides.

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 the verb 'look up' and the resource 'specific function/class/symbol by name'. It distinguishes from Grep by mentioning it returns definition plus call-graph relationships, making it clear what the tool does uniquely.

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?

It explicitly says 'preferred over Grep' and provides guidance on setting exact=False for fuzzy matching. However, it does not explicitly state when not to use this tool or how it compares to siblings like analyze or explain.

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/jaggernaut007/Nexus-MCP'

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