Skip to main content
Glama

List branches

codecov_list_branches
Read-only

List a repository's branches, optionally filtered by author and ordering. Codecov REST: GET /{service}/{owner_username}/repos/{repo_name}/branches/.

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).
authorNoFilter branches by author username.
serviceNoGit service provider — one of 'github' (default), 'gitlab', 'bitbucket', 'github_enterprise', 'gitlab_enterprise' or 'bitbucket_server'.github
orderingNoOrdering field, e.g. 'updatestamp' or '-updatestamp'.
pageSizeNoNumber of results per page (maps to `page_size`).

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, so the bar is lower. The description adds the underlying REST verb/path (GET), which is consistent with the annotation, but it says nothing about pagination behavior or the shape of the returned list, which the agent will encounter given the page/pageSize params.

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 short sentences, front-loaded with the action and scope. The REST path line is arguably scaffolding rather than essential description, but it is compact and non-redundant, so nothing wastes meaningful space.

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 7 parameters and no output schema, the description should at least signal what comes back (list shape, pagination via page/pageSize). It covers the input filters but leaves the return contract entirely unspecified, which is a real gap for a list endpoint.

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 every parameter including the service enum and ordering examples. The description restates author and ordering filtering without adding format, defaults, or semantics beyond the schema, making the baseline 3 appropriate.

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?

Names a specific verb and resource ('List a repository's branches') and notes the optional author/ordering filters, so the operation is unambiguous. It never distinguishes itself from the sibling codecov_get_branch (singular), so an agent must infer list-vs-single from the name alone.

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: filtering by author and ordering hints at when the tool is useful, but there is no explicit when-to-use, when-not-to-use, or pointer to the alternative codecov_get_branch. An agent gets no routing guidance beyond the obvious list semantics.

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.