Skip to main content
Glama

Critical Path Partners

time_impact_analysis_fragnet

Time Impact Analysis (TIA) — prospective fragnet insertion into a pre-impact baseline schedule. Supports two modes.

        **Single-base mode** (legacy): supply ``baseline_xer_path`` or
        ``baseline_xer_content``. All fragnets are inserted into the
        same shared baseline XER and impact is measured against that
        shared baseline. The result carries a
        ``single_base_disclosure`` warning: one shared baseline is
        AACE 29R-03 MIP 3.6 (Modeled / Additive / Single Base), not
        MIP 3.7 Multiple Base; acceptable when all events share a
        single baseline window.

        **Multi-base mode** (AACE 29R-03 MIP 3.7 Multiple Base):
        supply ``per_event_bases`` — a dict keyed by each fragnet's
        ``id``, with each value a dict containing EITHER
        ``xer_path`` OR ``xer_content`` for that event's
        pre-event contemporaneous baseline. Each fragnet is inserted
        into its OWN base, impact is measured against THAT base's
        pre-event finish, and the result carries
        ``per_event_methodology``, ``per_event_base_count``, and
        ``per_event_bases_used`` (sha256-truncated content hashes for
        audit reproducibility). The cumulative-impact figure carries
        ``cumulative_caveat`` because the sum of events measured
        against different bases is NOT a valid joint impact.

        Exactly ONE of {baseline_xer_path, baseline_xer_content,
        per_event_bases} must be supplied. Multi-base mode refuses
        the run (a tool error carrying ``{"error": ...}``) before any
        schedule is read if a fragnet id is missing from
        ``per_event_bases`` (listed in ``missing_fragnet_ids``), if
        two fragnets share an id (a fragnet with no id is ``F`` and
        its position, counted from 1), or if an entry gives neither
        ``xer_path`` nor ``xer_content``, gives both, or names a path
        the server will not read (the check ``baseline_xer_path``
        goes through).

        Use this tool when modeling delay impact prospectively (e.g.
        quantifying RFI / change-order delay before settlement). For
        retrospective windows analysis after the fact, use
        ``forensic_windows_analysis`` (MIP 3.3 windows). For an
        impacted as-planned screen or rebuttal on the unprogressed
        as-planned baseline (MIP 3.6), use ``impacted_as_planned``.

        Args:
            baseline_xer_path:    server-side pre-impact baseline XER
                                  (single-base mode).
            baseline_xer_content: full text of pre-impact baseline XER
                                  (single-base mode, hosted/remote use).
            per_event_bases:      dict {fragnet_id: {"xer_path": "..."}
                                  OR {"xer_content": "<full XER text>"}}
                                  for AACE MIP 3.7 Multiple Base mode.
                                  Example::

                                    {
                                      "F1": {"xer_path": "/tmp/bl_pre_F1.xer"},
                                      "F2": {"xer_content": "<XER text>"},
                                    }

            fragnets: list of fragnet dicts. Each must have:
                - 'id', 'name', 'liability' (responsible party)
                - 'activities': list of {code, name, duration_days,
                                          clndr_id?}
                  (clndr_id is the P6 calendar id, CALENDAR.clndr_id.
                  This tool schedules on a uniform timeline that walks
                  no calendar, so it does not change the result here.)
                - 'ties':       list of {pred, succ, type, lag_days?}
                Optional: 'description'.
            output_dir: output dir for TIA_Report.txt + CSV (tempdir if "").
            project_name: optional override.
            preparer / company: optional, printed in the report header as
                who prepared the analysis. Both are blank unless supplied.

        Returns:
            {
              "report":      path to TIA_Report.txt,
              "impacts_csv": path to TIA_Impact_Details.csv,
              "baseline":    {"project_finish", "critical_count", ...},
              "per_fragnet": [{fragnet_id, name, liability,
                                completion_before, completion_after,
                                impact_days, impact_working_days,
                                affected_activities, status, error}, ...],
              "cumulative_days": int (sum of per-fragnet impacts),
              "cumulative_basis": str (BOTH modes — states the cumulative
                                  figure is the sum of independent
                                  per-fragnet impacts and overstates joint
                                  impact when fragnets share a path),
              "per_event_methodology": str (the method label, or why
                                      nothing was measured),
              "per_event_base_count": int (count of unique base XERs
                                      read; 0 when none could be read),
              "per_event_bases_used": {fragnet_id: sha256_hash8} (multi-base only),
              "per_event_unread": [fragnet_id] (multi-base only: events
                                  whose base could not be read, so not
                                  measured),
              "per_event_requested": int (multi-base only: every event
                                  asked for),
              "not_measured": bool (True when no base could be read: every
                              figure is 0 only because nothing was
                              measured, not a finding of no delay),
              "single_base_disclosure": str (whenever every event
                                      measured shared one base, MIP 3.6),
              "cumulative_caveat": str (multi-base only),
            }
        

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "time_impact_analysis_fragnet"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyNo
fragnetsNo
preparerNo
output_dirNo
project_nameNo
per_event_basesNo
baseline_xer_pathNo
baseline_xer_contentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / company
      Added value: +{
      +  "default": "",
      +  "title": "Company",
      +  "type": "string"
      +}
    • addedInput schema / properties / preparer
      Added value: +{
      +  "default": "",
      +  "title": "Preparer",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / per_event_bases
      Added value: +{
      +  "additionalProperties": true,
      +  "default": null,
      +  "title": "Per Event Bases",
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden and it does: it discloses that multi-base mode refuses the run before any schedule is read, enumerates the specific pre-conditions for that refusal (missing fragnet id, duplicate ids, both/neither xer source, unreadable path), and warns that figures are 0 under `not_measured` rather than meaning no delay. It also flags the analytical caveats shipped in the result (`cumulative_caveat`, `single_base_disclosure`) and the audit hashing.

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?

Structure is strong and front-loaded: mode A, mode B, selection rule, usage routing, then Args/Returns. It is long, and the Args block partially restates parameter names already in the schema while the mode descriptions above cover the same ground, which is mild redundancy rather than waste. Tighter cross-referencing would trim a paragraph.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter, nested-object tool with no annotations and no output schema, this covers mode selection, failure modes, nested input shape, and the full return document including which fields appear only in which mode. Nothing an agent needs to invoke it correctly or interpret the result is absent.

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 coverage is 0%, so the description must compensate and it does — each of the 8 parameters is documented with semantics beyond its name, including the full nested shape of `fragnets` (required keys id/name/liability/activities/ties, optional description) and a worked `per_event_bases` example. It also explains the non-obvious consequence of `clndr_id` (uniform timeline, no calendar walk) rather than restating the schema type.

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 ('Time Impact Analysis — prospective fragnet insertion into a pre-impact baseline schedule') and immediately names the two operating modes. It explicitly differentiates itself from siblings by naming `forensic_windows_analysis` and `impacted_as_planned` with the conditions that select each, so an agent can route without opening any 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?

Gives an explicit when-to-use ('prospectively, e.g. quantifying RFI / change-order delay before settlement') plus two named alternatives with mutually exclusive conditions, including the AACE method IDs (MIP 3.3, 3.6, 3.7). It also states the mode-selection rule ('Exactly ONE of {baseline_xer_path, baseline_xer_content, per_event_bases} must be supplied').

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.