Skip to main content
Glama
egulatee

Codecov MCP Server

by egulatee

get_repo_coverage

Fetch overall coverage statistics for a repository, optionally for a specific branch.

Instructions

Get overall coverage statistics for a repository, optionally for a specific branch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerYesRepository owner (username or organization)
repoYesRepository name
branchNoBranch name (defaults to repository's default branch)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.4.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description must cover behavioral traits. It clearly signals a read-only operation ('Get') and notes the branch optionality. However, it does not disclose return format, what statistics are included, or any rate limits. Minimal extra context beyond obvious.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence, front-loaded with the verb 'Get', and contains no filler. 'Overall coverage statistics' adds precision without unnecessary detail.

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?

No output schema exists, so the description could be more detailed about the returned statistics. However, for a simple repo-level coverage tool, the description sufficiently captures the core function and scope. It lacks metrics details but is not misleading.

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 covers all 3 parameters with descriptions (100% coverage), so baseline 3. The description adds no additional parameter semantics; it merely repeats the optionality of the branch parameter already documented in the schema.

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?

The description uses specific verb 'Get' and resource 'repository' with explicit scope 'overall coverage statistics'. It clearly distinguishes from sibling tools like get_file_coverage and get_commit_coverage, which target different granularities.

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 implied but not explicit. The description indicates repo-level coverage and optional branch filtering, but it does not mention alternative tools or state when not to use this tool. Sibling names help, but the description itself lacks direct comparison.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.