Skip to main content
Glama
iPraBhu

mcp-perforce-server

by iPraBhu

p4_sizes

Get file sizes and disk usage statistics for Perforce files, with options to filter by filespec, block size, shelved files, and revisions.

Instructions

Get file sizes and disk usage statistics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNoLimit output to the first max files using -m (optional)
filespecNoFilespec to get sizes for (optional, defaults to current directory)
blockSizeNoRound sizes up to a block size in bytes using -b (optional)
filespecsNoFilespecs to get sizes for in one command (optional)
shelvedOnlyNoDisplay size info for shelved files only using -S (optional)
allRevisionsNoList all revisions in the range using -a (optional)
workspacePathNoPath to workspace directory (optional, defaults to current directory)
omitLazyCopiesNoOmit lazy copies from totals using -z (optional)
Behavior2/5

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

No annotations are present, so the description alone must carry behavioral disclosure. It only implies a read operation through 'Get' and gives no detail on defaults, output shape, potential cost, or side effects, leaving the full burden partially unmet.

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 sentence with no filler, redundant wording, or restatement of the tool name. It front-loads the action clearly, though it is terse enough to omit useful context.

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

Completeness3/5

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

With 8 optional parameters, no output schema, and no annotations, the one-line description is thin but the rich parameter schema partially compensates. It states the high-level result but omits default behavior and return format, leaving clear gaps.

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 documents 100% of parameters with explicit flag mappings, so the description adds no semantic value beyond the schema. With high schema coverage, the baseline of 3 applies.

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 uses a specific verb ('Get') and resource ('file sizes and disk usage statistics'), so an agent can identify this as a read-only size query. It is clear but does not explicitly differentiate itself from related siblings like p4_fstat or p4_files, so it stops short of full distinction.

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 when-to-use guidance, exclusions, or alternative routing is provided. The generic purpose statement gives no indication of when p4_sizes should be chosen over sibling tools that also inspect files or workspaces.

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