Skip to main content
Glama

Get Execution History

get-execution-history
Read-onlyIdempotent

Fetch SmartTest execution history for a testId (top 5 recent runs), an optional platform-rooted folder/file scope, or a scenario when scenarioId is set. Prefer testId when you have it from fetch-execution-report. Typically omit environment to avoid env scoping. Use branchName and scope.filePaths as for coverage. Optional platform (web|ios|android) and dimensionFilters narrow results. Set aggregate=true for suite timing stats (testCount, timedTestCount, sumSuccessMeanSecs, slowTestCount) instead of per-test history.

Input Schema

NameRequiredDescriptionDefault
botIdNoQA bots: your botId from your stored TestChimp binding.
limitNo
scopeNo
offsetNo
testIdNo
releaseNo
branchIdNo
platformNo
aggregateNo
branchNameNo
scenarioIdNo
timeWindowNo
environmentNo
projectApiKeyNoQA bots: your own project API key from your stored TestChimp binding. Required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Never print it.
dimensionFiltersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / aggregate
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / branchId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "number"
      +    }
      +  ]
      +}
    • addedInput schema / properties / timeWindow
      Added value: +{
      +  "properties": {
      +    "fixedWindow": {
      +      "properties": {
      +        "endTime": {
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "startTime": {
      +          "minLength": 1,
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "startTime",
      +        "endTime"
      +      ],
      +      "type": "object"
      +    },
      +    "relativeWindow": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / botId
      Added value: +{
      +  "description": "QA bots: your botId from your stored TestChimp binding.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / projectApiKey
      Added value: +{
      +  "description": "QA bots: your own project API key from your stored TestChimp binding. Required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Never print it.",
      +  "maxLength": 256,
      +  "minLength": 8,
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly/idempotent/non-destructive), and the description adds behavior beyond them: default returns top 5 recent runs, aggregate mode returns named stat fields (testCount, sumSuccessMeanSecs, slowTestCount), and a warning about env scoping distorting results. Missing any note on pagination interplay between limit/offset and the 'top 5' default.

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?

Dense but well ordered — addressing mode first, selection preference second, narrowing filters third, aggregate mode last. Every clause carries information; the one weakness is that it is a single run-on paragraph whose conditional clauses ('or a scenario when scenarioId is set') require careful parsing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 15-parameter, no-output-schema, nested-object tool, the description covers the main selection axes but leaves pagination (limit/offset), the timeWindow structure, and the release/branchId relationship unexplained. An agent could call it correctly for the common case but would likely guess wrong on time-windowed or paginated queries.

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 only 13% across 15 params, so the description carries a heavy burden and does partially meet it: it explains testId, scenarioId, scope.filePaths/folderPath, platform, dimensionFilters, aggregate, branchName and environment. But limit, offset, timeWindow (fixed vs relative), release, branchId, botId and projectApiKey are left entirely to the bare schema, including the ambiguous relativeWindow string.

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?

Opens with a specific verb+resource ('Fetch SmartTest execution history') and enumerates the three addressing modes (testId, folder/file scope, scenarioId). It references fetch-execution-report as the source of testId, which implicitly distinguishes it from that sibling, though it never states explicitly how the two differ in output.

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?

Gives concrete routing advice: 'Prefer testId when you have it from fetch-execution-report', 'Typically omit environment to avoid env scoping', and 'Set aggregate=true for suite timing stats instead of per-test history'. That is real when-to-use guidance with a default choice, though it stops short of stating what to use when no testId/scenarioId/scope is available.

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.