Skip to main content
Glama
Cocoon-AI

MCP Perforce Server

by Cocoon-AI

p4_raw_command

Execute raw p4 commands to debug Perforce operations, capturing stdout and stderr for troubleshooting.

Instructions

FOR DEBUGGING: Executes a raw p4 command and returns stdout/stderr

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoWorking directory path (optional)
commandYesThe full p4 command to run (e.g., 'p4 describe -s 1234')
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 says the tool executes a raw command and returns stdout/stderr, but it does not warn that this may run arbitrary, potentially destructive, p4 commands or that no safety checks are performed. This is insufficient for a tool that can mutate the Perforce depot.

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, front-loaded sentence: 'FOR DEBUGGING: Executes a raw p4 command and returns stdout/stderr.' It is concise, with no superfluous words, and every part adds value by indicating purpose and behavior.

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 is a raw command executor with no output schema and only two parameters, but the description is too thin. It lacks critical context such as the danger of running arbitrary p4 commands, the role of the 'path' parameter in the execution context, and any caution about using it in production. Despite the simple interface, the description is incomplete for a tool that can trigger arbitrary command-line operations.

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% for both parameters (path and command), and the description adds no additional semantic meaning beyond what the schema already provides. It does not compensate with extra context about how the parameters interact or affect execution, 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 clearly states the tool executes a raw p4 command and returns stdout/stderr, using a specific verb and resource. The 'FOR DEBUGGING' prefix distinguishes it from sibling tools that perform specific p4 operations, making its purpose unambiguous.

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

Usage Guidelines4/5

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

'FOR DEBUGGING' provides clear context for when this tool should be used, and the existence of many specialized sibling tools implies it is for cases not covered by them. However, it does not explicitly mention alternatives or when not to use it, so it stops short of full guidance.

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