Skip to main content
Glama
bruhsb
by bruhsb

paperclip_list_workspaces

Read-only

List all workspaces in a project to find workspace details like path and repository URL.

Instructions

List all workspaces for a project.

Args:

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

  • response_format: 'markdown' | 'json' (optional) — Output format (default: markdown)

Returns: Pagination envelope { items: Workspace[], total, count, offset, limit, has_more, next_offset }. Each item: id, cwd, repoUrl, projectId, createdAt.

Examples:

  • Use when: finding the workspace cwd or repoUrl before an agent starts executing in it

  • Don't use when: you need the project record — use paperclip_get_project which includes workspaces

Error Handling:

  • 401: authentication failed → check PAPERCLIP_API_KEY

  • 404: project not found → verify ID with paperclip_list_projects

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesProject UUID
limitYesMax workspaces per page (1–100, default 50)
offsetYesNumber of workspaces to skip (default 0)
response_formatYesOutput format: 'markdown' (default, human-readable) or 'json' (structured)markdown
Behavior4/5

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

Annotations provide readOnlyHint and openWorldHint. Description adds pagination envelope details and error codes, which are useful beyond annotations. Does not contradict annotations.

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 (header, args, returns, examples, error handling). Concise with no wasted words, front-loaded with main purpose.

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?

Even without output schema, description specifies the pagination envelope and item fields. Covers all parameters, return format, and error scenarios. No gaps for a list tool.

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 baseline is 3. Description adds value with example UUID for projectId, explanation of response_format enum, and return structure details. Exceeds basic schema info.

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 clearly states 'List all workspaces for a project' and provides specific use cases (finding workspace cwd or repoUrl). It distinguishes from sibling 'paperclip_get_project' which includes workspaces.

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?

Explicitly states when to use ('finding the workspace cwd or repoUrl') and when not to use ('need the project record — use paperclip_get_project'). Includes error handling guidance for 401 and 404 responses.

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