Skip to main content
Glama

call_chain

Trace code impact by listing callers and callees for a line or symbol, revealing dependencies and change effects.

Instructions

Callers/callees at a line; use when you know line, not symbol name. Symbol-level? impact_analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesFile path relative to workspace_dir (e.g. "src/auth.py")
lineNoLine number. OR symbol (at least one required).
depthNoCall chain depth (default: 2, max: 10)
symbolNoSymbol name. OR line. Both? symbol wins.
max_calleesNoMax callees to return (default: 20)
max_callersNoMax callers to return (default: 20)
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