Skip to main content
Glama
iPraBhu

mcp-perforce-server

by iPraBhu

p4_print

Retrieve and display file contents directly from the Perforce depot using a filespec or multiple filespecs, with optional header suppression and workspace path support.

Instructions

Print file content from the depot

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quietNoSuppress file headers (optional, defaults to true)
filespecNoDepot filespec to print (required)
filespecsNoDepot filespecs to print in one command (required if filespec is omitted)
workspacePathNoPath to workspace directory (optional, defaults to current directory)
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 only restates the basic operation and does not mention output behavior (e.g., text written to stdout), the effect of the 'quiet' flag on headers, or that it operates purely on the depot without touching the workspace. This adds little beyond the tool name.

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 with no wasted words. Every term ('print', 'file content', 'from the depot') contributes to identifying the tool's purpose and scope.

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

Completeness4/5

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

For a simple print operation, the description plus a fully described schema covers the essential invocation details. Minor gaps remain, such as not explicitly stating that content is returned as output or how to choose between single and multiple filespecs, but these are largely inferable from the tool name and schema.

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 input schema already provides full descriptions for all four parameters (100% coverage), so the baseline applies. The description adds no additional meaning, such as the relationship between 'filespec' and 'filespecs' or the default behavior of 'quiet', leaving the schema as the sole source of parameter understanding.

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 states a specific verb ('print') and resource ('file content from the depot'), making the tool's function unmistakable. It distinguishes itself from siblings like p4_files (which lists file names) and p4_grep (which searches content) without needing to mention them. This is concise and non-tautological.

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

Usage Guidelines3/5

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

The description implies usage by stating what the tool does, but it provides no explicit guidance on when to prefer p4_print over alternatives such as p4_annotate or p4_blame. There are no exclusions, prerequisites, or conditional routing hints—leaving the agent to infer the right situation.

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/iPraBhu/mcp-perforce-server'

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