Skip to main content
Glama
iPraBhu

mcp-perforce-server

by iPraBhu

p4_merge

Merge files from a source path to a target path in Perforce. Provide the source and target filespecs, with optional changelist and workspace path.

Instructions

Merge files from source to target

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesSource filespec/path (required)
targetYesTarget filespec/path (required)
changelistNoChangelist number (optional)
workspacePathNoPath to workspace directory (optional, defaults to current directory)
Behavior2/5

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

No annotations are provided, so the description carries the full burden of explaining behavior. It only says files are merged, but does not disclose whether the operation mutates the target, opens files in a changelist, requires a workspace, or can be reverted. For a mutating operation this is a significant transparency gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single short sentence and is easy to parse, with the key source-to-target relationship front-loaded. However, it is so terse that it omits important operational details, making it under-specified rather than optimally concise.

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?

With no annotations and no output schema, this description is the agent's primary source of context. It does not explain the merge semantics, effects on files, use of the optional changelist and workspacePath parameters, or expected outcome. For a tool with four parameters and two required ones, this is incomplete.

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%, so the schema already explains all four parameters. The description adds directional context by mapping the operation to source and target, but it does not clarify how changelist or workspacePath influence the merge behavior. This meets the baseline but adds little beyond the schema.

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 specific verb ('merge') with a clear resource direction ('from source to target'). It is not a tautology and gives the agent a basic sense of the operation. However, it does not distinguish the tool from siblings like p4_integrate, p4_copy, or p4_move, so the agent must infer the difference.

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?

The description offers no guidance about when to use this tool instead of p4_integrate, p4_copy, p4_move, or p4_resolve. It does not mention prerequisites, workspace requirements, or typical merge scenarios. The agent is left to guess the appropriate context for calling this tool.

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