Skip to main content
Glama

get_critical_path

Calculate the critical path of a project on the Ganty side and return it as data (don't ask the model to reason over raw task lists). Uses forward/backward CPM with progress-aware remaining duration. Returns critical_path tasks in order, per-task earliest/latest start/finish + slack, project_end_date, and total_duration_days. v1 limitations: Finish-to-Start dependencies only (Ganty has no other types), calendar days by default (business_days=true skips Sat/Sun but no holiday table), ignores multi-period segments, no resource calendars. Returns { error: 'cyclic_dependency', cycle } if a cycle is detected.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
as_of_dateNoYYYY-MM-DD. Start point for projecting remaining work. Defaults to today.
project_idYesProject ID (UUID)
business_daysNoIf true, skip Saturday and Sunday in duration calculations. National holidays are still treated as working days (v1 has no holiday table). Defaults to false.

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries full burden, and it delivers: it discloses the CPM method, progress-aware duration, return fields, and detailed limitations (only FS dependencies, business days behavior, no holiday table, ignores segments, no resource calendars). It also documents the cyclic_dependency error case. This is comprehensive behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured: purpose, method, return values, limitations, and error handling each get a sentence. No wasted words; every sentence adds essential information. Despite being longer than average, it earns its length through density of useful content.

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?

The tool has no output schema and no annotations, so the description must cover return values and edge cases. It does this thoroughly: lists returned fields, explains defaults and limitations, and describes the error response. For a computational tool with 3 params, this is fully complete.

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 the baseline is 3. The description mentions business_days behavior and as_of_date, but these duplicate the schema descriptions. It adds no new parameter-level semantics beyond what the schema already provides, so the baseline holds.

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 clearly states the tool calculates the critical path of a project and returns it as data. It uses a specific verb ('calculate') and resource ('critical path of a project'), and distinguishes itself from sibling CRUD/list tools by emphasizing it's an analysis tool that shouldn't be replaced by manual reasoning over task lists.

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?

The description provides clear usage context: use this to get critical path data instead of reasoning over raw task lists. It does not explicitly name alternatives or state exclusions, but the purpose and limitations make when to use it obvious. The absence of an explicit 'when-not-to-use' prevents 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.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool targets a distinct resource-action pair, such as create_task vs update_task vs set_task_progress. Even the two task-modifying tools have clearly separated concerns: one updates arbitrary fields, the other specifically updates progress with auto-derived status.

Naming Consistency5/5

All tool names follow the verb_noun snake_case pattern (create_, list_, delete_, get_, add_, set_, update_). The only compound verb, reschedule_and_propagate, still fits the pattern and reads predictably.

Tool Count5/5

15 tools is within the well-scoped 3-15 range, and each tool covers a meaningful operation for a project management domain. No redundant or trivial tools are present.

Completeness3/5

Tasks have full CRUD plus progress and dependency management, but milestones lack update/delete operations, and dependencies only support addition (no removal). These are notable gaps that may require workarounds in some workflows.