Skip to main content
Glama

Open a project

open_project
Destructive

Opens a Lathe project by name or path, or lists projects newest first. Specify how to handle unsaved changes before replacing the current project.

Instructions

Opens a project, like File > Open: by name from the projects folder (exact, or a unique part of it), or by path. Without either it lists the projects, newest first. It replaces the open project, so unsaved changes stop it unless "unsaved" says what to do.

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": "open_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoA project in the projects folder
pathNoOr the .lathe file (or its folder) anywhere
unsavedNoIf the open project has unsaved changes: "save" them first (it must have been saved before), or "discard" them. Without it, unsaved changes stop the call. Ask the person before discarding anything

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description adds the specific destructiveness: it replaces the open project, and unsaved changes block the call unless "unsaved" is set. It also gives the safety protocol ('Ask the person before discarding anything') and a constraint on "save" (the project must have been saved before). That is real behavioral context beyond 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences, front-loaded with purpose and followed by the fallback and the unsaved-changes rule. Nothing is wasted, though the quoting of "unsaved" mid-sentence makes the second clause slightly harder to parse on first read.

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 destructive, non-idempotent open operation with no output schema, the description covers modes, fallback behavior, and the unsaved-changes hazard, which is what an agent needs to call it safely. It does not describe what a successful open returns, but with no output schema that is a minor omission.

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 coverage is 100%, so the baseline is 3, but the description adds meaning the schema omits: "name" may be an exact match or a unique part of the project name, and the no-parameter case falls back to a newest-first listing rather than erroring. Those are genuine semantic additions about parameter interaction, not restatements.

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 gives a concrete verb and resource ('Opens a project') plus a familiar analogy ('like File > Open'), and immediately enumerates the two input modes: by name from the projects folder or by path. That is enough to separate it from new_project and save_project without opening any 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?

It states the condition for each mode (name in the projects folder, path to a .lathe file or its folder) and, crucially, what happens when neither is supplied: the tool lists projects newest first. It does not explicitly route to sibling tools, but the when-to-use guidance inside the tool's own domain is clear and actionable.

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