Skip to main content
Glama

Open a project

open_project
Destructive

Open a project from My Files, or a new empty one, in the editor — it asks the user about unsaved work first.

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
fileNoThe project's id in My Files (list_files). Its file is kept: the user's Save writes it.
emptyNoA new empty project instead — then build_effect takes a whole spec.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and non-idempotent, and the description adds real context the annotations cannot convey: the user is prompted about unsaved work first, so the destructive effect is gated, and the referenced file persists with the user's Save. It stops short of saying what happens when neither parameter is supplied.

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?

One front-loaded sentence with the primary action first and the safety caveat attached; nothing is wasted, though the phrase 'in the editor' is slightly awkwardly placed.

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 tool with annotations covering the safety profile and no output schema, the description supplies the mode choice and the unsaved-work behavior. The remaining gap is the zero-required-parameter case and the overlap with open_in_editor.

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 schema descriptions already explain the `file` id source and the `empty` mode, so the description only restates that the choice is between an existing project and a new empty one. It does not clarify the mutual exclusivity of the two optional parameters or the default when both are omitted.

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?

States a specific verb+resource (open a project) plus the two modes (existing file from My Files, or new empty) and the destination (the editor). It does not differentiate itself from the very similar sibling open_in_editor, so an agent must guess between them.

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 implied through the two modes and the pointer to list_files for ids, which tells the agent how to satisfy the `file` path. There is no explicit when-to-use/when-not guidance relative to open_in_editor, get_project, or edit_project.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources