Skip to main content
Glama
Gearotons

servomotor-mcp

move_with_acceleration

Initiate a motor rotation with a specified acceleration and duration. Queue the move and return immediately for non-blocking control, while monitoring progress via queued items. Use after enabling MOSFETs.

Instructions

Rotates the motor with the specified acceleration [Firmware command "Move with acceleration", group: Motion Control.] This QUEUES the move and returns immediately; poll get_n_queued_items for completion, or use move_to/move_relative which wait. Requires enable_mosfets first. Parameters:

  • acceleration (in degrees_per_second_squared): The acceleration (the unit is microsteps per time step per time step * 2^24).

  • timeSteps (in seconds): The number of time steps to apply this acceleration. Use command 18 to get the frequency of the time steps. After this many time steps, the acceleration will go to zero and velocity will be maintained. Returns: success confirmation. motor: an alias number (e.g. 88), a 16-hex-digit unique ID (e.g. "0123456789ABCDEF"), or "all" to broadcast to every motor on the bus (broadcasts get no responses back).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
motorYes
timeStepsYes
accelerationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses that the command queues and returns immediately, that acceleration goes to zero after timeSteps and velocity is maintained, that broadcasts get no responses back, and that enable_mosfets is required. This is meaningful behavioral context beyond the schema, though it doesn't detail error conditions or what 'success confirmation' contains.

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 dense but organized: a one-sentence purpose, a queuing/alternative note, a prerequisite, and a parameter list. It front-loads the core behavior and then details parameters. Slightly long due to the parameter explanations, but every sentence earns its place given the 0% schema coverage.

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?

For a 3-parameter motion command with no annotations and no output schema, the description covers the key operational facts: queuing behavior, completion polling, waiting alternatives, prerequisite, parameter semantics, and broadcast caveat. It doesn't describe error handling or exact return payload, but 'success confirmation' plus the queuing guidance is adequate for an agent to invoke it correctly.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate. It explains acceleration's unit (degrees_per_second_squared with a microstep formula), timeSteps meaning (number of time steps, use command 18 for frequency, behavior after elapsing), and motor formats (alias, 16-hex-digit ID, or 'all' with broadcast caveat). This adds substantial meaning beyond the bare schema titles.

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 ('Rotates the motor') and resource ('with the specified acceleration'), and distinguishes it from siblings move_to/move_relative by noting this version queues and returns immediately. It is clear what the tool does, though it doesn't explicitly name all sibling alternatives for every variant.

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 gives explicit usage context: it queues the move and returns immediately, and tells the agent to poll get_n_queued_items for completion or use move_to/move_relative which wait. It also states a prerequisite: 'Requires enable_mosfets first.' This is strong guidance, though it doesn't enumerate when to prefer this over trapezoid_move or move_with_velocity.

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