Skip to main content
Glama

Deadline Planner

deadline_planner
Read-onlyIdempotent

Plan a task schedule backward from a hard deadline in business days. PREMIUM (license).

Given ordered tasks with business-day durations, returns each task's start/end dates, the latest safe start, and slack from today. Typical input {"due_date": "2026-06-01", "tasks": [{"name": "Draft", "days": 3}, {"name": "Review", "days": 2}]} returns {"schedule": [...], "latest_safe_start": "YYYY-MM-DD", "slack_business_days_from_today": N, "verdict": "..."}.

Use when the end date is fixed and steps must be placed backward from it. Not for forward counting from a start date (business_days) and not for response-time targets (sla_due). Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "due_date must be YYYY-MM-DD"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tasksYesOrdered list of task objects, each {"name": str, "days": int} where days is the business-day duration (1-365); the first 30 tasks are scheduled.
due_dateYesThe deadline, ISO YYYY-MM-DD.
holidaysNoOptional list of ISO YYYY-MM-DD dates treated as non-working days.
buffer_daysNoBusiness days of safety margin kept free before due_date, clamped to 0-365. Default 1.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.8/5.0
Behavior5/5

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

The description reinforces and expands on annotations: it states 'Every call is read-only and idempotent' (matching readOnlyHint and idempotentHint) and adds critical detail about error behavior—'never raises a protocol error—it returns {"error": ...}'. This plus the 'PREMIUM (license)' notice provides important context beyond annotations alone.

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?

The description is around 150 words and front-loads the core purpose, then flows through usage, example, error handling, and safety note. Every sentence serves a purpose, though minor tightening (e.g., removing the repeated 'PREMIUM' mention) could improve conciseness.

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?

Given the tool has 4 parameters (2 required), an output schema, and no nested objects, the description covers all aspects: what it does, when to use it, input format via example, output shape, error responses, and safety guarantees. It is sufficient for an agent to correctly select and invoke the tool without additional context.

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% with detailed parameter descriptions. The description adds a concrete JSON example that illustrates the structure of the 'tasks' array and the response format, which aids comprehension beyond the schema's textual descriptions. While not transformative, the example is a meaningful addition.

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 begins with a specific action and resource: 'Plan a task schedule backward from a hard deadline in business days.' It clearly distinguishes from sibling tools by explicitly stating it is not for forward counting (business_days) or response-time targets (sla_due). This leaves no ambiguity about the tool's core function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description provides explicit 'when to use' ('Use when the end date is fixed and steps must be placed backward from it') and 'when not to use' with references to specific alternative tools. This gives the agent clear decision boundaries.

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

A4.7/5.0
Disambiguation4/5

Each tool targets a distinct time-related operation: business day math, backward scheduling, timezone overlap, recurrence rules, and SLA due times. The descriptions include 'Use when ... Not for ...' sections that clearly differentiate them, though business_days and deadline_planner both involve business days and could be confused for near-simple tasks.

Naming Consistency5/5

All tool names use a consistent snake_case pattern with clear, descriptive verb+noun or noun_verb combinations (business_days, deadline_planner, meeting_overlap, recurrence_expand, sla_due). The naming is predictable and intuitive for the domain.

Tool Count5/5

Five tools is a well-scoped set for a time operations server, covering core scheduling needs without being too few or too many. Each tool addresses a distinct use case and the count is appropriate for the server's purpose.

Completeness4/5

The tool set covers major temporal operations: date arithmetic, backward planning, timezone coordination, recurrence, and SLA tracking. A minor gap is the lack of a plain calendar-day difference tool (as noted in business_days description), but the core domain is well covered and agents can work around this gap.

Resources