Skip to main content
Glama

get_execution_trends

Read-only

Aggregate deployment/platform execution history for this cluster over a time window (default 7 days): totals by status and type, failure rate, the most-failing execution names, and the most recent failures with error excerpts. Use this to answer 'has this been failing for a while', 'what keeps breaking', and to correlate an incident's start time with deploys. For a single execution's step detail use get_execution_details instead. Read-only.

Input Schema

NameRequiredDescriptionDefault
typeNoFilter to one execution type (e.g. update_stack, install_addon).
cluster_idYesAnkra cluster id (UUID) the call targets. Discover ids with list_clusters.
window_daysNoLook-back window in days (default 7).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the 'Read-only' tag is partly redundant. However, with no output schema, the description usefully discloses what the caller gets back (totals by status/type, failure rate, error excerpts), which is real context beyond the annotation. It omits any note on rate limits or freshness of the history.

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?

Front-loaded with the core action, then the return contents, then usage guidance and the sibling alternative. Two dense sentences with no filler; every clause carries information.

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

Completeness5/5

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

For a read-only aggregate with a fully described schema and no output schema, the description covers purpose, return shape, temporal scope, and alternatives. An agent has everything needed to select and invoke it correctly.

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%, so cluster_id, type, and window_days are already documented in the schema. The description only restates the default 7-day window, adding no syntax or nuance beyond the schema's own bounds (1-30). Baseline 3 applies.

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 (aggregate), resource (deployment/platform execution history), and scope (this cluster, time window), and enumerates the aggregates produced: totals by status/type, failure rate, most-failing names, recent failures. It explicitly distinguishes itself from the closest sibling, get_execution_details.

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?

It names concrete questions the tool answers ('has this been failing for a while', 'what keeps breaking') and the correlation use case, then routes the agent elsewhere for single-execution detail via 'use get_execution_details instead'. When-to-use and an alternative are both explicit.

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