Skip to main content
Glama

Lessons from real Godot projects

godot_lessons

Find real Godot 4 lessons by query, error, rule, topic, or gaps to diagnose what went wrong, get the fix, and test it before building moving platforms, vehicles, worlds, shaders, or headless tests.

Instructions

Answer from lessons learned in real Godot 4 projects and on this machine: what went wrong, why, the fix and how to test it. Find them by query (words such as 'helicopter slides off moving ship', or a lesson id), error (a Godot message as printed), rule (a review or model rule), or narrow by topic (gdscript, physics, rendering, import, models, world, performance, gameplay, ui, audio, tooling, process); with none of them it lists the lessons. gaps: true lists the Godot errors seen here (and by other installs) that no rule predicts and no lesson explains yet. Use it when Godot shows an error you do not understand, and before you build moving platforms, vehicles, ships, large worlds, runtime-loaded models, shaders or headless tests. detail brief gives title and fix; full adds symptom, cause, test, rules and the message. Lessons learned here are marked. It counts shown lessons in the local learning file (GODOTWRIGHT_LEARN=0 turns that off); say whether one helped with godot_feedback (lesson).

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

Input Schema

NameRequiredDescriptionDefault
gapsNolist what Godotwright cannot predict yet instead of lessons
ruleNoa rule id from godot_review or godot_model_lint, e.g. api/infer-variant
errorNoa Godot error or warning message, as printed
limitNomax lessons (default 5; 20 when listing)
queryNowords, or a lesson id
topicNoonly lessons of this topic
detailNobrief (capped lists) or full (everything); default full

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.0
    • changedInput schema / properties / detail / description
      Previous value: -"brief: short output with capped lists; full: everything (default for this premium profile: full)."New value: +"brief (capped lists) or full (everything); default full"
  2. Addedv0.2.2

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations, the description discloses a real side effect: shown lessons are counted in the local learning file, with GODOTWRIGHT_LEARN=0 to disable it, which helps explain readOnlyHint=false and idempotentHint=false for an otherwise read-like tool. It also explains what detail levels return (brief = title and fix; full = symptom, cause, test, rules and the message). It does not mention output format, ordering, or what happens when nothing matches.

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

Conciseness3/5

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

It is front-loaded with purpose and the filtering axes, and most clauses carry information. However, it is delivered as one dense run-on paragraph mixing search modes, pre-build advice, detail levels, side effects and feedback instructions, which makes it harder to scan than it needs to be.

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

Completeness4/5

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

For a seven-parameter, no-output-schema query tool, the description covers what comes back at each detail level, what gaps mode returns, and the local counting side effect. Only the empty-result behavior and result ordering are left unstated, which is minor for this complexity.

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 genuine meaning: query accepts words like 'helicopter slides off moving ship' or a lesson id, error is a Godot message as printed, rule is a review or model rule, and running with no filters lists the lessons. The detail and gaps semantics are also framed in behavioral terms rather than restating 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 states a specific resource (lessons learned in real Godot 4 projects on this machine) and a concrete return shape: what went wrong, why, the fix and how to test it. It also lays out the lookup axes (query, error, rule, topic) and the default list behavior, which separates it from godot_lesson_add and godot_feedback. It does not explicitly name those siblings, which keeps it just short of a 5.

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?

Explicit triggers are given: use it when Godot shows an error you do not understand, and before building moving platforms, vehicles, ships, large worlds, runtime-loaded models, shaders or headless tests. The gaps mode is also scoped to a distinct purpose (errors no rule predicts and no lesson explains). The feedback loop to godot_feedback is stated as a follow-up action.

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