Skip to main content
Glama
P6XER MCP Server

P6XER MCP Server

compare_xer_files

Compare two Primavera P6 XER files to identify added, removed, and changed activities, relationships, critical-path shifts, and project finish changes.

Instructions

Compare two XER files (for example a baseline and a monthly update, or two revisions).

Matches activities on activity code and reports added, removed and changed activities
(status, duration, float, constraint, early date shifts), added, removed and changed
relationships, activities that entered or left the critical path, the shift in project
finish, and the largest float losses. Lists are limited to max_items entries.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "old_file_path": "<old_file_path>",
      "new_file_path": "<new_file_path>"
    },
    "name": "compare_xer_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_itemsNo
new_file_pathYes
old_file_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the matching key (activity code) and enumerates the diff categories reported, plus the max_items cap, but says nothing about failure modes (mismatched projects, malformed or missing files), performance, or that it is a non-mutating read—which matters for a two-file analysis tool.

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?

Three sentences, front-loaded with the purpose then the mechanics and the list cap. No filler; every clause conveys either scope, matching behavior, or output contents.

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?

No output schema exists, and the description addresses that by enumerating what is reported (added/removed/changed activities and relationships, critical path entries/exits, finish shift, float losses). Only edge-case and error behavior is left unspecified.

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 0%, so the description must compensate. It does explain max_items ('Lists are limited to max_items entries'), but adds nothing about old_file_path/new_file_path beyond their names—no path format, whether files must belong to the same project, or what happens on partial overlap.

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

Purpose5/5

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

States a specific comparison verb over a named resource (two XER files) and makes the scope concrete with examples (baseline vs. monthly update, two revisions). It is clearly distinguishable from parse_xer_file-style single-file tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The scenarios given ('baseline and a monthly update, or two revisions') tell an agent when this tool is the right choice. There are no explicit exclusions or named alternatives for single-file inspection, but the context is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.