Skip to main content
Glama

modo_restart

Destructive

Restart Modo to load changed kits, plug-ins, or configuration that only apply at startup. Blocks restart when a scene has unsaved changes unless discard_changes is true; asks before discarding.

Instructions

Restart Modo, for example after changing a kit's lxserv plug-ins or configs, which Modo only loads at start. Refuses while a scene has unsaved changes unless discard_changes=true -- ask the user before discarding. Needs the bridge to start with Modo (MCP menu > Start with Modo, or 'mcpBridge.autostart true'), otherwise it could not reconnect. Waits up to wait_s seconds (at most 40) for the new Modo's bridge and reports its state.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "modo_restart"
  }
}

Input Schema

NameRequiredDescriptionDefault
wait_sNo
instanceNoThis chat's Modo instance token (modo-xxxxxx) from modo_use_instance or modo_launch_instance. Pass it on every call once you have one; leave empty only while a single chat works with Modo.
discard_changesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already disclose destructiveHint=true and readOnlyHint=false, but the description goes well beyond them: it explains the refusal-on-unsaved-changes behavior, the discard_changes override and the obligation to ask the user first, the autostart prerequisite for reconnection, and that the call blocks up to wait_s before reporting the new instance's state. The only gap is that it doesn't say what happens to in-flight bridge work or the failure mode if reconnection never occurs.

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?

Front-loaded with the action and its reason, then prerequisites, then parameter behavior — a sensible order with no filler sentences. The sentences are long and clause-heavy (nested parenthetical about 'mcpBridge.autostart true'), which slightly hurts scanability.

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 destructive, blocking, connection-resetting operation, the description covers the trigger, the safety gate, the environment prerequisite, and the wait/timeout behavior; the return payload is covered by the output schema. Nothing essential to calling this safely is missing.

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 coverage is only 33% (only 'instance' is documented in the schema), and the description compensates partially by explaining discard_changes semantics and capping wait_s at 40 seconds. However, it never restates the meaning of 'instance' in the context of a restart (a new Modo may get a new token) and doesn't say what wait_s controls on timeout beyond 'reports its state'. Useful but not a full compensation for the coverage gap.

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 ('Restart Modo') and immediately ties it to a concrete trigger ('after changing a kit's lxserv plug-ins or configs, which Modo only loads at start'), which no sibling tool does. An agent can identify this as the restart primitive without opening the schema.

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?

Gives an explicit when-to-use condition (plug-in/config changes that only load at startup) and an explicit guardrail with escalation ('ask the user before discarding'). It also names a hard prerequisite (the bridge must be started with Modo) plus the two ways to enable it, so the agent knows when this call will simply fail.

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