Skip to main content
Glama

godot_go_to_definition

Jump to the definition of a symbol at a specified file, line, and column to navigate GDScript code and resolve references.

Instructions

Jump to the definition of a symbol at a specific location.

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_go_to_definition"
  }
}

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

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. 'Jump to' is ambiguous in an MCP context: it does not clarify whether the tool moves an editor cursor or returns location data, nor does it state read-only safety, failure behavior for unresolved symbols, or permission requirements.

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?

A single tight sentence with the operation front-loaded and no filler. It is efficient, though the brevity contributes to the gaps in guidance and behavior rather than being purely a virtue.

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?

No output schema exists, so the description should explain what comes back (e.g., the target file/line/column of the definition), but it says nothing about the return value. For a three-required-parameter navigation tool with zero annotations, that is a material omission.

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 file/line/column are already fully documented including 1-based indexing. The phrase 'at a specific location' adds no meaning beyond the schema, 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?

States a specific verb+resource: 'jump to the definition of a symbol', which is a recognizable navigation operation. However, it never distinguishes itself from sibling tools like godot_find_symbol or godot_find_references, which an agent could easily confuse with a go-to-definition action.

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?

No when-to-use guidance and no mention of alternatives. The description does not say whether this is the right tool when you already know file/line/column versus when you only have a symbol name (which would point at godot_find_symbol).

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