Skip to main content
Glama

get_node_signals

Read-only

List all signals defined on a Godot node and their current connections to verify signal and method names before connecting or disconnecting them.

Instructions

List all signals defined on a node and their current connections. Use before connect_signal/disconnect_signal to verify signal/method names. The connections[].target field is already scene-root-relative in the "root/..." form connect_signal/disconnect_signal accept as targetNodePath (a self-connection reports as "root") - pass it straight through with no conversion. Returns: nodeType and signals[], each with name and current connections (signal/target/method). Errors if node not found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodePathYesNode path from scene root (e.g. "root/Button")
scenePathYesScene file path relative to the project
projectPathYesPath to the Godot project directory

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
signalsNo
nodePathNo
nodeTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.6.0
    • addedOutput schema / properties / signals / items / properties / connections / items / properties / target / description
      Added value: +"Scene-root-relative path in \"root/...\" form (a self-connection is \"root\"), directly usable as targetNodePath in connect_signal/disconnect_signal. \"unknown\" for a freed or null object."
  2. Addedv3.1.1
  3. Removedv3.0.0
  4. Addedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description goes further by disclosing that the connections[].target value is scene-root-relative, that 'root' means a self-connection, and that it errors when the node is not found. These are useful behavioral facts beyond the annotation, though return-shape detail is partly redundant with the output schema.

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?

Front-loads the purpose and the routing guideline first, then adds format detail. Dense and mostly earned, though the path-format parenthetical is long enough to slightly strain readability.

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

Completeness5/5

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

For a read tool with an output schema present, the description covers purpose, when to call it, the path-format quirk that could otherwise cause errors, and the error case. Nothing needed to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real semantic value by tying the output's target field format to the targetNodePath argument that connect_signal/disconnect_signal accept, explaining that no path conversion is needed.

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?

States a specific verb and resource: list signals defined on a node plus their current connections. It clearly distinguishes itself from connect_signal/disconnect_signal by describing a read/inspection role rather than a mutation.

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

Usage Guidelines5/5

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

Explicitly says to use it 'before connect_signal/disconnect_signal to verify signal/method names', naming both alternatives and the condition that selects this tool. No inference required.

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