Skip to main content
Glama
paulieb89

PyP6Xer MCP Server

pyp6xer_earned_value

Read-onlyIdempotent

Calculate Earned Value Management (EVM) metrics including SPI, CPI, and variances from Primavera P6 XER files to assess project cost and schedule performance.

Instructions

Calculate Earned Value Management (EVM) metrics.

Metrics:

  • BCWS (PV): Budgeted Cost of Work Scheduled = total budgeted cost × duration %

  • BCWP (EV): Budgeted Cost of Work Performed = sum of (budget × % complete) per task

  • ACWP (AC): Actual Cost of Work Performed = sum of actual costs

  • SPI: Schedule Performance Index = EV / PV

  • CPI: Cost Performance Index = EV / AC

  • CV: Cost Variance = EV - AC

  • SV: Schedule Variance = EV - PV

  • EAC: Estimate at Completion = BAC / CPI

  • VAC: Variance at Completion = BAC - EAC

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cache_keyNoCache key identifying the loaded XER file (set when calling pyp6xer_load_file)default
proj_idNoProject ID or short name; uses first project if omitted

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate readOnlyHint=true and idempotentHint=true. The description adds value by explicitly listing the computed metrics and their formulas, giving the agent a clear picture of what outputs to expect. However, it does not disclose any potential constraints (e.g., how missing data affects calculations) or error conditions.

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 highly concise: a one-sentence summary followed by a well-organized list of metrics with formulas. Every sentence is informative, no fluff, and the key purpose is front-loaded.

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?

Given that an output schema exists (not shown but indicated by context), the description does not need to detail return values. The formulas provide sufficient context for what the tool computes. However, it lacks information about how the metrics are derived from the project data (e.g., reliance on budget fields) and does not mention any limitations.

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 schema already describes both parameters (cache_key and proj_id) sufficiently. The description does not add any additional meaning or usage hints for the parameters, maintaining the baseline score.

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?

The description clearly states the tool calculates Earned Value Management (EVM) metrics and lists specific formulas (BCWS, BCWP, ACWP, etc.). This distinguishes it from sibling tools like pyp6xer_progress_summary or pyp6xer_schedule_health_check, as EVM is a distinct subset of project control metrics.

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 provides no guidance on when to use this tool versus alternatives (e.g., pyp6xer_progress_summary). It does not mention prerequisites, such as having loaded a file with pyp6xer_load_file, nor does it indicate that this tool is appropriate for detailed EVM analysis versus high-level progress.

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/paulieb89/pyp6xer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server