Skip to main content
Glama

document_open

Opens an existing .moho project from disk directly inside Moho, letting MCP clients inspect and edit the live project.

Instructions

Open an existing .moho project file from disk live inside Moho.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "document_open"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute file path to the .moho project

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. 'Live inside Moho' hints that the file is loaded into the running application, but the description never states what happens to the currently open document or unsaved changes, nor what occurs if the path is invalid or the file version is incompatible.

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?

A single, front-loaded sentence with no filler. Minor redundancy in 'from disk live inside Moho', but nothing needs trimming to preserve meaning.

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?

For a one-parameter tool with no output schema and no annotations, the description is minimally adequate about what it does but silent on the side effects an agent most needs to know — replacement of the current document, unsaved-work risk, and failure behavior.

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 100% and the single 'path' parameter is already documented as an absolute path to a .moho project, so the description adds nothing beyond it. Baseline 3 applies when the schema does the heavy lifting.

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?

Specific verb ('Open') plus concrete resource ('existing .moho project file from disk') and a note that it loads into the running Moho session. It implicitly separates itself from document_new (new) and document_import (import), but never names those siblings explicitly.

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?

Usage is only implied by the word 'existing' — an agent can infer this is for loading a saved project rather than creating or importing one. There is no explicit when-to-use/when-not statement or named alternative such as document_new or document_import.

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