Skip to main content
Glama

ros2_set_parameters

Update runtime parameters for a ROS2 node by specifying its full name and a key-value dictionary of parameters to change, enabling dynamic configuration without restarting the node.

Instructions

Set runtime parameters for a specific ROS2 node.

    Args:
        node_name: Full name of the node (e.g. '/robot/diff_drive_controller')
        parameters: Key-value dictionary of parameters to update
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_nameYes
parametersYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only says 'Set runtime parameters' and does not explain side effects, persistence, permission requirements, failure behavior, or whether parameters are applied atomically or immediately.

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 compact and front-loaded with the core action, and the Args list is clearly structured. There is no filler, though the behavior section could be expanded without harming conciseness.

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?

For a mutation-focused tool with no annotations and no schema-level parameter descriptions, the description under-delivers: it omits side effects, preconditions, node liveness requirements, and failure semantics. The presence of an output schema reduces the need to explain return values, but the missing runtime behavior remains a significant gap.

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?

Schema description coverage is 0%, so the Args block in the description adds useful meaning: node_name should be a full path, and parameters is a key-value dictionary. However, it does not specify value types, units, constraints, or behavior for unknown parameter names, leaving the semantics only partially explained.

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 states a specific verb ('Set'), a clear resource ('runtime parameters'), and a specific target ('a specific ROS2 node'). It does not explicitly differentiate from sibling tools like ros2_get_parameters, but the set/get distinction is self-evident from the wording.

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?

The description provides no explicit guidance on when to use this tool versus alternatives, and no exclusions or preconditions. Usage is only implied: it is the tool for updating node parameters, not for listing or inspecting them. No conditions like 'node must be running' or 'parameter must already be declared' are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.