Skip to main content
Glama
iPraBhu

mcp-perforce-server

by iPraBhu

p4_sync

Update local workspace files to match Perforce depot revisions, with options for forced sync, preview, metadata-only updates, and parallel transfers.

Instructions

Sync files from Perforce depot

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNoLimit sync to the first max files (optional)
forceNoForce sync (optional, defaults to false)
quietNoSuppress normal sync messages using -q (optional)
previewNoPreview sync without executing (optional, defaults to false)
filespecNoFilespec to sync (optional, defaults to current directory)
parallelNoParallel sync specification, for example threads=4,batch=8 (optional)
safeSyncNoEnable digest safety checks using -s (optional)
filespecsNoFilespecs to sync in one command (optional)
reopenMovedNoReopen moved files in new depot locations using -r (optional)
metadataOnlyNoUpdate have-list metadata only using -k (optional)
populateOnlyNoPopulate without updating server state using -p (optional)
workspacePathNoPath to workspace directory (optional, defaults to current directory)
summaryPreviewNoPreview only the sync summary using p4 sync -N (optional)
useListOptimizationNoUse the -L file list optimization for exact depot revisions (optional)
Behavior2/5

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

With no annotations provided, the description bears the full burden of disclosing behavior. It merely says 'Sync files from Perforce depot' without noting that this can overwrite local workspace files, updates the have-list, or that it is a mutating operation. Sync implies bringing files local, but consequences are not stated, which is a meaningful gap for safe invocation.

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, front-loaded sentence with no wasted words. It could earn a 5 only if it packed more actionable context, but for pure conciseness it is very efficient.

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?

Despite a rich schema covering 14 parameters, the tool is complex and has no output schema or annotations. The one-line description leaves out behavioral semantics, defaults, side effects, and return value info. An agent has to infer too much about what a 'sync' actually does in Perforce; this is inadequate for a tool of this complexity.

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 schema covers 100% of parameters with descritions, so the description doesn't need to explain each flag. The description adds no param-specific context beyond the schema, meriting the baseline 3 for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a clear verb ('Sync') and resource ('files from Perforce depot'), which makes the core purpose immediately understandable. However, it doesn't explicitly distinguish P4_SYNC from sibling file-mutating tools like p4_copy or p4_integrate, though the 'sync' concept is reasonably distinctive.

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?

There is no guidance on when to use this tool vs alternatives, no prerequisites, and no mention of contexts where other operations (copy, integrat, merge) would be more appropriate. The description only states what it does, leaving an agent to infer usage context.

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