Skip to main content
Glama

Search the Godot 4.7 API

godot_api_search
Read-onlyIdempotent

Searches the offline Godot 4.7 class reference by words to find classes, methods, properties, signals, keywords, and descriptions when you know what you need but not its name.

Instructions

Search the Godot 4.7 class reference offline by words: class, method, property and signal names, keywords and descriptions, best matches first. Use it when you know what you need but not its name ('raycast 3d', 'change scene'), then call godot_api on the best match for its full entry. For where your own project uses a name, use godot_usages. Returns one line per match with its kind and signature, e.g. method CharacterBody2D.is_on_floor() -> bool const, or 'no matches'. limit caps the list (default 10, at most 50). Read-only.

Input Schema

NameRequiredDescriptionDefault
limitNomax results (default 10)
queryYeswords, e.g. 'raycast 3d', 'change scene', 'is on floor'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description reinforces 'Read-only' while adding real behavioral context: results are ranked best-first, the return is one line per match with kind and signature (with a sample), and the 'no matches' case is disclosed. It stops short of describing ranking/collation details or performance constraints, so not a top score.

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?

Four tight sentences, front-loaded with the capability, then usage, then return shape, then parameter note. Every sentence carries distinct information; no filler or repetition of the title.

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?

With only two params, no output schema, and full schema coverage, the description supplies everything an agent needs: what is searched, how to phrase queries, routing to siblings for follow-up, result format, and match-count behavior including the empty case.

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 both parameters are already documented there, including the same example strings and the default/max for limit. The description restates the limit cap (default 10, at most 50) and query semantics but adds no format or syntax detail beyond the schema, so the baseline of 3 applies.

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 ('Search the Godot 4.7 class reference offline') plus exactly what fields are searched (class, method, property, signal names, keywords, descriptions). It differentiates itself from the named siblings godot_api (full entry) and godot_usages (project-local lookups).

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 when-to-use with concrete example queries ('raycast 3d', 'change scene'), plus a clear next step ('call godot_api on the best match') and an explicit exclusion routing to godot_usages for project-local name usage. Nothing is left to inference.

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