Skip to main content
Glama

find_callers

Find all callers of a symbol with reverse call graph analysis. Returns call sites, confidence scores, completeness warnings, and dispatches edges for actor-channel dispatch.

Instructions

Find what calls a symbol (reverse call graph), instead of grepping for call sites. Returns call sites with confidence + target verification, a completeness / false-positive risk summary, and repo memories crossing the call path. Includes synthesized dispatches edges for message/enum (actor-channel) dispatch — the sender that constructs the variant a handler's match arm handles. Resolve the symbol with symbol_lookup first when a name is ambiguous.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
refNo
limitNo
symbolNo
includeNoWhat to include: `memories` (on by default); `references`, `unresolved`, `macros`, `common_methods`, `coverage` (all off by default). Omit to keep defaults; an explicit list is the exact on-set (so listing `macros` alone also drops the default `memories`).
worktreeNoAbsolute path to a linked git worktree you're working in; serves that worktree's branch overlay over the indexed checkout. Omit (or pass an unrelated path) for the indexed checkout.
edge_kindsNo
resolutionNo
allow_ambiguousNo
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses several behavioral traits: returns call sites with confidence + target verification, a completeness/false-positive risk summary, repo memories, and synthesized dispatches edges. It implies a read-only query. While not exhaustive, it provides substantial transparency.

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 a single concise paragraph of 4 sentences, front-loading the core purpose. Every sentence adds value: purpose, output detail, edge case (dispatches), and usage guidance. No redundant or tautological content.

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

Completeness3/5

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

Given the tool's complexity (graph traversal, 9 parameters, no output schema), the description covers key output aspects but lacks details on parameter interactions, return format structure, and how to interpret confidence/verification. It is adequate but not fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 22% (2 of 9 parameters described). The description does not add any parameter-level explanations beyond the schema. It mentions resolving ambiguous symbols but does not describe parameters like 'include', 'edge_kinds', or 'resolution'. The high parameter count with low schema coverage demands more compensation.

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: 'Find what calls a symbol (reverse call graph)'. It uses a specific verb 'find' and resource 'callers of a symbol', and distinguishes from alternative approach 'grepping for call sites'. It also contrasts with sibling tools like 'trace_callees' (forward direction) and 'symbol_lookup' (resolution).

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?

The description provides explicit guidance to 'Resolve the symbol with symbol_lookup first when a name is ambiguous', indicating when to use which tool. It also implies use instead of grepping. However, it does not explicitly exclude cases or compare to other graph tools like 'trace_callees'.

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/cq27-dev/rag-rat'

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