Skip to main content
Glama

add_project_to_workspace

Add an existing Xcode project to the active workspace by specifying its path. Optionally provide a workspace path to target a specific workspace.

Instructions

Adds an existing project to the active workspace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathYesPath to the project to add to the workspace
workspacePathNoPath to the workspace. If not provided, uses the active workspace.
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the mutation ('adds') but does not disclose prerequisites (e.g., workspace must exist), side effects (e.g., modifies workspace file), or what happens if the project is already added. No output schema exists to clarify the result.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

The description is a single sentence of eight words, with no fluff or redundancy. It is front-loaded and directly states the core action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mutation tool with no annotations and no output schema, yet the description provides only the basic action. It lacks details about return values, failure modes, or behavioral nuances, making it incomplete for an agent to fully understand the tool's 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?

The schema provides 100% coverage with clear descriptions for both projectPath and workspacePath, so the baseline is 3. The description adds no additional parameter semantics beyond echoing the 'active workspace' concept already in the schema.

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 uses a specific verb ('Adds') and resource ('existing project') with target ('active workspace'), clearly differentiating from sibling tools like add_file_to_project and create_workspace.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No guidance is provided about when to use this tool versus alternatives such as create_workspace or add_file_to_project. The description merely states the action without context or exclusions.

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

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/r-huijts/xcode-mcp-server'

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