Skip to main content
Glama

tracer

Read-only

Trace code execution flow or map structural dependencies to analyze method calls, call chains, and architecture.

Instructions

Performs systematic code tracing with modes for execution flow or dependency mapping. Use for method execution analysis, call chain tracing, dependency mapping, and architectural understanding. Supports precision mode (execution flow) and dependencies mode (structural relationships).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepYesCurrent work step content and findings from your overall work
modelYesCurrently in auto model selection mode. CRITICAL: When the user names a model, you MUST use that exact name unless the server rejects it. If no model is provided, you may use the `listmodels` tool to review options and select an appropriate match. Top models: gemini-2.5-pro (score 100, 1.0M ctx, thinking, code-gen); gemini-3-pro-preview (score 100, 1.0M ctx, thinking, code-gen); gemini-2.5-flash (score 61, 1.0M ctx, thinking); gemini-2.0-flash (score 56, 1.0M ctx, thinking); gemini-2.0-flash-lite (score 42, 1.0M ctx).
imagesNoOptional paths to architecture diagrams or flow charts that help understand the tracing context.
findingsYesImportant findings, evidence and insights discovered in this step
confidenceNoConfidence level: exploring (just starting), low (early investigation), medium (some evidence), high (strong evidence), very_high (comprehensive understanding), almost_certain (near complete confidence), certain (100% confidence locally - no external validation needed)
trace_modeYesType of tracing: 'ask' (default - prompts user to choose mode), 'precision' (execution flow) or 'dependencies' (structural relationships)
step_numberYesCurrent step number in work sequence (starts at 1)
total_stepsYesEstimated total steps needed to complete work
files_checkedNoList of files examined during this work step
relevant_filesNoFiles identified as relevant to issue/goal (FULL absolute paths to real files/folders - DO NOT SHORTEN)
continuation_idNoUnique thread continuation ID for multi-turn conversations. Works across different tools. ALWAYS reuse the last continuation_id you were given—this preserves full conversation context, files, and findings so the agent can resume seamlessly.
relevant_contextNoMethods/functions identified as involved in the issue
next_step_requiredYesWhether another work step is needed. When false, aim to reduce total_steps to match step_number to avoid mismatch.
target_descriptionYesDescription of what to trace and WHY. Include context about what you're trying to understand or analyze.
use_assistant_modelNoUse assistant model for expert analysis after workflow steps. False skips expert analysis, relies solely on your personal investigation. Defaults to True for comprehensive validation.
Behavior4/5

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

Annotations declare readOnlyHint=true, confirming no destructive side effects. The description adds behavioral context by detailing the two trace modes ('precision' and 'dependencies'), which is beyond what annotations convey. There is no contradiction.

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 three sentences: first defines the core action, second lists use cases, third specifies modes. Every sentence adds value, and the most important information is front-loaded.

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?

Despite the tool having 15 parameters (8 required) and no output schema, the description remains very brief. It does not provide a narrative on how to use the tool effectively, nor explain the relationship between parameters or the expected workflow, leaving the agent to rely entirely on the schema.

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 100%, so the baseline is 3. The description does not elaborate on any parameters beyond what the schema already provides, but this is acceptable given the high coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool performs 'systematic code tracing' and specifies two modes: execution flow and dependency mapping. It lists use cases like method execution analysis and call chain tracing, but does not differentiate from sibling tools like 'analyze' or 'debug', which could overlap in function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit use cases such as 'method execution analysis, call chain tracing, dependency mapping', but does not offer when-not-to-use guidance or compare against alternative sibling tools. The usage context is implied rather than explicit.

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/bigl34/pal-mcp-server'

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