Skip to main content
Glama

create_node

Idempotent

Create a Python ROS 2 node inside an existing package by providing the workspace path, package name, and node name.

Instructions

Create a Python ROS 2 node inside an existing package.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_nameYes
package_nameYes
workspace_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already declare idempotentHint=true, readOnlyHint=false, and destructiveHint=false. The description adds the prerequisite about existing packages but does not disclose what files are created or modified, whether it validates the package, or the output format. It provides only minimal context beyond the annotations.

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 concise sentence that is front-loaded with the action and resource. Every word adds value, and there is no redundant or extraneous information.

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 tool has annotations (idempotent, non-destructive) and an output schema, which reduces the need for the description to explain return values or safety. However, the description does not mention what files are created, package validation, or whether setup files are updated, leaving some uncertainty for a create operation in a ROS 2 context. The description is minimally complete for a simple create tool but lacks operational details.

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 0% description coverage for its three required parameters, and the description provides no additional information about workspace_path, package_name, or node_name. The parameter names are self-explanatory, but the description does not compensate for the missing schema details, leaving the agent to infer meaning from names and context.

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 ('Create') and the resource ('a Python ROS 2 node inside an existing package'), which distinguishes it from sibling tools like create_package or create_workspace. It is specific and unambiguous about what the tool does.

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 phrase 'inside an existing package' implies a prerequisite and suggests usage when adding a node to an already-created package, but it does not explicitly contrast with alternatives or provide when-not-to-use guidance. The context is sufficient but not fully explicit.

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/vagotec/ros2_dev_mcp'

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