Skip to main content
Glama
iPraBhu

mcp-perforce-server

by iPraBhu

p4_grep

Search Perforce depot files for text patterns using optional filespecs and case-insensitive matching, helping you locate code and content across versioned files.

Instructions

Search for text patterns across depot files

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patternYesSearch pattern (required)
filespecNoFilespec to search in (optional)
filespecsNoFilespecs to search in (optional)
workspacePathNoPath to workspace directory (optional, defaults to current directory)
caseInsensitiveNoCase insensitive search (optional, defaults to false)
Behavior2/5

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

There are no annotations, so the description carries the full behavioral disclosure burden. It only states that the tool searches text patterns and does not mention whether the operation is read-only, what matching semantics apply, what output shape is returned, or any side effects. For a search tool this is a notable gap because an agent cannot predict what will happen when invoking it.

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 and puts the main action first. It is efficient and readable, though the brevity comes at the cost of behavioral and usage detail that other dimensions must compensate for. As a conciseness score, it earns a 4.

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 five parameters, no annotations, and no output schema, the description needs to add substantial context about behavior, output, and tool selection. The one-sentence description covers none of that, so an agent has only the raw schema and sibling names to work with. This is insufficient for reliable tool invocation in non-obvious cases.

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 covers all five parameters with descriptions, so the schema already carries the parameter-level burden. The tool description adds no parameter-specific meaning beyond implying the pattern is central to the search. With 100% schema coverage, the baseline of 3 is appropriate.

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 ('Search'), a resource ('depot files'), and a focus ('text patterns'), so an agent can see the core action at a glance. It does not name or contrast sibling tools like p4_search_inspect, so the differentiation is incomplete. Overall it is clear but not fully 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?

The description gives no guidance on when to use p4_grep versus siblings such as p4_search_inspect, p4_print, or p4_diff2. There is no mention of exclusions, fallbacks, or conditions that would route an agent to this tool instead of an alternative. Usage context is left entirely to inference.

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