Skip to main content
Glama

get_schedule_risk

Read-onlyIdempotent

Read the Monte Carlo schedule risk runs of a project. Returns the newest run (status QUEUED, RUNNING, DONE or FAILED) and, when that run is not finished, the newest finished run. A finished run carries a summary: the P50, P80 and P90 finish dates, the plan date (the latest stored task finish, as the Gantt shows it) and its chance of being met, the finish as the links schedule it, the target date and its chance when one was set, and how many risk events were sampled. includeResult=true adds the whole stored result of the finished run (finish histogram and curve, milestone dates, task criticality and duration sensitivity). runId reads one run by id instead. Read-only; runs are started from the project Risks tab or the REST API.

Input Schema

NameRequiredDescriptionDefault
runIdNoOptional. One run of this project by id, in place of the newest.
projectIdYes
includeResultNoDefault false. Adds the whole stored result of the finished run.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/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 goes well beyond that with genuinely new behavior: it discloses the run statuses (QUEUED/RUNNING/DONE/FAILED), the fallback rule that the newest finished run is also returned while a run is unfinished, the exact contents of the summary, and what includeResult expands into. It also preempts a likely misuse by noting runs are started elsewhere.

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?

Purpose and the newest-run behavior are front-loaded, and the dense middle covers return shape efficiently in one sentence each. It is a long description, but nearly every clause carries information an agent needs; only the parenthetical explanation of the plan date is mildly expendable.

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?

With no output schema, the description carries the full burden of describing return values, and it does so thoroughly: statuses, the dual-run fallback, every summary field, and the includeResult payload. Combined with annotations covering safety, an agent has everything needed to call and interpret this tool.

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 67% (runId and includeResult documented, projectId bare). The description enriches the schema rather than repeating it: includeResult is expanded from 'Adds the whole stored result' into a concrete list (finish histogram and curve, milestone dates, task criticality, duration sensitivity), and runId's replace-the-newest semantics are restated as a behavioral rule.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Read the Monte Carlo schedule risk runs of a project,' and enumerates what comes back (P50/P80/P90, plan date chance, target date chance, sampled events). This is far more precise than a generic get, but it never names or contrasts a sibling tool such as analyze_project_risks or schedule_health_check, so an agent must infer differentiation from the resource alone.

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?

Clear context for use: it reads stored runs, and the closing sentence 'runs are started from the project Risks tab or the REST API' implicitly tells the agent this tool cannot start a run. It also explains the runId switch ('reads one run by id instead'). However, no explicit when-not condition or named alternative tool is given for cases where the agent wants a new run or a different risk view.

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.