Skip to main content
Glama

trace_callees

Trace which functions a symbol calls by generating a forward call graph. Filters out unresolved standard library and common method calls by default.

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?

No annotations exist, so the description carries full burden. It discloses the default filtering behavior and that the output shape matches 'find_callers'. However, it does not mention whether the tool is read-only, has destructive side effects, or any rate limits or auth requirements.

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 that are front-loaded with the core purpose and immediately useful behavioral detail. Every word earns its place; no redundancy.

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

Completeness2/5

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

With 9 parameters and no output schema, the description is incomplete. It only addresses the 'include' parameter and does not explain output format, usage of other parameters, or how to interpret results. The tool's complexity demands more comprehensive documentation.

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

Parameters3/5

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

Schema description coverage is only 22%, but the description adds value by clarifying the 'include' parameter (values like common_methods and unresolved and their default behavior). Other parameters (e.g., id, ref, edge_kinds, resolution) remain undocumented, partially compensating but insufficient to fully cover the 9 parameters.

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 and resource. It distinguishes itself from the sibling tool 'find_callers' (reverse direction) by referencing the same evidence shape.

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?

Description explains that unresolved and common-method noise is filtered by default and how to include it via the 'include' parameter. It implies usage for discovering outgoing calls, but does not explicitly state when to use this tool over siblings like 'find_callers' or other graph tools.

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