Skip to main content
Glama

Read run timeline

gate_get_run_timeline
Read-onlyIdempotent

What happened during this run? Returns one run's call metadata, approvals and approver names, recovery outcomes and delegated children; use it to reconstruct that session instead of gate_read_audit's project-wide calls or gate_get_run_tree's permission state. No bodies or query values. One run only; the project-wide log is gate_read_audit.

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": {
      "project_id": "<project_id>",
      "admin_key": "<admin_key>",
      "run_id": "<run_id>"
    },
    "name": "gate_get_run_timeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
beforeNoOlder audit events (timeline pages have at most 500 events)
run_idYesThe run id
admin_keyYesThe project admin key (ga_...). Read it from the .env; never print it.
project_idYesThe project id from project creation on the setup endpoint (/mcp/setup), e.g. p1a2b3...

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"The project id from gate_create_project, e.g. p1a2b3..."New value: +"The project id from project creation on the setup endpoint (/mcp/setup), e.g. p1a2b3..."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, and the description adds real value beyond them: it discloses what is excluded from results ('No bodies or query values'), which is important for an agent trying to reconstruct a session. It doesn't discuss pagination depth in prose, but the schema's `before` parameter documents the 500-event page cap.

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?

Front-loaded with the core question and payload list, then the routing guidance; no filler sentences. Slight redundancy in mentioning gate_read_audit's project-wide scope twice, but the repetition is short and reinforces scope.

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 read-only timeline tool with no output schema, the description enumerates the returned categories and explicitly notes redactions (no bodies or query values), which is what an agent needs to decide if this answers its question. Only pagination expectations are left entirely to the schema.

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 coverage is 100% and each parameter carries its own description, including the admin key sourcing instruction and the `before` paging semantics, so the baseline is 3. The description adds only the run-scoping constraint rather than clarifying parameter behavior beyond the schema.

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?

States a specific verb-like operation (return one run's timeline) and enumerates contents: call metadata, approvals and approver names, recovery outcomes, delegated children. It also explicitly contrasts with gate_read_audit (project-wide calls) and gate_get_run_tree (permission state), so an agent can distinguish it from siblings without opening schemas.

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

Usage Guidelines5/5

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

Gives an explicit use case ('use it to reconstruct that session') and explicit exclusions with named alternatives (not gate_read_audit for project-wide calls, not gate_get_run_tree for permission state). The scope limit 'one run only' is restated for reinforcement.

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