Skip to main content
Glama
RCA-MCP Connector

RCA-MCP Connector

rca_delay_schedule_ingest

Parses CSV, MSP XML, or P6 XER schedules, validates DAG integrity and predecessor links, then computes a baseline critical path for consistent delay analysis.

Instructions

Enterprise plan required. Parses a CPM schedule export, validates it as a proper DAG (rejecting cycles, flagging open ends and dangling activities -- the single most common defect in real-world schedules per forensic scheduling literature, and rejecting any predecessor id that doesn't resolve to a real activity rather than letting it corrupt the computation silently), and runs the forward/backward pass once up front so the 3 other delay-analysis tools (rca_delay_as_planned_vs_as_built, rca_delay_time_impact_analysis, rca_delay_windows_analysis) all start from the same known-good baseline critical path instead of each re-deriving it.

Args: params (ScheduleIngestInput): - token/client_id: standard auth fields - format: "csv" (generic id,name,duration,predecessor_ids, calendar_id fallback, predecessor_ids ';'-separated), "msp_xml" (Microsoft Project XML export), or "xer" (Primavera P6 XER export) -- msp_xml/xer are scoped to scheduling-logic fields only, not resources/costs/WBS - schedule_base64: the export file's raw bytes, base64-encoded - data_date: the schedule's as-of date (ISO 8601), used to convert working-day offsets to calendar dates - working_days: weekday numbers that count as working days, 0=Monday..6=Sunday; defaults to Mon-Fri if omitted - holidays: optional list of non-working calendar dates

Returns: str: JSON with schedule_id, project_duration, critical_path, activity_count, ingest warnings, and a disclaimer, or a bad_input error

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.3.0

TDQS

A4.3/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: it rejects cycles, rejects predecessor ids that don't resolve (and says why, rather than silently corrupting results), flags open ends/dangling activities, and persists a shared validated baseline used by downstream tools. It also flags the enterprise plan gate. It does not disclose re-ingest semantics, despite idempotentHint=false — an agent can't tell whether ingesting the same file twice creates a duplicate schedule.

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 core purpose is front-loaded, but the opening sentence is a ~60-word run-on with nested parentheticals that is hard to parse at a glance. Editorializing such as 'the single most common defect in real-world schedules per forensic scheduling literature' consumes space without helping an agent decide to call the tool. The Args block is well structured and the Returns block is compact.

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?

For a high-complexity ingest tool the definition covers formats, validation/rejection behavior, calendar configuration, and error outcome (bad_input), and it sets the contract with its three downstream consumers. Missing pieces are re-ingest/overwrite semantics and any practical input limits (file size, activity count), which matter for a base64 upload path.

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?

The Args block gives meaning to every field: what each format value actually contains (generic csv fallback columns with ';'-separated predecessor_ids, MSP XML, P6 XER, and the explicit scope limit that resources/costs/WBS are not parsed), the 0=Monday..6=Sunday convention with a Mon-Fri default, and the role of data_date in converting working-day offsets. This materially exceeds the flat schema descriptions and compensates for the low reported coverage.

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?

States a concrete verb chain (parses, validates, runs forward/backward pass) on a specific resource (a CPM schedule export) and explicitly names the three sibling delay-analysis tools that consume its output. An agent can tell this is the prerequisite baseline-builder rather than an analysis tool 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 Guidelines4/5

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

Usage context is clear: the 3 other delay tools (rca_delay_as_planned_vs_as_built, rca_delay_time_impact_analysis, rca_delay_windows_analysis) all start from the baseline this tool produces, which implies call-this-first ordering. It also flags 'Enterprise plan required', a real gating condition. It stops short of explicit exclusions (e.g., when to skip ingest, or what to do if a schedule was already ingested).

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

Deploy Server

Other Tools