Skip to main content
Glama
beckettlab

Beckett — MCP for Godot

by beckettlab

set_resource

Assign a resource to a Godot node's property, either by loading from a res:// path or generating a new inline sub-resource from a specified class.

Instructions

Assign a resource to a node's property (undoable). Use 'resource' (res:// path to load) OR 'class' (mint a new inline sub-resource of that class). e.g. set Sprite2D.texture from a path, or a fresh RectangleShape2D on CollisionShape2D.shape.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
classNoclass to instantiate as a new inline sub-resource
targetYes
propertyYes
resourceNores:// path of an existing resource
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description adds the behavioral note that the operation is 'undoable' and clarifies that it can either load an existing resource or mint a new inline sub-resource. This provides useful context beyond the structured fields.

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?

The description is front-loaded with the main purpose, followed by parameter guidance and examples in just two sentences. Every sentence earns its place, with no wasted words.

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?

Given no output schema, the description covers key aspects: the two distinct modes, examples, and the undoability. It is complete enough for an agent to select and invoke the tool correctly, though it could be slightly more explicit about mutual exclusivity or required parameter formats.

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?

The description compensates for the 50% schema coverage by explaining the relationship between 'resource' and 'class' (OR) and providing concrete examples. It implicitly clarifies that 'target' is a node and 'property' is a property name, though not explicitly, which adds value beyond the schema.

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?

The description clearly states 'Assign a resource to a node's property' with specific verb and resource, and differentiates from siblings like set_property and create_resource by focusing on resource assignment. The examples further clarify the intended use.

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?

The description provides context via examples (e.g., setting Sprite2D.texture or RectangleShape2D) and explains the two parameter modes, but it does not explicitly state when to use this tool over alternatives or list exclusions. Usage is implied rather than explicitly contrasted with sibling tools.

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/beckettlab/beckett-godot-mcp'

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