Skip to main content
Glama

references

Find cross-file usages of a code symbol with usage counts. Specify full member path (obj.method) to locate calls, imports, uses, assignments across a workspace, avoiding grep.

Instructions

Cross-file usages of a symbol, incl. usage counts. Use full member path (obj.method). Prefer over grep. AUTO-FRESH: files modified after last index are re-indexed automatically on read — explicit reindex only needed for brand-new workspaces/files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNoRestrict to file rel to root; not a dir; omit = project-wide
kindNoY002-S4 kind filter: comma-separated call/import/use/assign/extends/implements. Invalid kinds ignored with kind_filter_note.
symbolYesSymbol name / call target to find references for
workspace_dirYesREQUIRED: project root (abs). reindex first if new.

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/wulun811/LiuHe'

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