Skip to main content
Glama
JSungMin

vs-token-safer

find_references

Find all semantic references to a symbol using the language server index, returning a token-capped file:line list to enable precise code changes.

Instructions

Find every call site / usage of a symbol (semantic, via the language server) — NOT a text grep. THE tool to reach for when MODIFYING code: pass symbol (just the name, e.g. "SpawnActor") and it resolves the declaration and returns all references in one call — no need to know a line/column. (A 0-based path+line+character position also works, to disambiguate an overload.) Returns a token-capped file:line list, no bodies. Prefer this over grepping a name to find its uses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolNoSymbol NAME to find references of — resolved via the index (no position needed). The usual way to find call sites when editing.
pathNoSource file containing the symbol (with line/character for an exact position; or alongside `symbol` to disambiguate an overload).
lineNo0-based line of the symbol position.
characterNo0-based character/column of the symbol position.
includeDeclarationNoInclude the declaration in the results.
projectPathNo
backendNo
maxResultsNo
Behavior4/5

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

Discloses that it returns a token-capped file:line list with no bodies, resolves the declaration, and accepts symbol name or position for disambiguation. No annotations provided, so description carries full burden; it adequately covers key behaviors.

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?

Well-structured, front-loaded with key info. Each sentence adds value. No redundancy or fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers main usage, input options, and return format. Lacks mention of error cases (e.g., symbol not found) or limitations beyond token cap. Still fairly complete given no output schema.

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?

Adds meaning beyond schema for 'symbol' (just name, no position needed) and explains how path+line+character disambiguates overloads. Schema coverage is 63%; description enriches the main parameters but does not describe projectPath, backend, maxResults.

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 specifies that the tool finds every call site/usage of a symbol using semantic analysis (language server), not text grep. It distinguishes itself from grepping and other tools like search_text. States it's the tool for modifying code.

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?

Explicitly says to use when modifying code and to prefer over grepping. Provides clear context but does not explicitly exclude cases where text search is needed (e.g., regex). Still strong guidance.

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/JSungMin/vs-token-safer'

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