Skip to main content
Glama

estimate_task_duration

Predict how long a task will take from historical completion records, using median timings when enough data exists and sensible defaults otherwise; confidence grows with recorded completions.

Instructions

Estimate how long a task will take based on historical records. Uses statistical median when enough data exists, falling back to sensible defaults. Confidence increases with more recorded completions.

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": {
      "task_type": "<task_type>"
    },
    "name": "estimate_task_duration"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNoOutput time unit.minutes
task_typeYesTask type label, e.g. 'web_scraping', 'pdf_summarization', 'code_review'. Used to look up historical records.
complexityNoTask complexity level. Affects baseline estimate and historical matching.medium

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose real behavioral detail beyond structured fields — median-based estimation with fallback defaults and confidence scaling with sample size — which is genuinely useful. However, it never states that the tool is side-effect-free, what the fallback defaults actually are, or what threshold counts as 'enough data'.

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?

Three short sentences, front-loaded with the core purpose, and each sentence carries distinct information (what it does, how it computes, how confidence behaves). No filler or repetition of the title.

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?

With only three fully documented parameters and no output schema, the remaining gap is the return shape; the description partially compensates by signaling that a confidence signal accompanies the estimate. Missing only the no-history/zero-data edge case, which is minor for this tool's complexity.

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 schema already documents task_type, complexity, and unit thoroughly. The description only obliquely reinforces that task_type drives the historical lookup; it adds no syntax, format, or matching detail beyond what the schema provides.

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: 'Estimate how long a task will take based on historical records.' That is clearly distinct from the sibling record_task_completion (which writes data) and get_current_time. It does not explicitly name the siblings, but the operation is unambiguous.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the agent can infer this is the tool for pre-execution estimates, but there is no explicit when-to-use/when-not guidance or instruction on how it pairs with record_task_completion (e.g., that accurate estimates depend on recording completions).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.