Skip to main content
Glama

Get flag coverage trend

codecov_get_flag_coverage_trend
Read-only

Coverage measurements over time for a single flag, bucketed by interval. Codecov REST: GET /{service}/{owner_username}/repos/{repo_name}/flags/{flag_name}/coverage/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for paginated results (1-based).
repoYesRepository name, e.g. 'codecov-api' (required).
ownerYesOwner username — the organization or user login on the git service, e.g. 'codecov' (required).
branchNoBranch to measure (defaults to the default branch).
endDateNoEnd of the range, yyyy-mm-dd (maps to `end_date`).
serviceNoGit service provider — one of 'github' (default), 'gitlab', 'bitbucket', 'github_enterprise', 'gitlab_enterprise' or 'bitbucket_server'.github
intervalNoAggregation interval for the trend — '1d', '7d' or '30d'.
pageSizeNoNumber of results per page (maps to `page_size`).
flag_nameYesCoverage flag name (required).
startDateNoStart of the range, yyyy-mm-dd (maps to `start_date`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

readOnlyHint=true already establishes this is a safe read, and the description adds the interval bucketing behavior plus the exact REST route. It says nothing about pagination behavior despite page/pageSize parameters, so it adds only modest context beyond the annotations.

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 tight sentences, front-loaded with the purpose before the REST path. The endpoint reference earns its place as a mapping aid, though it is arguably redundant for an agent.

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 10-parameter, no-output-schema tool, the description covers what is measured and how it is bucketed but omits pagination behavior and any sense of the returned series shape. An agent can call it correctly, but the picture is incomplete.

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 the schema already documents all ten parameters, including enums and date patterns. The description's only added semantic is that interval drives bucketing, so the 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?

States a specific verb+resource — 'coverage measurements over time for a single flag, bucketed by interval' — and pins the scope to one flag, which implicitly separates it from the repo-level codecov_get_coverage_trend. It does not name the sibling explicitly, so it falls 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?

Usage is only implied: 'for a single flag' tells the agent this is the per-flag variant, but there is no explicit when-to-use, when-not-to-use, or routing to codecov_get_coverage_trend / codecov_get_coverage_totals. Adequate but with a clear gap.

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.