Skip to main content
Glama

godot_lint_file

Lint a GDScript file to surface detailed issues, CLAUDE.md compliance problems, and actionable suggestions.

Instructions

Lint a GDScript file with detailed issues, CLAUDE.md compliance, and suggestions.

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>"
    },
    "name": "godot_lint_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesFile path to lint

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does usefully disclose that the output includes CLAUDE.md compliance findings and suggestions, which tells the agent the response is diagnostic rather than just a pass/fail. However, it never says whether the tool is read-only, whether the file is modified, or whether it needs a Godot runtime/project context.

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; the verb and scope come first and the output characteristics follow. It is compact without being cryptic, though the comma-separated noun list reads slightly clipped.

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-parameter tool with no output schema and no annotations, the description covers what the tool does and roughly what it returns, which is adequate. It still leaves important gaps for an agent: whether file mutation or auto-fix can occur, and what environment (project path, Godot install) must be present for a successful call.

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% for the single "file" parameter, so the schema already documents it. The description adds only the implied constraint that the file must be GDScript, with no detail on path format (absolute vs. res://-relative) or whether the file must belong to an open project.

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 ("Lint") and a specific resource ("a GDScript file"), and enumerates what the result contains (issues, CLAUDE.md compliance, suggestions). It implicitly distinguishes itself from project-wide or shader linting by the singular "file" scope, though it never names a sibling.

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

Usage Guidelines3/5

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

Usage is only implied: an agent infers it should call this when it has a single GDScript file path to inspect. There is no explicit when-to-use, when-not-to-use, or pointer to godot_lint_project / godot_auto_fix as the alternative for project-wide or fix-it scenarios.

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