Skip to main content
Glama

record_task_completion

Record actual task duration to improve future time estimates through self-calibration. Call it after each task so the estimator learns from real completion data.

Instructions

Record the actual time taken to complete a task. This data improves future estimates via self-calibration. Call this after every task to make the estimator smarter over time.

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>",
      "actual_duration": "<actual_duration>"
    },
    "name": "record_task_completion"
  }
}

Input Schema

NameRequiredDescriptionDefault
metadataNoOptional additional context, e.g. {"model": "claude-3-5", "input_tokens": 4200}.
task_typeYesSame task type label used in estimate_task_duration, e.g. 'web_scraping'.
complexityNoComplexity level of the task.medium
duration_unitNoUnit of actual_duration.minutes
actual_durationYesActual time taken (must be positive).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose the meaningful downstream effect — the recorded data feeds self-calibration of future estimates — which is real value beyond a bare 'record' statement. However, it says nothing about whether records are additive or overwrite prior entries, whether task_type values must match an existing estimate, or what a caller gets back on success or failure.

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?

Three short sentences, front-loaded with the action and followed by the payoff and the call trigger. Every sentence contributes: what it does, why it matters, when to invoke it. No filler or restatement of the tool name.

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?

For a five-parameter mutation tool with no annotations and no output schema, the description covers the action, the rationale, and the invocation trigger, while the schema fully documents parameters. The remaining gap is the absence of any note on duplicate handling or return behavior, which an agent would otherwise have to discover by calling it.

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 every parameter including required/optional status, enums, defaults, and the positive-duration constraint is already documented in the schema. The description adds no format, unit, or cross-parameter guidance beyond what is structured. Baseline 3 is correct when the schema does the heavy lifting.

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?

The description opens with a specific verb-plus-resource: 'Record the actual time taken to complete a task.' That is unambiguous about what the tool does. It does not explicitly name its counterpart estimate_task_duration as a sibling it differs from, though the schema's task_type label hints at the pairing, so sibling differentiation is left implicit rather than stated.

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?

'Call this after every task to make the estimator smarter over time' gives a clear usage trigger and stated rationale. What is missing is any when-not guidance — e.g. whether to call it when a task is abandoned or when timing is estimated rather than measured — but the intended context is clear.

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