Skip to main content
Glama
beckettlab

Beckett — MCP for Godot

set_resource

Assign a resource to a node's property, either by loading an existing resource from a res:// path or minting a new inline sub-resource of 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?

Annotations indicate readOnlyHint=false and destructiveHint=false. The description adds the key behavioral trait 'undoable', which is beyond what annotations provide. It also implies the parameters 'resource' and 'class' are mutually exclusive, though not explicitly stated. Overall, it adds useful behavioral context.

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 two sentences long, front-loading the core purpose and undoability before explaining parameter usage and providing an example. Every sentence adds value, with no redundancy or unnecessary detail.

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?

The description covers the main functional aspects: what the tool does, how to use the two parameter modes, and that the operation is undoable. However, it lacks explicit differentiation from sibling tool 'set_property' and does not describe error conditions or the return value. Given the absence of an output schema, the description adequately supports the agent in understanding the tool's primary use, though some gaps remain.

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 schema covers only 50% of parameters with descriptions (class and resource). The description compensates by explaining that 'resource' is a res:// path and 'class' is for instantiating a subclass inline. It also clarifies 'target' and 'property' through examples: 'set Sprite2D.texture' implying target is a node and property is a property name. This adds significant meaning 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 the action: 'Assign a resource to a node's property (undoable).' It specifically names the operation as setting a resource, differentiating from sibling tools like 'set_property' which is for general property setting. The inclusion of examples (Sprite2D.texture, RectangleShape2D) further clarifies the resource-focused purpose.

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 explains how to use the tool via 'resource' or 'class' parameters but does not explicitly state when to use this tool versus alternatives like 'set_property'. There is no mention of when not to use it or scenarios where a different tool is preferred, leaving the agent to infer usage context from the tool name.

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