Skip to main content
Glama
Cocoon-AI

MCP Perforce Server

by Cocoon-AI

p4_client_switch

Switch to a specified Perforce client/workspace, optionally setting the working directory, to ensure commands apply to the correct workspace context.

Instructions

Switch to a different client/workspace

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoWorking directory path (optional)
clientYesClient/workspace name to switch to
Behavior1/5

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

The description merely restates the function ('Switch to a different client/workspace') without any additional behavioral disclosure. Since no annotations are provided, the description carries full burden, but it omits side effects, error conditions, reversibility, or impact on other Perforce operations.

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 a single, concise sentence with no redundant words. It is appropriately brief, though it sacrifices informational content in favor of brevity.

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?

The tool has a simple interface, but the description does not explain the effect of the optional 'path' parameter, nor does it describe validation, connection requirements, or what happens to the current working directory. This lacks sufficient context for safe and correct usage.

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%, providing clear descriptions for both 'path' and 'client'. The tool description adds no semantic meaning beyond the schema, so the baseline score of 3 is appropriate.

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 'Switch' and identifies the resource as 'client/workspace', making it clear what the tool does. It also distinguishes this tool from siblings like p4_stream_switch and p4_client_edit.

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 p4_stream_switch or p4_client_edit. The description does not mention prerequisites, 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/Cocoon-AI/mcp-perforce'

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