Skip to main content
Glama

godot_get_common_pitfalls

Retrieve common GDScript pitfalls with practical avoidance guidance, optionally filtered by category, to prevent recurring coding mistakes in Godot 4.x projects.

Instructions

Get comprehensive list of common GDScript pitfalls and how to avoid them.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "godot_get_common_pitfalls"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryNoFilter by category (optional)

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?

No annotations are provided, so the description carries the full disclosure burden. It implies a read-only informational response containing both pitfalls and mitigations, but says nothing about whether the content is static reference material or project-scoped, and nothing about size, pagination, or return structure.

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 front-loaded sentence with no filler or redundancy. It is efficient, though its brevity is part of why several dimensions above are under-specified.

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 one-optional-parameter reference tool with no output schema and no annotations, the definition is minimally adequate. It still leaves the agent guessing about what the response looks like and what categories exist, which matters for invoking the filter correctly.

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% and the single optional 'category' parameter is documented in the schema, so the baseline is 3. The description never mentions the category filter or what category values are accepted, so it adds no meaning beyond the schema.

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 pairs a specific verb ('Get') with a specific resource ('common GDScript pitfalls and how to avoid them'), so the agent knows exactly what content comes back. It does not name or differentiate against near-neighbors such as godot_get_performance_guide or godot_check_patterns, leaving overlap resolution to the agent.

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?

There is no when-to-use or when-not guidance, no prerequisites, and no mention of an alternative tool. The agent must infer that this is a reference/knowledge lookup rather than a project-analysis call, purely from the wording of the noun phrase.

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