Skip to main content
Glama

modo_list_dialogs

Read-only

Reads the open Modo dialog's title, text and buttons from outside Modo so you can inspect modal windows even when a dialog blocks Modo or the bridge times out.

Instructions

List the dialogs open in Modo -- title, text and buttons -- read from outside Modo, so it works while a dialog blocks Modo and the bridge (calls time out, or the watchdog reports a modal dialog). Octane's error windows, file pickers, 'save changes?' and other kits' dialogs cannot be suppressed and show up here. macOS needs Accessibility permission once for the server's Python and osascript.

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_list_dialogs"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.8/5.0
Behavior2/5

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

Rather than repeat readOnlyHint/openWorldHint, it discloses genuinely non-obvious behavior: the read happens out-of-band so it survives a blocking modal, third-party/Octane dialogs cannot be suppressed and appear in results, and macOS needs a one-time Accessibility grant for Python and osascript. That covers safety and side effects well, but it never says what happens when there are no dialogs or when permission was denied -- failures an agent must be able to interpret.

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 purpose and payload before the failure-mode rationale, and every clause carries information (blocking scenario, unsupported dialogs, permission caveat). It is one dense run-on sentence rather than structured clauses, which slightly hurts scanability on a long description.

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?

With an output schema present, the description needn't document return shape, yet it still names the fields surfaced. Given one optional parameter and read-only annotations, nothing an agent needs in order to call it correctly -- or to understand why it exists alongside bridge-based siblings -- is missing, except the permission-denied failure mode noted above.

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 100% and the single optional instance token is documented in the schema itself, so the baseline of 3 applies. The description adds no additional meaning about the instance token or its empty-default fallback.

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 ("List the dialogs open in Modo") plus the payload returned (title, text, buttons), and the key qualifier "read from outside Modo" distinguishes it from bridge-dependent siblings such as modo_close_dialog or modo_get_scene_summary. An agent can tell what this does 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 Guidelines4/5

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

Gives an explicit trigger condition: use it when calls time out or the watchdog reports a modal dialog, i.e. exactly when the bridge path is unusable. It stops short of naming a follow-up alternative (e.g. modo_close_dialog to dismiss what it finds), leaving the next step implied.

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