Skip to main content
Glama

Depot MCP by usefulapi

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. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered. The description adds genuinely new behavioral context beyond the schema: the default lookback of 30 days and the 90-day maximum range constraint, which an agent would otherwise not know.

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?

A single dense sentence that front-loads the scope ('time-bucketed ... analytics') before the metric list, default window and backend reference. Every clause carries information, though the trailing service/method identifier is low-value to an agent.

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?

With no output schema, the description compensates by summarizing the return shape: totals plus hourly or daily buckets across named metrics. No authentication or permissions context is given, but for a read-only analytics call the picture is largely complete for correct invocation.

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% with per-parameter descriptions, so the baseline is 3. The description restates the bucket granularity and date defaults but adds no filter-combination semantics or format details beyond what the schema already documents.

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 and resource ('Get time-bucketed GitHub Actions analytics for Depot runners') and enumerates the exact metrics returned (job counts by outcome, failure rate, elapsed/billable seconds, average duration). This clearly separates it from siblings like depot_gha_list_jobs or depot_gha_search_logs, which retrieve records rather than aggregates.

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 what happens when no time filter is supplied, which is useful context. However, it never says when to prefer this aggregate tool over record-level siblings such as depot_gha_list_jobs or depot_ci_list_runs, so the routing decision is left to inference.

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.