Skip to main content
Glama

harbor_list_repositories

Read-onlyIdempotent

Lists repositories in a Harbor project and optionally filters by name query, helping you find and page through container image repositories.

Instructions

List the repositories of a project, optionally only those whose name contains query.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project": "<project>"
    },
    "name": "harbor_list_repositories"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNopage number, starting at 1 (default 1)
queryNoonly repositories whose name contains this
projectYesproject name
pageSizeNoitems per page (default 25, at most 100)

Output Schema

NameRequiredDescriptionDefault
pageYes
itemsYes
totalYesnumber of matching items across all pages
pageSizeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/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 elsewhere. The description adds nothing beyond that — no ordering of results, no note on how pagination interacts with query filtering, no indication of what happens when the project does not exist. With annotations carrying the behavioral load, this is adequate but thin.

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?

One compact sentence with the scope constraint front-loaded and no filler. It is well formed, though it spends its only clause restating schema-documented filtering rather than adding new information.

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?

The tool is a simple paginated list, an output schema exists so return values need no explanation, and all four parameters are documented in the schema. The description is therefore sufficient to call the tool correctly, missing only niceties like result ordering or behavior for unknown projects.

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 page, pageSize, project and query are all already documented in the schema, including the 100-item cap and defaults. The description's restatement of query as a substring match on name adds no meaning beyond what the schema says. 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 ('List the repositories') and scopes it to a project, which separates it from siblings like harbor_list_projects and harbor_list_artifacts. It stops short of naming any sibling explicitly, so an agent must infer the boundary from the resource noun 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?

The phrase 'of a project' implies the required context, and 'optionally only those whose name contains query' hints at the filtering case. There is no explicit when-to-use versus when-not guidance, no mention of alternatives such as harbor_list_artifacts for drilling into a single repository, and no stated prerequisites.

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