Skip to main content
Glama
bruhsb
by bruhsb

paperclip_create_workspace

Create a workspace for a project by providing the project UUID and optionally a local directory or remote repository URL.

Instructions

Create a new workspace for a project. At least one of cwd or repoUrl is required.

Args:

  • projectId: string — Project UUID (example: "prj_abc123")

  • cwd: string (optional) — Local working directory path (example: "/home/user/repo")

  • repoUrl: string (optional) — Remote repository URL (example: "https://github.com/org/repo")

Returns: Returns the created workspace object: id, cwd, repoUrl, projectId, createdAt.

Examples:

  • Use when: adding a second workspace (e.g. a different branch or clone) to an existing project

  • Don't use when: you are creating a project — use paperclip_create_project with the workspace field instead

Error Handling:

  • 400: validation failure → must provide at least one of cwd or repoUrl

  • 401: authentication failed → check PAPERCLIP_API_KEY

  • 404: project not found → verify ID with paperclip_list_projects

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesProject UUID
cwdNoLocal working directory path
repoUrlNoRemote repository URL
Behavior5/5

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

Description adds return format (workspace object with fields) and error handling (400, 401, 404) beyond annotations. No contradiction with annotations (destructiveHint: false).

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?

Well-structured with clear sections (Args, Returns, Examples, Error Handling). Every sentence adds value; no fluff.

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

Completeness5/5

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

Complete for a creation tool: explains return fields, error conditions, and usage context relative to siblings. No output schema, but description adequately documents return value.

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%, but description adds value by providing example values for each parameter and clarifying the conditional requirement (at least one of cwd or repoUrl) which is not fully captured in 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?

Clearly states 'Create a new workspace for a project' with specific verb and resource. Explicitly distinguishes from sibling tool paperclip_create_project by providing when-to-use and when-not-to-use examples.

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?

Provides explicit examples for when to use (adding a second workspace) and when not to use (creating a project), including naming the alternative tool. Also specifies the condition that at least one of cwd or repoUrl is required.

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/bruhsb/paperclip-mcp'

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