Skip to main content
Glama

Argocd Get Repository Refs

argocd_get_repository_refs
Read-onlyIdempotent

Retrieve a Git repository's branches and tags, paged separately with total counts for each list.

Instructions

Get a repository's branches and tags, each paged separately with its own counts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesRepository URL
limitNoMax branches/tags per list (1-500)
offsetNoResult offset for paging
app_projectNoProject scope
force_refreshNoBypass the cache

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds one genuine behavioral fact — branches and tags are paged independently with separate counts — but says nothing about caching (force_refresh) or auth/permission needs.

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?

One sentence, front-loaded with the verb and resource, and every clause (branches, tags, separate paging, separate counts) carries information. No filler.

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?

An output schema exists, so return values need not be described, and the annotations plus full schema coverage handle most of the burden. The remaining gap is routing guidance against sibling repository tools, which the description leaves implicit.

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 five parameters are documented in the schema and the baseline is 3. The description's paging remark loosely hints at limit/offset semantics but adds no format or syntax detail beyond the schema.

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 ('Get a repository's branches and tags'), which clearly separates it from argocd_list_repositories and argocd_list_repository_apps. It does not explicitly name a sibling or contrast itself, so it stops 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 Guidelines2/5

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

No guidance on when to call this versus alternatives such as argocd_list_repositories or argocd_list_repository_apps, and no prerequisites (e.g. repo must be configured in Argo CD). Usage must be inferred from the name alone.

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