Skip to main content
Glama

open_project

Open a project folder in VS Code as soon as a new session starts with the AI Agent, ensuring the active working directory is visible and ready for use.

Instructions

Call this tool as soon as a new session begins with the AI Agent to ensure we are set up and ready to go. open_project opens a project folder in VS Code. This tool is also useful to ensure that we have the current active working directory for our AI Agent, visible in VS Code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
newWindowNoWhether to open the project in a new window
projectPathYesPath to the project folder to open in VS Code
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions the tool 'opens a project folder' and helps set up the working directory, but lacks details on behavioral traits like error handling, permissions needed, or what happens if the path is invalid. For a tool with no annotations, this leaves significant gaps in understanding its behavior.

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?

The description is appropriately sized and front-loaded, with the core purpose stated first. However, the second sentence repeats the setup context, and some phrasing could be tightened (e.g., 'ensure we are set up and ready to go' is slightly redundant). Overall, it's efficient but not perfectly concise.

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?

Given the tool's moderate complexity (2 parameters, no output schema, no annotations), the description covers purpose and usage well but lacks behavioral details. It doesn't explain what the tool returns or potential side effects, which is a gap since there's no output schema. It's adequate but incomplete for full contextual understanding.

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%, so the schema fully documents the two parameters ('projectPath' and 'newWindow'). The description does not add any meaning beyond the schema, such as explaining parameter interactions or providing examples. With high schema coverage, the baseline is 3, and the description doesn't compensate with extra insights.

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?

The description clearly states the tool's purpose: 'open_project opens a project folder in VS Code.' It specifies the verb ('opens') and resource ('project folder in VS Code'), making the action and target explicit. However, it doesn't distinguish from sibling tools like 'list_available_projects' or 'open_file', which would require a 5.

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?

The description provides explicit usage guidelines: 'Call this tool as soon as a new session begins with the AI Agent to ensure we are set up and ready to go.' It also states 'This tool is also useful to ensure that we have the current active working directory for our AI Agent, visible in VS Code,' offering clear context for when to use it. No alternatives are mentioned, but the guidance is specific and actionable.

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

Install Server

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/juehang/vscode-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server