Skip to main content
Glama

godot_resource_leaks

Detects RID, ObjectDB, and resource teardown warnings to help identify Godot memory leaks and cleanup issues.

Instructions

Find RID, ObjectDB, and resource teardown warnings.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it says nothing about whether the engine/editor must be live, whether it reads accumulated logs versus probing current state, or whether results are per-run. Only the word "Find" weakly implies a read-only, non-destructive operation.

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?

A single short sentence with the diagnostic target front-loaded and no filler. Nothing is wasted.

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 zero-parameter tool with no output schema and no annotations, the description should at least say what comes back and what state the project must be in. It identifies the subject matter well but leaves the agent guessing about invocation context and result shape.

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?

The tool takes zero parameters, so there is no parameter semantics to explain; the baseline of 4 applies. The description neither helps nor harms here.

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 ("Find") and a concrete resource ("RID, ObjectDB, and resource teardown warnings"), which is a recognizable Godot leak-diagnostic category. It is distinguishable from godot_runtime_errors and godot_script_diagnostics by the leak/teardown framing, though it never explicitly contrasts itself with them.

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 statement of when to reach for this tool, no preconditions (e.g. must the engine be running, must the project have just been stopped), and no pointer to a sibling that covers a nearby case. The agent must infer from the name alone that this is a post-run or teardown diagnostic.

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