Skip to main content
Glama

WritersLogic agent-infra

deadline-feasibility

Can this plan of steps finish inside the remaining time, in the expected case and the worst case? — Takes steps with expected and worst-case durations, dependencies (steps with no dependency between them run in parallel), retries with backoff, and the time remaining, and computes the critical path for both cases. Verdict guaranteed (worst case fits: pass), likely (only the expected case fits: unknown) or infeasible (even the expected case does not fit: fail), with the slack and the critical-path

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "steps": "<steps>",
      "remainingMs": "<remainingMs>"
    },
    "name": "deadline-feasibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYes
overheadMsNoFixed time to reserve for settlement, serialization, etc.
remainingMsYesTime left to the hard deadline, measured by the caller.

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?

With no annotations, the description carries the full burden and does substantial work: it explains that dependency-free steps run in parallel, that retries are all executed in the worst case, and that backoff waits are counted. It never explicitly states this is a pure, side-effect-free computation with no external calls, which is the main remaining gap.

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?

Front-loads the question, then the mechanics, then the return values — a natural decision-first ordering. Despite the density every clause carries information; nothing is repeated from the schema verbatim without adding interpretation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description correctly fills that gap by enumerating the three verdicts (pass/unknown/fail) and the returned slack and critical path. Minor omissions remain: it does not say what happens when worstMs is less than expectedMs or otherwise invalid input, nor that durations are in milliseconds.

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%, and the description compensates by explaining how the fields interact — expected vs. worst-case durations per step, dependencies meaning parallel execution, retries with backoff inflating the worst case, and the remaining time as the budget. The optional overheadMs is not mentioned, which is the one uncovered parameter.

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 the exact question the tool answers ("Can this plan of steps finish inside the remaining time, in the expected case and the worst case?") and then names the specific inputs and computation (critical path in both cases). An agent can distinguish this from a generic deadline helper without opening the schema.

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 framing question makes the intended use case unambiguous: feasibility checking of a step plan against a hard deadline. There are no explicit exclusions or named alternatives, so it stops short of the top score, but no inference is needed to know when to reach for it.

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