Skip to main content
Glama

Get GitHub Actions analytics

depot_gha_get_analytics
Read-only

Get time-bucketed GitHub Actions analytics for Depot runners: job counts (successful/failed/cancelled), failure rate, elapsed and billable seconds, average duration — as totals plus hourly or daily buckets. Defaults to the last 30 days (max 90). Depot: GithubActionsService/GetGithubActionsAnalytics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobsNoJob display names to include.
end_atNoWindow end, RFC 3339 (e.g. 2026-09-18T00:00:00Z).
start_atNoWindow start, RFC 3339 (e.g. 2026-09-17T00:00:00Z).
workflowsNoWorkflow names to include.
repositoriesNoConnected repositories in owner/name format, e.g. ["acme/widgets"]. Empty = all.
runner_labelsNoRunner labels to include, e.g. depot-ubuntu-24.04-8.
workflow_pathsNoWorkflow file paths to include, e.g. .github/workflows/ci.yml.
aggregation_unitNoBucket size. Default: day.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description still adds real behavioral context beyond the annotations: the default 30-day window, the 90-day maximum, and the fact that results come as totals plus hourly/daily buckets. It omits pagination or result-size limits, keeping it below a 5.

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?

Two sentences, front-loaded with the verb and the metric list, with the window default and cap following. The trailing internal identifier 'Depot: GithubActionsService/GetGithubActionsAnalytics' adds little for an agent selecting a tool, minor clutter that keeps it from a 5.

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 an 8-parameter, zero-required read tool with no output schema, the description does meaningful work: it enumerates the returned metrics and the bucket granularity, and states the default and maximum windows. It is nearly complete, missing only guidance on result limits or filtering semantics.

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 all eight parameters are already documented in the schema. The description only echoes the bucketing option ('hourly or daily buckets') and the date window default, adding marginal meaning beyond the structured fields; baseline 3 applies.

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 description names a specific verb and resource ('Get time-bucketed GitHub Actions analytics') and enumerates the exact metrics returned (job counts, failure rate, elapsed/billable seconds, average duration), so the agent knows what it produces. It does not explicitly differentiate itself from analytics-adjacent siblings like depot_get_usage, so it stops short of a 5.

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

Usage Guidelines3/5

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

The default window (last 30 days, max 90) tells the agent how the tool behaves if it omits parameters, which implies a typical usage context. However, there is no explicit when-to-use statement and no routing to alternatives such as depot_gha_list_jobs or depot_gha_search_logs, so usage is only implied.

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.