Skip to main content
Glama
osama-ata

P6XER MCP Server

by osama-ata

get_relationships

Retrieve activity predecessor and successor relationships from a Primavera P6 XER file, enriched with task codes. Optionally filter by a specific task code to show only related relationships.

Instructions

Get activity predecessor/successor relationships, enriched with task codes.
If task_code is supplied, returns only relationships where that activity
appears as the successor or as the predecessor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
task_codeNo
limitNo
Behavior3/5

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

No annotations are provided, so the description must cover behavioral traits. It mentions enrichment and filtering, but lacks details on side effects, permissions, pagination, or ordering. It is adequate but not comprehensive.

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 concise with two sentences, front-loaded with the main action, and contains no redundant information.

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?

Given the lack of output schema and 3 parameters with incomplete description, the description does not fully equip an AI agent. Missing details on return format, file_path (likely required path to a file), and limit (pagination).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description only adds meaning for the task_code parameter, explaining its filter effect. The file_path and limit parameters are not described, leaving their purpose unclear.

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 retrieves activity predecessor/successor relationships with enrichment of task codes. It distinguishes from sibling tools like get_activity_detail or get_project_activities, which focus on other aspects.

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

Usage Guidelines3/5

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

The description provides a conditional usage for task_code filtering, but does not explicitly guide when to use this tool versus alternatives or when not to use it. The context is implied but not fully elaborated.

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/osama-ata/p6xer-mcp-server'

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