Skip to main content
Glama

harbor_list_projects

Read-onlyIdempotent

List Harbor projects visible to the current user, optionally filtering by name and paginating results.

Instructions

List Harbor projects the server's user can see, optionally only those whose name contains query.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "harbor_list_projects"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNopage number, starting at 1 (default 1)
queryNoonly projects whose name contains this
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.6/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 useful behavioral fact beyond them: results are limited to what the server's user can see. It says nothing about pagination defaults or ordering beyond what the rich schema and output schema already convey.

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?

A single well-formed sentence with the resource and visibility scope front-loaded and the optional filter folded in as a qualifier. No filler or redundancy.

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?

Complete for a simple paginated list tool: safety is covered by annotations, all three parameters by the schema, and return values by the output schema. Only minor nuance about result ordering or total-count behavior is absent.

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% with clear per-property descriptions for page, pageSize, and query, so the schema carries the parameter semantics. The description restates the query filter's meaning but adds no format or edge-case detail beyond it, 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 Harbor projects') plus the visibility scope ('the server's user can see') and the optional name filter. This cleanly distinguishes it from harbor_get_project, though it does not name that sibling explicitly.

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?

Implies when to use it via the listing-and-filter framing and notes the results are permission-scoped to the server's user. It offers no explicit when-not guidance or reference to a sibling such as harbor_get_project for single-project retrieval, so the agent must infer the alternative.

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