Skip to main content
Glama

collision_set_shape_properties

Modify collision shape properties, such as size and position, on a specified node and shape index in a Godot scene.

Instructions

Set properties of a collision shape.

Category: Collision

Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) node_path: Path to the CollisionShape node shape_index: Index of the shape (0 for first CollisionShape child) properties: JSON string of properties to set (e.g., '{"size": [20, 30], "position": [5, 0]}')

Returns: Success message or error description

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_pathYes
scene_pathYes
node_pathYes
shape_indexYes
propertiesYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It indicates mutation ('Set properties') but fails to disclose side effects, state changes, error conditions (e.g., invalid shape_index), or requirements for shape existence. The return type is vaguely described as 'success message or error description'.

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 well-structured with sections for category, args, and returns. It front-loads the core function and is free of unnecessary words. The parameter list is clear, though it could be more concise by removing the 'Category' line if redundant.

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?

The description covers purpose, all parameters with examples, and return type. However, it lacks information on error scenarios, expected behavior for edge cases (e.g., out-of-bounds index), and interaction with other collision tools. Given no output schema details, the return description is minimal.

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?

With 0% schema description coverage, the description adds substantial meaning: it explains each parameter's role (project path, scene path, node path, shape index, properties) with an example for 'properties'. This compensates well for the schema's lack of descriptions.

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 'Set properties of a collision shape' with a specific verb and resource. It distinguishes from siblings like 'collision_add_shape' and 'collision_set_layers', though not explicitly. The category 'Collision' provides further context.

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?

No guidance on when to use this tool versus alternatives such as 'collision_add_shape'. There is no mention of prerequisites, exclusions, or preferred scenarios. The category and list of siblings imply context but lack explicit direction.

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

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