Skip to main content
Glama

Run Monte Carlo schedule simulation

planitude_monte_carlo
Read-onlyIdempotent

Monte Carlo simulation of the project finish date: the plan is rescheduled thousands of times with durations drawn between optimistic and pessimistic values (PERT or triangular), honoring calendars, constraints and dependencies. Answers 'how likely are we to finish by the deadline?' and 'which date can we commit to?'. Returns P50/P80/P95 finish dates, the probability of meeting the plan and the deadline (or targetDate), the cumulative curve, the main risk drivers (sensitivity and criticality index), and percentiles for phases and milestones. Tasks without a three-point estimate use the project's default range. Omitted parameters use the values saved in the plan; passed values apply to this call only. Read-only: nothing is saved.

Input Schema

NameRequiredDescriptionDefault
seedNoRandom seed: same seed and same plan give the same numbers.
projectIdYesProject id (uuid), as returned by planitude_list_projects.
iterationsNoNumber of iterations. Default: the value saved in the plan (5000). Reduced by the server on large plans.
targetDateNoDate YYYY-MM-DD for which to compute the probability of finishing by it (default: project deadline).
distributionNoDuration distribution. Default PERT.
optimisticPctNoDefault range: optimistic duration = duration minus this percentage. Default 10.
pessimisticPctNoDefault range: pessimistic duration = duration plus this percentage. Default 30.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description nonetheless adds substantive behavior: tasks lacking three-point estimates fall back to the project's default range, and passed parameters apply to this call only rather than persisting. It also enumerates the returned artifacts (P50/P80/P95, probability of meeting deadline, cumulative curve, sensitivity/criticality drivers), which is valuable given there is no output schema.

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 purpose and use case, then mechanism, then outputs, then defaults — a sensible ordering with no filler. Minor redundancy: 'Read-only: nothing is saved' restates readOnlyHint, and the output enumeration is long, though justified by the absence of an output schema.

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 7-parameter simulation tool with no output schema, the description supplies the missing return-value documentation, the estimation fallback rules, parameter persistence semantics and the read-only guarantee. An agent has everything needed to decide on and invoke the call correctly.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds a genuinely non-schema semantic rule: omitted parameters inherit values saved in the plan while passed values apply to this call only. It also clarifies the fallback semantics of the optimistic/pessimistic percentage defaults for tasks without three-point estimates.

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 and resource: 'Monte Carlo simulation of the project finish date', then states the mechanism (rescheduling thousands of times with PERT/triangular durations). It is clearly distinct from sibling tools such as planitude_critical_path, planitude_reschedule and planitude_delay_impact.

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?

Frames the use case as answering two concrete questions ('how likely are we to finish by the deadline?', 'which date can we commit to?'), which tells an agent when this simulation is the right choice. It gives no explicit exclusions or pointer to a sibling (e.g., deterministic critical-path analysis), so it stops short of a 5.

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