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. 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

B3.2/5.0
Behavior3/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 that results are time-series measurements bucketed by interval and discloses the underlying REST endpoint, but says nothing about pagination behavior or response shape. Moderate added value against a low annotation bar.

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 with the core behavior front-loaded and the REST path appended as a useful anchor. No filler, though the endpoint reference is somewhat redundant with the tool's purpose.

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 read tool with no output schema, the description is minimal but the schema carries full parameter documentation. It is adequate to invoke correctly yet omits return-format and pagination expectations, leaving the agent guessing about result shape.

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 ten parameters are already documented in the schema, including the interval enum. The description's mention of 'single flag' and 'bucketed by interval' loosely maps to flag_name and interval but adds no format or defaulting detail beyond the schema. 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 and resource: 'Coverage measurements over time for a single flag, bucketed by interval.' The 'single flag' scoping implicitly distinguishes it from the repo-level sibling codecov_get_coverage_trend, but that sibling is never named, so the differentiation is inferential rather than explicit.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance, and no alternative named. An agent cannot tell from the text whether to prefer this over codecov_get_coverage_trend for repo-wide trends or codecov_get_coverage_report for point-in-time data.

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.