Skip to main content
Glama
paulieb89

PyP6Xer MCP Server

pyp6xer_list_activities

Read-onlyIdempotent

Filter and list activities from Primavera P6 XER files with optional project, status, WBS code filters, and pagination.

Instructions

List activities with optional filtering and pagination.

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
statusNoFilter by status: 'not_started', 'in_progress', or 'completed'
wbs_codeNoFilter activities by WBS code prefix
limitNoMaximum number of results to return
offsetNoNumber of results to skip for pagination
fieldsNoSubset of field names to return; call pyp6xer_get_activity_schema to see available names

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, so the safety profile is clear. The description adds minimal behavioral context beyond 'filtering and pagination', but does not contradict annotations. It does not elaborate on rate limits, data scope, or what 'activities' mean in context.

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 very short and front-loaded: 'List activities' immediately conveys purpose. Every word is essential. However, it could include more useful context (e.g., dependency on loaded file) without being verbose, so not a 5.

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?

The tool has an output schema, so return values need not be described. However, the description omits that activities come from a previously loaded XER file (cache_key parameter). This prerequisite is important for context. While siblings are listed, no comparison is drawn. Overall adequate but with notable gap.

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?

Input schema covers all 7 parameters with detailed descriptions (100% coverage). The description's phrase 'optional filtering and pagination' is generic and does not add meaning beyond what the schema already provides. Baseline score 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 clearly states 'List activities' as the verb+resource. It adds 'with optional filtering and pagination' which provides specificity. However, it does not distinguish from sibling tools like pyp6xer_search_activities, which also lists activities but with full-text search.

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 implies usage when a filtered, paginated list is needed, but it does not explicitly state when to use this tool versus alternatives (e.g., pyp6xer_search_activities, pyp6xer_get_activity). No when-not-to-use or exclusions are provided.

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