Skip to main content
Glama

tm_list_history

Retrieve past run histories with filters like verdict, profile, or date range. Ideal for CI-failure triage to quickly find failing runs across profiles.

Instructions

List past runs with optional filters. The killer use case for CI-failure triage:

tm_list_history(auto_verdict="FAIL", size=10)

returns the 10 most recent failing runs across all profiles.

Filters are AND-combined:

  • profile_id: narrow to one profile.

  • triggered_by: api / ui / scheduled.

  • region: region code (e.g. us-east-1).

  • auto_verdict: PASS / WARN / FAIL / NO_BASELINE.

  • tag: arbitrary user tag.

  • from_ / to: ISO-8601 timestamps bounding startedAt. from_ is named with a trailing underscore because from is a Python keyword.

  • page / size: zero-based pagination, size capped at 100 by the server.

Returns the standard pagination envelope: {content: [...summaries...], page, size, totalElements, totalPages}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profile_idNo
triggered_byNo
regionNo
auto_verdictNo
tagNo
from_No
toNo
pageNo
sizeNo
Behavior3/5

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

No annotations are provided, so the description carries full burden. It explains the tool behavior: listing runs with filters, pagination with size cap at 100, and returns a paginated envelope. However, it does not disclose sorting order, behavior on empty results, or potential side effects (though likely none).

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?

The description is concise (around 15 lines) and well-structured with a header, example, and bullet-pointed filter list. Every sentence adds value without redundancy. Front-loaded with purpose and key use case.

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?

Given 9 parameters and no output schema, the description provides the return format (pagination envelope) and covers all filters. It lacks detail on the contents of each run summary, but overall it is sufficiently complete for an agent to use the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It adds detailed explanations for all 9 parameters, including allowed values for triggered_by, auto_verdict, format for timestamps, the reason for 'from_' underscore, and pagination defaults and cap. This is comprehensive 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?

The description clearly states 'List past runs with optional filters' and provides a specific use case (CI-failure triage) with an example. It distinguishes from sibling tools like tm_get_run (single run) and tm_compare_runs (comparison) by focusing on listing with filters.

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 gives a concrete use case and explains that filters are AND-combined, but does not explicitly state when not to use this tool or mention alternative tools. The example implicitly guides usage, but lacks explicit exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/trafficmorph-gif/tm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server