Skip to main content
Glama

what_changed_in_symbols

Compares code symbols against a previous git commit to report added, removed, and changed signatures, so you can identify symbol-level code changes instead of line-level diffs.

Instructions

Compares symbols between the current index and a previous git commit. Returns symbols added, removed, or changed with signature diffs. Works at symbol level, not line level.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repo": "<repo>"
    },
    "name": "what_changed_in_symbols"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesRepository name (as shown in list_repos)
commitNoGit ref to compare against (default: HEAD~1)HEAD~1
file_pathNoRelative file path within the repository (e.g., 'src/main.py')
max_filesNoMaximum number of files to diff

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.2

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does useful work by disclosing the return shape at a high level (added, removed, changed, with signature diffs) and the symbol-level granularity, and 'compares' implies a read-only operation. It omits what happens when the commit is missing or outside the index, and the max_files cap suggests truncation behavior that is never described.

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?

Three short sentences, front-loaded with the core comparison and the return content, ending with the symbol-vs-line distinction that prevents a wrong expectation. No filler.

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

Completeness4/5

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

With no output schema, the description must convey return values, and it does state what is returned and in what granularity. Coverage of failure modes and truncation via max_files is thin, but for a read-only comparison tool the essentials are present.

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 coverage is 100%, so all four parameters, including defaults for commit, file_path, and max_files, are already documented in the schema. The description adds no further meaning about formats or interactions, so the baseline 3 applies.

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 names a specific verb and resource: comparing symbols between the current index and a prior git commit, with an explicit note that it operates at symbol level rather than line level. That distinguishes the tool's output granularity from generic diffing, though it doesn't name a specific sibling such as whats_changed_recently to route between them.

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?

Usage is only implied: the reader can infer it is for checking symbol-level changes against a specific commit. There is no statement of when to prefer this over whats_changed_recently or what_breaks_if_i_change, and no prerequisites such as the index needing to cover the target commit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.