Skip to main content
Glama

query

Read-onlyIdempotent

Locate code symbols via semantic search and graph expansion, returning ranked results with optional context packs for AI analysis.

Instructions

Locate symbols in the indexed graph (BM25/FTS + 1–2 hop graph expand + RRF; optional vector channel) — not web search. Prefer search_hybrid when you also want a package public_api_map. Production/app defs rank above sample/test/fixture/style noise; pass path= on follow-up context/context_bundle/impact when ambiguous. For broad/architecture questions set include_context_pack=true and limit 24-32. Pair hits with context_bundle before claiming behavior. Empty hits → rephrase, ast_query, or analyze.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoNoRepository name (optional if only one indexed)
limitNoMax items in context_pack when include_context_pack or limit>0 (default 24)
queryYesSymbol name, concept, or natural-language locate task
top_kNoMax ranked hits to return (default 10). Lower = fewer tokens, sharper focus.
formatNoResponse text encoding: toon (default, token-efficient) | json
intentNoOptional task intent: explore|debug|test|refactor
base_refNoDiff base for changed-symbol boostingHEAD~1
verbosityNoconcise (default: name/kind/loc/score) | detailed (full symbol records)
budget_tokensNoWhen set (>0), also return token-budgeted buckets
include_context_packNoInclude ranked context_pack in response
Behavior5/5

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

Annotations confirm safety (readOnly, idempotent, non-destructive). The description adds behavioral traits: ranking prioritization ('production/app defs rank above sample/test/fixture/style noise'), follow-up tool suggestions (context_bundle, impact), and token-efficiency behavior ('Lower = fewer tokens, sharper focus'). No contradictions with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but each sentence adds value. It front-loads core purpose and differentiation. While efficient, the long first sentence could be slightly restructured for easier parsing. Still, no wasted words.

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 10 parameters, no output schema, the description covers tool usage comprehensively: algorithm details, ranking behavior, parameter advice, fallback strategies, and follow-up tools. An agent has sufficient information to invoke correctly.

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 description coverage is 100%, so baseline is 3. The description adds extra meaning beyond schema: for 'limit', it clarifies default behavior ('default 24'); for 'top_k', explains trade-off ('Lower = fewer tokens, sharper focus'); for 'include_context_pack', provides use-case context. These enhancements justify above baseline.

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 tool's purpose: 'Locate symbols in the indexed graph' with specific algorithmic details (BM25/FTS, graph expand, RRF, optional vector channel). It explicitly distinguishes from web search, a sibling tool, enhancing clarity.

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 guidance: 'Prefer search_hybrid when you also want a package public_api_map.' Also offers context-specific advice such as 'for broad/architecture questions set include_context_pack=true and limit 24-32' and fallback instructions on empty hits ('rephrase, ast_query, or analyze').

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/VeyrForge/codehelper'

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