Skip to main content
Glama

get_timeline

Idempotent

Fetch a task's combined audit and comment timeline in ascending order; use a newest-N limit or since-based forward cursor and truncate text for compact responses.

Instructions

Merged audit + comments feed, pipe seq|type|agent|at|text ascending. limit is the newest N events (default defaults.timelineLimit); since (unix ms) switches to a forward cursor: the oldest N at or after it. max_text_chars truncates each text (0 omits it).

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": {
      "id": "<id>"
    },
    "name": "get_timeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
limitNo
sinceNounix ms; when set, returns the oldest N events at or after it (forward cursor) instead of the newest N
max_text_charsNotruncate each text to N code points, marker …(+N chars); 0 omits the text column

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare safety traits (readOnlyHint=false, destructiveHint=false, idempotentHint=true), so the description carries the burden of describing output, and it does: pipe-delimited fields seq|type|agent|at|text in ascending order, plus the truncation marker format. It still omits pagination termination behavior and does not reconcile the fact that a 'get_' feed is annotated as not read-only.

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?

Purpose is front-loaded and every clause adds information: default value, cursor semantics, output ordering, truncation rule. The density is slightly cryptic — 'pipe seq|type|agent|at|text ascending' requires parsing — but nothing is redundant.

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 four parameters and no output schema, the description correctly takes on the return-shape burden by documenting field order, ordering direction, and truncation markers. The remaining gaps are the meaning of the required 'id' and what happens at the end of a cursor walk.

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 only 50%, so the description must compensate, and it does for three of four parameters: 'limit' as newest-N with a named default (defaults.timelineLimit), 'since' as a forward-cursor switch, and 'max_text_chars' with the 0-omits-text special case. The required 'id' is never explained — an agent is not told which entity's timeline it addresses.

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 opening clause 'Merged audit + comments feed' names a specific resource and its composite nature, which is far more informative than a restatement of 'get_timeline'. It stops short of distinguishing itself from a sibling such as add_comment or get_task, so an agent must infer the boundary rather than be told it.

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 description clearly frames the two operating modes: default backwards paging via 'limit' (newest N) versus forward paging via 'since' (oldest N at or after the timestamp). That is genuine context for choosing a calling pattern, though it offers no exclusions or guidance about when a different tool should be used instead.

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