Skip to main content
Glama

godot_find_references

Locate every usage of a symbol by file, line, and column, returning all references across the Godot project for accurate code navigation and safe refactoring.

Instructions

Find all references to a symbol. Returns all usages across the project.

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": {
      "file": "<file>",
      "line": "<line>",
      "column": "<column>"
    },
    "name": "godot_find_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesFile path
lineYesLine number (1-based)
columnYesColumn number (1-based)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does state the key behavioral trait: results cover all usages across the whole project rather than a local scope. It omits whether the cursor must sit on the symbol's declaration, what the response shape is, and any performance caveats for large projects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and followed by the result scope; nothing is redundant. The brevity is appropriate, though it leaves the gaps noted in other dimensions.

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?

For a simple three-parameter read-only lookup with no output schema, the definition covers the core behavior but not the return format (list of locations? counts?) or the positional-parameter model. An agent knows what the tool does but not exactly how to aim it or what it gets back.

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 the three parameters are already documented with types and 1-based numbering. The description adds nothing beyond the schema, notably failing to explain that file/line/column identify a cursor position pointing at the symbol rather than a symbol name.

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?

"Find all references to a symbol" gives a specific verb and resource, and "all usages across the project" clarifies scope. It does not differentiate itself from plausible siblings such as godot_find_symbol or godot_go_to_definition, so an agent must infer the boundary.

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

Usage Guidelines2/5

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

The description states no when-to-use conditions, prerequisites, or alternatives. It never explains how this differs from godot_find_symbol or godot_go_to_definition, nor when a reference search is the right choice.

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