Skip to main content
Glama

trace_callees

Map forward call dependencies from a symbol to its called functions. Noise from unresolved and common methods is filtered by default; add include flags to retain them.

Instructions

Find what a symbol calls (forward call graph). Same evidence shape as find_callers; unresolved std/common-method noise is filtered out by default (add common_methods / unresolved to the include array to keep it).

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
Behavior3/5

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

Without annotations, the description must convey behavioral traits. It discloses the default filtering behavior and the ability to include noise, but does not mention side effects, auth requirements, rate limits, or output shape. This is adequate but not rich in behavioral context.

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?

Two sentences with no wasted words: the first states the purpose, the second adds key filtering details. Information is front-loaded and efficient.

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 (9 parameters, no output schema), the description is incomplete. It references 'same evidence shape as find_callers' which may help if that sibling is well-documented, but it does not explain the output structure, usage of most parameters, or return semantics. Minimum viable but with clear gaps.

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%, so the description should compensate. It only explains the 'include' parameter's filtering behavior, leaving the other 8 parameters (id, ref, limit, symbol, worktree, edge_kinds, resolution, allow_ambiguous) unexplained beyond the schema. This is insufficient for a low-coverage scenario.

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?

Description clearly states 'Find what a symbol calls (forward call graph)', providing a specific verb-resource pair and distinguishing from the sibling 'find_callers' by explicitly referencing its reverse direction.

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 mentions default filtering of unresolved/common-method noise and how to include them via the 'include' array, offering explicit usage guidance. However, it does not provide when-not-to-use guidance or prerequisites, and the comparison to find_callers is implicit rather than an explicit alternative recommendation.

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