Skip to main content
Glama
iPraBhu

mcp-perforce-server

by iPraBhu

p4_workspace_snapshot

Capture a complete snapshot of a Perforce workspace, including status, config, opened files, and recent changelists, to quickly assess workspace state.

Instructions

Composite workspace snapshot: info + status + optional config/opened/recent changes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
includeConfigNoInclude p4.config.detect output (optional, default true)
includeOpenedNoInclude full p4.opened output (optional, default false)
workspacePathNoPath to workspace directory (optional, defaults to current directory)
recentChangesMaxNoMaximum recent changelists to include (optional, default 10)
includeRecentChangesNoInclude recent changelists via p4.changes (optional, default false)
Behavior3/5

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

There are no annotations, so the description carries the burden of behavioral disclosure. It does reveal that the tool always includes info/status and optionally includes config/opened/recent changes, and 'snapshot' implies a read-only operation. However, it does not describe return aggregation, failure behavior, or side effects.

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 information-dense sentence with no filler. The key qualifier 'composite workspace snapshot' is front-loaded, and every word contributes meaning.

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?

All parameters and defaults are fully covered by the schema, and the description supplies the overall behavior and always-on components. It is adequate for a read-only snapshot tool, though the lack of an output schema means the exact return shape is only implied by the component names.

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 coverage is 100%, so the baseline is 3; the schema already documents all five parameters with defaults. The description adds a small bit of context by framing config/opened/recent changes as optional and implying info/status are always present, but it does not materially extend the schema's parameter explanations.

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 clearly identifies the tool as a composite workspace snapshot and enumerates its components: info, status, and optional config/opened/recent changes. This differentiates it from individual p4_* commands, though it lacks an explicit verb like 'get' or 'retrieve'.

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 explicit guidance is given about when to prefer this aggregate snapshot over calling p4_info, p4_status, p4_opened, p4_changes, or p4_config_detect individually. The word 'composite' implies a combined use-case, but alternatives and exclusions are not stated.

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