Skip to main content
Glama

get_changed_symbols

Identify code symbols affected by git changes for PR review. Maps git diffs to functions, classes, and methods with optional impact analysis.

Instructions

Map a git diff to affected symbols (functions, classes, methods). For PR review. If "since" is omitted, auto-detects main/master as the base.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNoGit ref to compare from (SHA, branch, tag). If omitted, auto-detects main/master merge-base
untilNoGit ref to compare to (default: HEAD)
include_blast_radiusNoInclude blast radius for each changed symbol (default false)
max_blast_depthNoMax blast radius traversal depth (default 3)
Behavior3/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 that the tool maps git diffs to symbols and auto-detects a base ref when 'since' is omitted, which are useful behavioral traits. However, it lacks details on permissions, rate limits, error handling, or output format, leaving gaps in behavioral understanding for an AI agent.

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 highly concise and front-loaded, with two sentences that efficiently convey the tool's purpose and a key parameter behavior. Every sentence earns its place by providing essential information without redundancy or unnecessary details.

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 moderate complexity (4 parameters, no output schema, no annotations), the description is adequate but incomplete. It covers the purpose and a parameter nuance, but lacks details on output format, error conditions, or integration with sibling tools, which could hinder an AI agent's ability to use it effectively in all contexts.

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?

The schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds minimal value by mentioning the auto-detection behavior for 'since' when omitted, but does not provide additional semantics beyond what the schema specifies, such as examples or edge cases.

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 with specific verbs ('Map a git diff to affected symbols') and resources ('functions, classes, methods'), and distinguishes it from siblings by specifying its use case ('For PR review'). It provides a clear, actionable purpose that differentiates it from other tools like 'compare_branches' or 'get_change_impact'.

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 clear context on when to use the tool ('For PR review') and includes a specific usage note about the 'since' parameter ('If omitted, auto-detects main/master as the base'). However, it does not explicitly state when not to use it or name alternative tools for similar tasks, such as 'compare_branches' for general diff comparison.

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/nikolai-vysotskyi/trace-mcp'

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