Skip to main content
Glama

generate_custom_node

Generate a custom ROS2 node template with versioning. Choose programming language, node type, and interfaces to define topics and services.

Instructions

Generate a custom ROS2 node template.

Creates node files in .autoware-mcp/generated/nodes/ with versioning.

Args: name: Name of the node language: Programming language (python or cpp) node_type: Type of node (basic, service, action) interfaces: List of topics/services to interface with

Returns: Path to generated node file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the node
languageNoProgramming language (python or cpp)python
node_typeNoType of node (basic, service, action)basic
interfacesNoTopics/services to interface with

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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 mentions file creation location and versioning but does not disclose whether files are overwritten, what happens on errors, or any required permissions. For a creation tool, more behavioral context is needed.

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 concise, with a clear title, argument list, and return value. Every sentence is relevant and there is no unnecessary text. The structure aids quick understanding.

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?

Given the output schema exists and parameters are fully covered, the description adds some value with return path info. However, it lacks behavioral details such as error handling, overwrite behavior, or required environment. Overall adequate but with gaps.

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

Parameters3/5

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

The schema description coverage is 100%, so the schema already documents all parameters. The description repeats the parameter names and types without adding meaningful additional context beyond what is in the schema. It does provide a return value description.

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 it generates a custom ROS2 node template and creates node files with versioning in a specific directory. The verb 'generate' and resource 'custom ROS2 node template' are specific and distinct from sibling tools like generate_launch_file or generate_node_config.

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 implies usage for creating node templates but does not provide explicit guidance on when to use this tool versus alternatives, nor does it mention any prerequisites or when not to use it. The context is clear but lacks exclusions or comparative advice.

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/NEWSLabNTU/autoware-mcp'

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