Skip to main content
Glama

Get coverage trend

codecov_get_coverage_trend
Read-only

Coverage measurements over time for a repository, bucketed by interval. Codecov REST: GET /{service}/{owner_username}/repos/{repo_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`).
startDateNoStart of the range, yyyy-mm-dd (maps to `start_date`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already declares this as a safe read, so the description needn't re-establish that. It adds modest context by naming the underlying REST resource and the interval-bucketing behavior, but says nothing about pagination behavior or what a 'measurement' contains.

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 functional definition front-loaded and the REST endpoint tucked at the end as supporting detail. No padding or redundancy.

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?

With no output schema, the description is the only place the return value could be characterized, yet it never explains the shape of the trend data (timestamps plus coverage percentages). For a nine-parameter read tool this leaves a meaningful gap, though the operation itself is simple.

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 every parameter (owner, repo, branch, service, interval, startDate/endDate, page, pageSize) is already documented in the schema. The description adds no syntax, format, or default nuances beyond what the schema provides, 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 repository') plus the aggregation scope ('bucketed by interval'), so the agent knows this is a time-series coverage fetch. However, it does not distinguish itself from near-neighbors such as codecov_get_flag_coverage_trend or codecov_get_coverage_totals.

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?

There is no when-to-use framing, no prerequisites, and no mention of when another sibling (e.g. the flag-specific trend or the totals tool) would be preferable. Usage must be inferred entirely from the tool name and description.

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.