Skip to main content
Glama
aj-dev-smith

duck-mcp

by aj-dev-smith

microduck-mcp 🦆

Управляйте Pollen Robotics Microduck из любого MCP-клиента — Claude Code, Claude Desktop или собственного агента. ИИ получает инструменты, чтобы водить утку, запускать трюки, толкать её и видеть её через отрисованные кадры камеры.

Сегодня он управляет симулированной уткой (CPU MuJoCo, выполняющий официальные предобученные ONNX-политики из pollen-robotics/microduck). Плоскость управления — только намерения: скорости, трюки, взгляд — повторяя контракт robotd реального робота, так что аппаратный бэкенд может встать за теми же инструментами, когда ваша утка прибудет.

На прогулке

Середина кувырка

Ожидание команд

Утка идёт, следящая камера

Утка в середине кувырка вперёд

Утка стоит рядом с мячом

Все кадры отрисованы инструментом duck_camera — это буквально то, что ИИ видит во время управления.

Архитектура

MCP client (Claude, ...)   duck CLI (humans / scripts)   browser: AX debug page
        │ stdio                          │                        │ http :8400
        ▼                                ▼                        ▼
   duck-mcp  ────────────►  Unix socket, JSON lines  ◄────  built-in web UI
                                    │
                                    ▼
                          duck-sim (50 Hz MuJoCo loop,
                          ONNX policy hot-swapping via
                          microduck_rl's PolicyInference)

Обоснование дизайна (инструменты против ресурсов, структурированный вывод, семантика ошибок) описано в docs/mcp-design-notes.md.

Related MCP server: MuJoCo MCP Server

Установка

Требуются клоны двух официальных репозиториев (для сцен/policy-runner и поставляемых ONNX-политик), а также uv:

git clone https://github.com/pollen-robotics/microduck
git clone https://github.com/pollen-robotics/microduck_rl
git clone https://github.com/aj-dev-smith/microduck-mcp
cd microduck-mcp && uv sync

Запуск

Запустите симуляционный сервер (по умолчанию предполагается, что три репозитория находятся рядом):

uv run duck-sim --rl-repo ../microduck_rl --policies ../microduck/policies

По умолчанию работает без графического интерфейса (headless). Чтобы смотреть в MuJoCo viewer (на macOS нужен mjpython):

uv run mjpython -m microduck_mcp.sim_server --viewer \
    --rl-repo ../microduck_rl --policies ../microduck/policies

Потыкайте его из оболочки:

uv run duck state
uv run duck drive 0.2          # walk forward at 0.2 m/s
uv run duck trick roulade      # forward roll
uv run duck cam follow         # render a frame, prints the PNG path
uv run duck push               # shove it, watch it recover

Зарегистрируйте MCP-сервер в Claude Code:

claude mcp add duck -- uv --directory /path/to/microduck-mcp run duck-mcp

MCP-инструменты

Все инструменты, возвращающие состояние, выдают типизированный структурированный вывод (схема DuckState, единицы измерения описаны для каждого поля); каждый изменяющий состояние инструмент возвращает состояние после действия, так что агенту редко нужен дополнительный опрос.

Tool

Что делает

duck_state

Позиция, ориентация, скорость в системе отсчёта корпуса, активная политика, в вертикальном положении?

duck_drive(vx, vy, wz, duration_s?)

Намерение скорости; с duration_s едет, затем останавливается и сообщает результат — один вызов вместо движения/опроса/остановки

duck_stop

Нулевые команды → политика стояния

duck_trick(name)

sit, stand, ground_pick, kick_left, kick_right, roulade

duck_look(...)

Направить голову (это команда политике, а не запись сервопривода)

duck_camera(view, distance)

Отрисованный кадр: follow, front, side, top

duck_push(magnitude, angle_deg)

Толкнуть туловище; проверяет восстановление после толчка

duck_reset

Возврат в исходную точку, стандартная стойка (destructive_hint — завершает эпизод)

Отладочная страница AX

duck-sim также обслуживает отладочную страницу Agent Experience на http://127.0.0.1:8400 (--web PORT, --web 0 для отключения): живая лента каждой команды, поступающей на управляющий сокет, — с меткой клиента (mcp, cli, web) — рядом с автоматически обновляющимся видом камеры и панелью состояния. Откройте её рядом с MuJoCo viewer, чтобы в реальном времени наблюдать что агент делает и что он видит. Простой HTTP из стандартной библиотеки + один HTML-файл; вся отрисовка по-прежнему происходит в потоке симуляции через ту же очередь намерений, что и для любого другого клиента.

Примечания

  • Симуляционный сервер выполняет все вызовы MuJoCo в одном потоке; сокет-клиенты только ставят намерения в очередь. Несколько клиентов — нормально (MCP + CLI одновременно).

  • Политики подменяются на лету за общим 61-мерным контрактом наблюдений точно так же, как на роботе: движение включает ходьбу, нулевая команда возвращает в положение стоя, эпизодические трюки по таймауту возвращаются в положение стоя.

  • Отрисовка камеры происходит за экраном (окно не нужно); в режиме --viewer на macOS заэкранная отрисовка может быть недоступна — запускайте в headless-режиме, если нужны кадры.

  • В поставляемый набор политик не входит политика StandUp, поэтому утка, оказавшаяся на боку (например, после жёсткого приземления с рулада), остаётся там — duck_reset — это запасной выход. Обучить такую политику (Mjlab-StandUp-* в microduck_rl) — вот решение.

Дорожная карта

  • Бэкенд для реального робота, работающий через WebSocket API демона (см. документацию microduck, design/architecture.md §5.3) за теми же инструментами

  • Намерения позы тела (присесть/наклониться в положении стоя)

  • Опциональный слот для политики StandUp, чтобы после падений можно было подняться без duck_reset

Лицензия

Apache-2.0. Создано на основе microduck и microduck_rl от Pollen Robotics, оба под Apache-2.0.

Available Tools

8 tools
duck_cameraDuck cameraA
Read-only

Render a camera frame of the sim. Views: 'follow' (behind the duck), 'front' (facing it), 'side', 'top'. distance in meters (0.4 close-up to ~1.5 wide). Pair with duck_state for pose numbers.

ParametersJSON Schema
NameRequiredDescriptionDefault
viewNofollow
distanceNo

TDQS

A4.3/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, so the no-side-effect profile is covered. The description adds useful context about views and distance but does not disclose additional behavioral details such as output format or whether the frame is static or animated. There is no contradiction with 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 two sentences long and every clause adds distinct, actionable information: what the tool does, valid view values, distance semantics, and a usage hint. There is no filler or repetition of schema defaults.

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 two-parameter, zero-required tool with a readOnly annotation and no output schema, the description covers the key invocation details: valid views, distance range, and a state-pairing tip. The return format is not explicitly described, but 'render a camera frame' makes the output type inferable.

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

Parameters5/5

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

The schema provides only parameter names and defaults, with 0% description coverage and no enums. The description fully compensates by defining each view ('follow' behind the duck, 'front' facing it, 'side', 'top') and giving distance units and a usable range of 0.4 to ~1.5 meters.

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 opens with a specific action and object: 'Render a camera frame of the sim.' The view list and distance range further clarify exactly what kind of camera output is produced. This clearly distinguishes the tool from siblings like duck_drive, duck_push, and duck_state, which are action/state tools rather than rendering tools.

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 an explicit pairing recommendation: 'Pair with duck_state for pose numbers.' It does not explicitly state when not to use it or name alternatives, but for a simple visualization tool the guidance is clear enough for an agent to select it appropriately.

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

duck_driveDrive the duckA
Idempotent

Set the walking velocity intent. vx: forward m/s (max ±0.3; the policy tracks ~half the commanded speed, so command 0.25+ for a brisk walk), vy: leftward m/s (max ±0.2), wz: counterclockwise yaw rate rad/s (max ±1.5). Nonzero engages the walking policy; all-zero hands back to standing.

With duration_s (max 10): drive for that long, then stop and return the resulting state — one call instead of drive/poll/stop. Without it the intent persists until changed: the robot keeps walking between your tool calls, and the sim runs in real time, so returned state is already slightly stale when you read it.

ParametersJSON Schema
NameRequiredDescriptionDefault
vxYes
vyNo
wzNo
duration_sNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
okYes
rpy_degYesTrunk orientation [roll, pitch, yaw], degrees
sittingYes
uprightYesFalse once tilted past ~45 deg. There is no self-recovery policy: if the duck falls, use duck_reset.
vel_cmdYesCurrent sticky velocity intent [vx, vy, wz]
behaviorYesEpisodic trick currently running, else null
position_mYesTrunk world position [x, y, z], meters
sim_time_sYesSim clock, seconds. The sim runs in real time; this snapshot is stale on arrival.
ground_pickYes
vel_body_mpsYes
yaw_rate_rpsYesYaw rate, rad/s, counterclockwise positive
active_policyYesWhich ONNX policy is driving: standing, walking, sit, ground_pick, kick_left/right, roulade
ball_position_mNoBall world position [x, y, z], meters (ball scene only)
trunk_height_mmYesTrunk height above floor, mm (~116 standing)

TDQS

A5/5.0
Behavior5/5

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

Adds substantial behavioral context beyond annotations: intents persist across calls, the sim runs in real time, returned state is already slightly stale, nonzero values engage walking, and all-zero returns to standing. It also discloses policy tracking behavior and commanded-speed scaling. No contradiction with 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?

Two dense paragraphs with no filler. The opening sentence states the core purpose, parameter details are grouped logically, and the duration_s alternative is explained in a dedicated paragraph. Every sentence adds operational value.

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

Completeness5/5

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

For a 4-parameter tool with no schema descriptions, the description covers all parameters, limits, behavioral persistence, and the optional duration mode. The output schema exists, so return values do not need to be described. Nothing essential is missing for an agent to invoke this tool correctly.

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

Parameters5/5

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

Schema coverage is 0%, so the description carries the full burden for parameter meaning. It explains vx, vy, wz with units, sign conventions, and max magnitudes, plus duration_s semantics and the all-zero special case. Every parameter is given actionable meaning beyond the bare schema.

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?

States a specific verb and resource: 'Set the walking velocity intent.' The description clearly distinguishes this from siblings by explaining when velocity intents engage the walking policy and when they hand back to standing, and it contrasts the one-call duration mode with drive/poll/stop.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly describes the two usage modes: with duration_s for a self-terminating drive, and without it for persistent intent. It also tells the agent when to use the shorter one-call form instead of drive/poll/stop, which routes to the relevant alternative behavior.

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

duck_lookPoint the headA
Idempotent

Point the head (radians; caps ~±1.4 yaw, ±1.1 pitch, ±0.31 roll). This is a command to the balance policy, not a servo write — the body compensates. All zeros returns the head to neutral. The gaze intent is sticky — it holds between tool calls until changed.

ParametersJSON Schema
NameRequiredDescriptionDefault
head_yawNo
head_rollNo
head_pitchNo
neck_pitchNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
okYes
rpy_degYesTrunk orientation [roll, pitch, yaw], degrees
sittingYes
uprightYesFalse once tilted past ~45 deg. There is no self-recovery policy: if the duck falls, use duck_reset.
vel_cmdYesCurrent sticky velocity intent [vx, vy, wz]
behaviorYesEpisodic trick currently running, else null
position_mYesTrunk world position [x, y, z], meters
sim_time_sYesSim clock, seconds. The sim runs in real time; this snapshot is stale on arrival.
ground_pickYes
vel_body_mpsYes
yaw_rate_rpsYesYaw rate, rad/s, counterclockwise positive
active_policyYesWhich ONNX policy is driving: standing, walking, sit, ground_pick, kick_left/right, roulade
ball_position_mNoBall world position [x, y, z], meters (ball scene only)
trunk_height_mmYesTrunk height above floor, mm (~116 standing)

TDQS

A3.9/5.0
Behavior5/5

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

It adds substantial behavior beyond annotations: the command is sticky and persists between calls, all zeros returns to neutral, and the body compensates rather than directly moving a servo. These details meaningfully shape how an agent should invoke and reason about the tool.

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 compact—three sentences, each carrying distinct value: units/caps, policy behavior, and persistent-state behavior. It is front-loaded and free of filler.

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 description covers the main purpose and key behavioral traits, and an output schema exists so return values need not be described. Still, neck_pitch is absent, direction conventions are unclear, and interaction with sibling tools is not addressed, so an agent is left with material 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?

With 0% schema description coverage, the description compensates by providing units and approximate caps for yaw, pitch, and roll. However, neck_pitch is never mentioned, and sign/direction conventions are not explained, leaving an important parameter underspecified.

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 clearly states the tool points the head and gives units and range caps, which is specific and useful. It does not explicitly differentiate from sibling tools like duck_camera or duck_drive, though the resource ('head') is unambiguous.

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 gives important context: it is a command to the balance policy, not a servo write, and the body compensates. However, it does not name alternatives or give explicit when-to-use vs. when-not-to-use guidance relative to sibling tools.

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

duck_pushShove the duckA

Shove the duck: sets trunk velocity to magnitude m/s (max 2.0) in a world-frame direction (random if angle_deg omitted). Tests push recovery.

ParametersJSON Schema
NameRequiredDescriptionDefault
angle_degNo
magnitudeNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
okYes
rpy_degYesTrunk orientation [roll, pitch, yaw], degrees
sittingYes
uprightYesFalse once tilted past ~45 deg. There is no self-recovery policy: if the duck falls, use duck_reset.
vel_cmdYesCurrent sticky velocity intent [vx, vy, wz]
behaviorYesEpisodic trick currently running, else null
position_mYesTrunk world position [x, y, z], meters
sim_time_sYesSim clock, seconds. The sim runs in real time; this snapshot is stale on arrival.
ground_pickYes
vel_body_mpsYes
yaw_rate_rpsYesYaw rate, rad/s, counterclockwise positive
active_policyYesWhich ONNX policy is driving: standing, walking, sit, ground_pick, kick_left/right, roulade
ball_position_mNoBall world position [x, y, z], meters (ball scene only)
trunk_height_mmYesTrunk height above floor, mm (~116 standing)

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already indicate a non-readonly, non-idempotent mutation. The description adds meaningful behavioral detail: velocity is in m/s with a max of 2.0, direction is world-frame, and angle_deg is randomly chosen when omitted. There is no contradiction with 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 compact sentence that front-loads the action, then covers the mechanism, constraints, and purpose. Every clause adds useful information with no repetition or filler.

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?

Given the low parameter count and existing annotations, the description covers the core behavior, bounds, and purpose. The output schema exists, so return value explanation is unnecessary. It could be slightly more complete with angle convention details, but it is sufficient for calling 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 carry parameter meaning. It does: magnitude is velocity in m/s capped at 2.0, and angle_deg defines a world-frame direction that becomes random when omitted. Minor ambiguity remains about the reference axis for angle_deg, so it is not a perfect 5.

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 clearly states the operation: 'Shove the duck' sets trunk velocity, naming the resource (duck/trunk), the action (set velocity), and the parameterized behavior. It does not explicitly distinguish itself from siblings such as duck_drive or duck_trick, so it falls short of a 5.

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 use case is implied by 'Tests push recovery,' which tells the agent this is for simulating a push and checking recovery. However, there is no explicit when-to-use versus alternatives like duck_drive or duck_trick, and no exclusions are given.

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

duck_resetReset the simA
DestructiveIdempotent

Reset the sim: duck back to the origin in its default standing pose, ball back to its spawn. Discards the current episode — the escape hatch after a fall (there is no stand-up policy yet).

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
okYes
rpy_degYesTrunk orientation [roll, pitch, yaw], degrees
sittingYes
uprightYesFalse once tilted past ~45 deg. There is no self-recovery policy: if the duck falls, use duck_reset.
vel_cmdYesCurrent sticky velocity intent [vx, vy, wz]
behaviorYesEpisodic trick currently running, else null
position_mYesTrunk world position [x, y, z], meters
sim_time_sYesSim clock, seconds. The sim runs in real time; this snapshot is stale on arrival.
ground_pickYes
vel_body_mpsYes
yaw_rate_rpsYesYaw rate, rad/s, counterclockwise positive
active_policyYesWhich ONNX policy is driving: standing, walking, sit, ground_pick, kick_left/right, roulade
ball_position_mNoBall world position [x, y, z], meters (ball scene only)
trunk_height_mmYesTrunk height above floor, mm (~116 standing)

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already signal destructive and idempotent behavior. The description goes beyond them by revealing exactly what changes: the duck returns to origin in its standing pose, the ball returns to spawn, and the current episode is discarded. This is valuable behavioral context for a destructive tool.

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?

Two tight sentences: the first states the reset outcome, the second explains the trigger and rationale. Every clause adds value, with the core action front-loaded and no redundant detail.

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

Completeness5/5

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

For a zero-parameter reset with annotations and an output schema, the description fully covers what happens, when to use it, and why it is the fallback. Nothing required for correct invocation is missing.

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?

The tool has 0 parameters and 0 required inputs, so the description carries no parameter-semantics burden. The schema already fully covers the empty parameter set, and the description naturally communicates a parameterless call.

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?

States a specific verb and resource ('Reset the sim') and specifies the exact resulting state: 'duck back to the origin in its default standing pose, ball back to its spawn'. This makes the tool's purpose concrete and clearly distinct from sibling action tools like duck_drive or duck_trick.

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 explicitly positions this as the 'escape hatch after a fall' and explains the need with 'there is no stand-up policy yet'. That gives clear trigger conditions. It does not explicitly name an alternative, but no sibling tool provides a reset action, so the context is sufficient.

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

duck_stateDuck telemetryA
Read-only

Current robot state: pose, body-frame velocity, active policy, whether it is upright/sitting/mid-trick, and the ball position. Cheap — poll freely.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
okYes
rpy_degYesTrunk orientation [roll, pitch, yaw], degrees
sittingYes
uprightYesFalse once tilted past ~45 deg. There is no self-recovery policy: if the duck falls, use duck_reset.
vel_cmdYesCurrent sticky velocity intent [vx, vy, wz]
behaviorYesEpisodic trick currently running, else null
position_mYesTrunk world position [x, y, z], meters
sim_time_sYesSim clock, seconds. The sim runs in real time; this snapshot is stale on arrival.
ground_pickYes
vel_body_mpsYes
yaw_rate_rpsYesYaw rate, rad/s, counterclockwise positive
active_policyYesWhich ONNX policy is driving: standing, walking, sit, ground_pick, kick_left/right, roulade
ball_position_mNoBall world position [x, y, z], meters (ball scene only)
trunk_height_mmYesTrunk height above floor, mm (~116 standing)

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so no side effects are expected. The description goes beyond annotations by adding that the tool is 'cheap' and safe to poll freely, which signals performance characteristics. It also clarifies that the state includes posture modes like upright/sitting/mid-trick, giving useful behavioral context.

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, compact sentence that front-loads the core purpose, lists concrete return fields, and ends with actionable usage guidance. No words are wasted.

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

Completeness5/5

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

Given no parameters, a readOnly annotation, and an existing output schema, the description provides all necessary context. It tells the agent what the tool returns, that it is low-cost, and implicitly that it should be used for telemetry rather than actions.

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?

The tool has zero parameters, so there is nothing to document. The description correctly omits parameter details; the baseline of 4 applies because no parameter compensation is needed.

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 identifies the tool as a state-read operation for the robot, listing the specific fields it returns (pose, velocity, active policy, posture status, ball position). This distinguishes it from the sibling action tools like duck_drive and duck_trick, which perform movements rather than report status.

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 phrase 'Cheap — poll freely' provides explicit guidance that this tool is safe to call frequently, making its usage context clear. It does not explicitly name alternatives or exclusions, but the sibling tools are all action-oriented, so the intended use case of polling status is well implied.

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

duck_stopStopA
Idempotent

Zero all velocity intents — the duck stops walking and stands.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
okYes
rpy_degYesTrunk orientation [roll, pitch, yaw], degrees
sittingYes
uprightYesFalse once tilted past ~45 deg. There is no self-recovery policy: if the duck falls, use duck_reset.
vel_cmdYesCurrent sticky velocity intent [vx, vy, wz]
behaviorYesEpisodic trick currently running, else null
position_mYesTrunk world position [x, y, z], meters
sim_time_sYesSim clock, seconds. The sim runs in real time; this snapshot is stale on arrival.
ground_pickYes
vel_body_mpsYes
yaw_rate_rpsYesYaw rate, rad/s, counterclockwise positive
active_policyYesWhich ONNX policy is driving: standing, walking, sit, ground_pick, kick_left/right, roulade
ball_position_mNoBall world position [x, y, z], meters (ball scene only)
trunk_height_mmYesTrunk height above floor, mm (~116 standing)

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already signal mutability (readOnlyHint=false), idempotency (idempotentHint=true), and non-destructiveness. The description adds a useful behavioral detail—all velocity intents are zeroed and the duck stands—but does not discuss side effects like interactions with duck_trick or state persistence.

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?

A single, front-loaded sentence immediately conveys the core effect and an accessible metaphor. There is no filler or redundant restatement of the title.

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

Completeness5/5

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

For a parameterless command with an output schema and simple behavior, the description captures everything an agent needs: it knows the call stops the duck and stands it. No prerequisites or additional context are required.

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?

The tool takes zero parameters, so there are no parameter semantics to clarify; the baseline of 4 for a parameterless tool applies. The description imposes no hidden arguments or prerequisites.

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 names a precise action—'Zero all velocity intents'—and adds an observable effect ('the duck stops walking and stands'). This clearly distinguishes it from movement-producing siblings like duck_drive and duck_push.

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 intended use is implicit from the action description: call this to halt the duck. However, it does not explicitly state when to use this tool over duck_reset, duck_drive, or other siblings, and no alternative is named.

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

duck_trickDo a trickA

Trigger a trick: 'sit', 'stand', 'ground_pick' (touch beak to floor), 'kick_left'/'kick_right' (stages the ball at that foot, then kicks), or 'roulade' (forward roll — NOTE: usually ends with the duck down, since no stand-up policy ships yet; follow with duck_reset). Episodic tricks hand control back to standing automatically after a few seconds.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
okYes
rpy_degYesTrunk orientation [roll, pitch, yaw], degrees
sittingYes
uprightYesFalse once tilted past ~45 deg. There is no self-recovery policy: if the duck falls, use duck_reset.
vel_cmdYesCurrent sticky velocity intent [vx, vy, wz]
behaviorYesEpisodic trick currently running, else null
position_mYesTrunk world position [x, y, z], meters
sim_time_sYesSim clock, seconds. The sim runs in real time; this snapshot is stale on arrival.
ground_pickYes
vel_body_mpsYes
yaw_rate_rpsYesYaw rate, rad/s, counterclockwise positive
active_policyYesWhich ONNX policy is driving: standing, walking, sit, ground_pick, kick_left/right, roulade
ball_position_mNoBall world position [x, y, z], meters (ball scene only)
trunk_height_mmYesTrunk height above floor, mm (~116 standing)

TDQS

A4.6/5.0
Behavior5/5

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

The description discloses important physical side effects beyond the annotations, including that ground_pick touches the beak to the floor, kicks stage the ball at the indicated foot first, and roulade usually leaves the duck down because no stand-up policy ships yet. It also reveals that episodic tricks automatically hand control back to standing after a few seconds, which is exactly the kind of behavioral context an agent needs.

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 front-loaded with the core verb and immediately lists options in a scannable inline list. Every clause earns its place: the parentheticals clarify physical behavior, and the trailing note explains an important edge case rather than padding.

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

Completeness5/5

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

The tool has one required parameter and an output schema, so the description need not document return values. It covers the accepted value set, per-value semantics, post-trick state, a required follow-up action, and automatic control handback, leaving no practical gap for an agent deciding whether and how to invoke the tool.

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

Parameters5/5

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

With 0% schema description coverage and only a bare string 'name' in the schema, the description carries full responsibility for parameter meaning. It compensates completely by listing every accepted value and explaining the effect of each, including the roulade/duck_reset caveat.

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 opens with 'Trigger a trick' and enumerates every valid trick value ('sit', 'stand', 'ground_pick', 'kick_left'/'kick_right', 'roulade'), making the operation specific and unambiguous. This clearly separates it from the sibling tools, which are state, drive, push, stop, look, camera, and reset operations.

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 intended trigger action is clear, and the description gives sequencing advice ('follow with duck_reset' after roulade) plus automatic return-to-standing behavior. However, it never explicitly states when to prefer this tool over sibling alternatives such as duck_drive or duck_push, so usage guidance is mostly implied rather than stated.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 8 tool updatesv0.1.0
    • First observedduck_camera
    • First observedduck_drive
    • First observedduck_look
    • First observedduck_push
    • First observedduck_reset
    • First observedduck_state
    • First observedduck_stop
    • First observedduck_trick

TDQS

A4.3/5.0
Disambiguation5/5

Each tool targets a distinct aspect of the duck robot: tricks, state reading, locomotion, perturbation, stopping, head gaze, camera rendering, and reset. Even though duck_stop overlaps slightly with duck_drive(all-zero), the descriptions clearly separate an explicit stop from a velocity command.

Naming Consistency4/5

All tools share the duck_ prefix and use lowercase snake_case, which is easy to follow. However, the suffixes mix verbs (trick, push, reset) with nouns (state, camera), so the naming is mostly consistent but not perfectly uniform.

Tool Count5/5

Eight tools is well within the ideal range for a robot-control MCP server. Each tool covers a necessary capability: actuation, sensing, perception, perturbation, and recovery, with no obvious bloat or redundancy.

Completeness4/5

The tool surface covers the core sim-control loop: inspect state, move, trick, push, look, view, stop, and reset. Minor gaps exist, such as no dedicated stand-up command and no ball manipulation beyond trick-triggered kicks, but those are explicitly handled via reset or documented limitations.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Exposes MuJoCo physics simulation to AI assistants via 65 MCP tools, enabling natural language control of robotics simulation, trajectory optimization, contact analysis, and video export.
    8
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides physics simulation capabilities using PyBullet, enabling 3D physics world creation, object loading, force application, and state monitoring through MCP protocol.
    -
  • -
    license
    Not graded
    quality
    B
    maintenance
    An MCP server that gives AI agents full control and observability of the Webots robot simulator, enabling launch and monitoring of simulations, reinforcement learning training, model evaluation, and interactive scene manipulation.
    -

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/aj-dev-smith/microduck-mcp'

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