Skip to main content
Glama

add_theme_type

Add a control type (like Button, Label, Panel) to a Godot Theme, specifying default font size and font color.

Instructions

Add a control type (font size/color) to a Theme.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesControl type to add (e.g. "Button", "Label", "Panel")
font_sizeNoDefault font size for this type
font_colorNoDefault font color (e.g. "Color(1, 1, 1, 1)")
theme_pathYesPath to .tres Theme file
Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing behavioral traits. It implies a mutating add operation but doesn't state whether the .tres file is modified in place, whether the theme must already exist, what happens if the type already exists, or what the function returns. This is a significant gap for a tool that modifies resources.

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?

The description is a single, front-loaded sentence with no fluff. It earns its place by stating the core purpose, but it is under-specification rather than genuinely concise; however, for the length, it is appropriately sized.

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

Completeness2/5

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

Given the tool has 4 parameters, no annotations, and no output schema, the description is incomplete. It does not explain the effect on the theme file, error conditions, or any return value. The schema covers parameters, but the tool's usage context and post-conditions are absent, making it insufficient for an agent to fully anticipate the tool's behavior.

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?

The input schema has 100% description coverage, so the schema fully documents the parameters. The description adds minimal extra meaning with the phrase 'font size/color,' but this is already present in the parameter descriptions. Baseline 3 is appropriate because the description does not need to compensate for schema gaps.

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 clearly states the action: add a control type (font size/color) to a Theme. The verb 'add' and resource 'Theme' are specific, and the parenthetical clarifies what a control type involves. However, it doesn't explicitly distinguish among the many sibling 'add_*' tools, though the theme-specific resource and parameters do provide some differentiation.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., the Theme must exist), exclusions, or related tools like create_theme or read_theme. The agent is left with no context for choosing this tool over a sibling.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yanhuifair/Godot-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server