Skip to main content
Glama

Get task time history

get_task_time_history
Read-onlyIdempotent

Get a task's time-tracking history: each start, pause, resume, stop, and manual change, who made it, and how long each stretch lasted.

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": {
      "taskId": "<taskId>"
    },
    "name": "get_task_time_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMost recent entries (default 25)
taskIdYesTask ID (from list_tasks)

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the payload semantics — the event types, who made each change, and per-stretch durations. It does not address ordering (chronological vs. reverse), history retention, or whether entries beyond the limit are truncated, which are minor remaining gaps.

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?

A single front-loaded sentence that identifies the resource, then lists the returned event kinds and fields. No filler, no repetition of the title, and the most decision-relevant information leads.

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 simple two-parameter read-only tool with full annotation coverage and a complete input schema, the description covers what the tool returns well enough to call it correctly. It could be slightly more complete by noting result ordering or whether the limit truncates history, but no output schema exists and the essential payload shape is conveyed.

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%: taskId is documented as coming from list_tasks and limit is documented with a 1–100 range and default of 25. The description adds no parameter-level detail, so the schema carries the full burden and the baseline of 3 applies.

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 names a specific verb and resource ('Get a task's time-tracking history') and enumerates the event types returned (start, pause, resume, stop, manual change), which makes the read-only audit-trail nature evident versus timer-control tools. It stops short of explicitly naming a sibling like control_task_timer or adjust_task_time, so the differentiation is implied 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 Guidelines3/5

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

Usage is implied by the word 'history' and the enumeration of past events, so an agent can infer this is for reviewing past time entries rather than changing them. There is no explicit when-to-use, when-not-to-use, or named alternative, so the guidance is only implicit.

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