Skip to main content
Glama

Plan project timeline

plan_project_timeline
Read-onlyIdempotent

Use this when the user wants a Gantt chart, project timeline, project schedule or project plan with milestones from a task list, wants to find the critical path and project duration, or asks for early start, early finish, late start, late finish, total float or free float (critical path method). Takes tasks with durations (days or weeks), finish-to-start dependencies with optional lags, optional start-no-earlier-than dates, owners and milestones, plus a start date and a business-day calendar with country public holidays or calendar days. Returns every task's dates and float, the critical path, milestones and the end date, an interactive Gantt chart, and CSV, .ics and SVG downloads. Detects dependency loops and unknown task names. Does not save projects, sync with project tools, track progress, or level resources. Do not use for a single date difference or for daily to-do planning.

Input Schema

NameRequiredDescriptionDefault
tasksYesTasks in any order (1 to 150), e.g. [{"id":"A","name":"Design","duration":5},{"id":"B","name":"Build","duration":10,"depends_on":["A"]}].
countryNoCountry whose public holidays are skipped in business_days mode, as a 2-letter code or name, e.g. US, GB, DE, PL.
calendarNobusiness_days (default) counts Monday to Friday and skips public holidays of country; calendar_days counts every day.
start_dateNoProject start date YYYY-MM-DD, e.g. 2026-11-02. Defaults to today. Convert relative dates ("next Monday") to a date first.
subdivisionNoState or region code for regional holidays, e.g. CA for California or BY for Bavaria.
project_nameNoProject title for the chart and files, e.g. "Website relaunch".
duration_unitNoDefault unit for every task duration: days (default) or weeks.
non_working_datesNoExtra days off such as a company shutdown, YYYY-MM-DD, e.g. ["2026-12-28", "2026-12-29"].

Output Schema

NameRequiredDescriptionDefault
tasksYes
requestYes
calendarYes
end_dateYes
warningsYes
downloadsYes
milestonesYes
start_dateYes
project_nameYes
working_daysYes
calendar_daysYes
critical_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantive behavior beyond them: the full return payload (task dates and float, critical path, milestones, end date, interactive Gantt, CSV/.ics/SVG downloads) and error handling ("Detects dependency loops and unknown task names"). It also scopes the calculation model (business-day calendar with country holidays vs. calendar days), which determines output correctness.

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?

Front-loaded with the triggering conditions before the mechanics, and every sentence carries content (inputs, outputs, limits, exclusions). The single dense block runs long, but there is little true filler; a sentence break between behavior and exclusions would improve scanability slightly.

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 a high-complexity scheduling tool with 8 parameters and nested task objects, the description covers inputs, computation model, outputs, downloads, and boundaries. With an output schema present it need not explain return values further, yet it still names the deliverables, leaving nothing an agent needs missing.

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?

Schema description coverage is 100%, so all eight parameters are already documented at field level. The description echoes their grouping (durations in days or weeks, finish-to-start dependencies with optional lags, start-no-earlier-than, owners, milestones, calendar mode) but adds no syntax or format detail beyond what the schema states. Baseline 3 applies since the schema does the heavy lifting.

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?

The description opens with a specific verb and resource ("plan project timeline" via Gantt chart / milestones / CPM) and enumerates the exact computations performed: ES/EF/LS/LF, total float, free float, critical path. An agent can immediately tell this is a CPM scheduling engine rather than a generic date utility.

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?

Strong triggering conditions ("the user wants a Gantt chart... or asks for early start, early finish...") plus explicit exclusions ("Does not save projects, sync with project tools, track progress, or level resources" and "Do not use for a single date difference or for daily to-do planning"). The one gap is that the sibling compare_timeline_scenarios is never named, so the agent gets no routing signal for scenario comparison.

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.

Resources