Skip to main content
Glama

path_explorer

Logic-trace driver-chain explorer — answers "WHY is this activity critical?" and "WHAT does it drive?".

        Traces driving predecessors backward from a target activity to
        project start (the "why critical" chain) and/or driving
        successors forward to project finish (the "what it drives"
        chain). Detects constraint-driven artificial criticality and
        cites AACE RP 49R-06 when found. Supports multiple parallel
        critical paths (MCPM) and near-critical paths.

        Use this tool when investigating a single activity's logic
        chain. For a project-wide CP / logic health audit, use
        ``critical_path_validator``.

        Args:
            xer_path: server-side path to the schedule XER.
            xer_content: full text of the schedule XER (alternative for
                hosted/remote use). Supply EXACTLY ONE of path/content.
            target_activity_codes: list of task_codes to trace; if
                empty, all CP / near-critical endpoints are traced.
            direction: 'backward' (predecessors), 'forward'
                (successors), or 'both' (default).
            include_near_critical: also trace near-critical endpoints
                (within float band).
            output_dir: optional dir for HTML / CSV / JSON outputs.
            company: optional, the firm the dashboard carries (title
                block, print cover). Blank unless supplied, and blank
                carries no firm: a hosted run is the caller's document.

        Returns:
            {
              "paths":          [{chain dicts ...}],
              "output_files":   {dashboard, csv, json},
              "project_finish": "YYYY-MM-DD",
              "project_name":   ...,
              "data_date":      ...
            }
        

Input Schema

NameRequiredDescriptionDefault
companyNo
xer_pathNo
directionNoboth
output_dirNo
xer_contentNo
include_near_criticalNo
target_activity_codesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / company
      Added value: +{
      +  "default": "",
      +  "title": "Company",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it discloses meaningful behavior: constraint-driven artificial criticality detection with an AACE RP 49R-06 citation, MCPM support, and near-critical band handling. It also reveals a side effect (files written via output_dir: dashboard, csv, json) and the exactly-one-of path/content constraint, though it omits failure behavior, cost/runtime, and any read-only/write framing for the output artifacts.

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?

Well front-loaded: purpose, mechanics, sibling routing, then args and returns in a conventional order. The company parameter entry drifts into wordy editorializing ("blank carries no firm: a hosted run is the caller's document"), which is the one passage that does not earn its space.

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 inline Returns block is necessary and present, listing paths, output_files, project_finish/name, and data_date. Arguments, alternatives, and the one-of input constraint are all covered; only error/empty-result behavior and permissions are absent, which is a modest gap for a 7-parameter analytical tool.

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

Parameters5/5

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

Schema description coverage is 0% across 7 parameters, and the description compensates almost completely: it documents xer_path vs xer_content with an "EXACTLY ONE" exclusivity rule, supplies the direction enum values the schema lacks, explains the empty-list default for target_activity_codes, and clarifies the float-band meaning of include_near_critical. This is genuine added meaning, not schema restatement.

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?

Opens with a specific verb+resource ("Logic-trace driver-chain explorer") and frames the exact questions it answers ("WHY is this activity critical?" / "WHAT does it drive?"), then names the actual traversal semantics (predecessors backward to project start, successors forward to finish). An agent can distinguish it from critical_path_validator without opening either schema.

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

Usage Guidelines5/5

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

Explicitly scopes the tool to "investigating a single activity's logic chain" and routes project-wide audits to the named sibling ``critical_path_validator``. The direction parameter documentation adds the sub-choice (backward/forward/both) that selects between the two trace modes.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.