Skip to main content
Glama

p6_critical_path

Read-onlyIdempotent

Retrieve critical activities from the last P6 schedule run by project, total float, or longest path, with pagination, float thresholds, and optional completed activities.

Instructions

Critical activities of the last P6 schedule run (F9), one page: {total, offset, returned, next_offset, rows, definition, mode_used, threshold_h, counts, schedule_state, note}. mode: project (default) follows the project setting (total float <= its hours threshold, or longest path); total_float uses that hours threshold; longest_path uses P6's driving path flag. float_threshold_days forces total float <= that many days (not with longest_path). LOE and WBS summary activities are left out (even when P6 flags them), completed ones too unless include_completed=True. Order: total float then start, or float path order for the longest path. counts (open activities except LOE and WBS summary, any page): open, total_float, longest_path, negative_float; excluded_summary = LOE and WBS summary activities that meet the definition and the status filter but are not listed. fields= as in p6_query_activities.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoproject
limitNoRows per page (max 200).
fieldsNo
offsetNoRows to skip: pass next_offset from the previous page.
projectYesProject ID as shown in P6 (p6_list_projects).
include_completedNo
float_threshold_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already establish readOnly/idempotent/non-destructive, and the description goes well beyond them: it discloses pagination via offset/next_offset, ordering rules (total float then start, or float path order), exclusion of LOE and WBS summary activities, the completed-activity filter, and the exact meaning of each counts bucket. This is behavior an agent could not infer from the structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The breadth of information is earned, but it arrives as a dense run-on paragraph led by a literal listing of return keys rather than the tool's purpose. An agent must read several lines of punctuation-heavy prose to extract the mode rules, which could have been structured as short bullets.

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?

With no output schema, the description correctly carries the burden of explaining the return envelope (total, offset, returned, next_offset, rows, counts, schedule_state, note) and the counting semantics. Combined with the mode and exclusion rules, an agent has enough to call and paginate correctly, though project and limit semantics stay thin.

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

Parameters4/5

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

With only 43% schema description coverage, the description compensates substantially: it defines the semantics of mode values, float_threshold_days (forces total float <= N days, incompatible with longest_path), include_completed, and points to p6_query_activities for field meanings. limit and project remain undocumented beyond their schema stubs, so it is strong but not exhaustive.

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?

Names a specific resource and scope: 'Critical activities of the last P6 schedule run (F9), one page', and enumerates the payload keys returned. It distinguishes itself from the generic sibling p6_query_activities by referencing it only for the shared 'fields' parameter, though it never explicitly contrasts with p6_float_analysis, which is the nearest conceptual sibling.

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?

Gives concrete selection conditions for the three modes ('project' follows project setting, 'total_float' uses the hours threshold, 'longest_path' uses P6's driving path flag) and states incompatibilities (float_threshold_days is not used with longest_path). No exclusions or alternatives against sibling tools are offered, but the mode semantics are unusually explicit.

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