Skip to main content
Glama
rezaahmadn

godot-mcp-bridge

by rezaahmadn

get_physics_layers

Retrieve and decode collision_layer and collision_mask bit values for a node, mapping each bit to the project's named physics layers for clear understanding and debugging.

Instructions

Read collision_layer and collision_mask of a node, decoded bit by bit with the project's physics layer names

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_pathYes
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses that the tool reads two specific properties and decodes them bit-by-bit with project physics layer names, implying a non-destructive operation. This is sufficient for a simple getter, though it doesn't detail edge cases or return structure beyond the decoding.

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 a single, front-loaded sentence that conveys the core action and key detail about layer name decoding. Every word adds value with no redundancy.

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 does hint at the output by mentioning bit-by-bit decoding with layer names, which suggests a mapping of bits to names. For a low-complexity tool with one parameter, this is reasonably complete, though it could explicitly state the return format.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has one parameter (node_path) with no description, and schema coverage is 0%. The description only says 'of a node' without explaining the path format or expected syntax, leaving the agent to infer NodePath conventions. This fails to compensate for the missing parameter documentation.

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 tool's function: 'Read collision_layer and collision_mask of a node' with a specific verb and resource. It also adds the unique decoding behavior with physics layer names, distinguishing it from siblings like set_physics_layers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for reading collision properties, which is clear from the verb 'Read' and the property names. It does not explicitly exclude alternatives or mention when to use set_physics_layers, but the read versus write contrast is evident.

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

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