Skip to main content
Glama
ai2robot-network

ros2-mcp

call_service

Call a ROS2 service by name, passing optional arguments, to trigger actions like moving a robot with cmd_vel.

Instructions

Call a ROS2 service (e.g. cmd_vel to move the robot).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNo
serviceYes
Behavior2/5

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

No annotations are provided, so the description carries full responsibility. It does not disclose side effects, required permissions, or response behavior of the service call.

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 a single sentence with an example, making it compact and front-loaded. It lacks detail required for other dimensions, but conciseness itself is adequate.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations, and only 2 parameters, the description is too sparse to fully inform an agent. It doesn't mention return values, error cases, or prerequisite conditions.

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

Parameters1/5

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

Schema coverage is 0% and the description does not explain the 'args' parameter or how to format service arguments; it only mentions 'service' indirectly via the example.

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 states the tool's verb ('Call') and resource ('ROS2 service') with an illustrative example ('cmd_vel to move the robot'), clearly distinguishing from siblings focused on topics/status.

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 example hints at a use case but there is no explicit guidance on when to use this tool over siblings, such as read_topic or robot_status. The usage is implied by the name and example.

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/ai2robot-network/ros2-mcp'

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