Skip to main content
Glama

godot_get_shader_docs

Retrieves Godot shader documentation for built-in uniforms, render modes, and GLSL functions by shader type to help you implement correct shader code.

Instructions

Get Godot shader documentation - built-in uniforms, render modes, GLSL functions by shader type.

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

Input Schema

NameRequiredDescriptionDefault
topicNoDocumentation topic
shader_typeNoShader type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden of disclosure. It conveys that the tool returns reference documentation (a passive read) and names what kind of content comes back, which is useful, but says nothing about permissions, output format, or whether a call is expensive/cached. For a static doc lookup the risk is low, so this is adequate rather than strong.

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 front-loaded sentence with the resource first and the qualifying axes after; there is no filler or redundant restatement of the tool name.

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?

Both parameters are optional (required=0), and the description never states what happens with no arguments — e.g. whether the full doc set is returned or the call requires at least one selector. With no output schema and no annotations, that gap and the missing note on return shape keep it at minimum viable.

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% with both parameters fully enum-constrained and described, so the schema already does the heavy lifting. The description adds only the linkage that documentation is organized "by shader type," without explaining the interaction between topic and shader_type or the default behavior when either is omitted.

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?

Specific verb and resource ("Get Godot shader documentation") plus an enumeration of the content categories (built-in uniforms, render modes, GLSL functions) and the shader-type axis. It is clearly distinguishable from analysis tools like godot_analyze_shader or godot_lint_shader, though it does not explicitly separate itself from the doc-lookup siblings godot_get_api_docs / godot_get_project_docs.

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: the phrase "by shader type" and the topic enumeration signal this is a reference lookup for shader authoring. There is no explicit when-to-use statement and no routing to or away from sibling doc tools such as godot_get_api_docs or godot_search_docs.

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