Skip to main content
Glama

harbor_list_robots

Read-onlyIdempotent

Retrieve robot accounts with their permissions and expiry, optionally filtered by project or name, to audit registry access without exposing secrets.

Instructions

List robot accounts with their permissions and expiry, optionally only those with access to project or whose name contains query. Harbor lists project robots per project, so without project this makes one Harbor request per project. Secrets are never shown.

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_robots"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNopage number, starting at 1 (default 1)
queryNoonly robots whose name contains this
projectNoonly robots with permissions in this project
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

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, open-world), yet the description still adds real value: the N+1 fan-out cost when 'project' is omitted and the fact that secrets are never shown. The one gap is that it does not say how page/pageSize interact with the per-project fan-out (whether pagination is global or per project), which matters for a caller paginating across many projects.

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?

Three short sentences, front-loaded with the resource and return fields, followed by the cost caveat and the security note. Zero filler; every clause carries information an agent needs.

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 explained, and the description covers filters, cost, and secret visibility. The only missing piece for a paginated, fan-out tool is how pagination behaves when no project filter is given.

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 coverage is 100%, so the baseline is 3. The description restates the semantics of 'query' (name substring) and 'project' (permissions in that project) without adding format or default details beyond what the schema already documents, and says nothing about page/pageSize.

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 names a specific verb and resource ('List robot accounts') and states what is returned ('with their permissions and expiry'). No sibling tool lists robots, so there is no ambiguity to resolve, and the optional filters are described in the same breath.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It explains clearly when to supply the optional filters ('optionally only those with access to project or whose name contains query') and gives the key operational context that omitting 'project' causes one Harbor request per project. It stops short of naming alternative tools, but no sibling covers the same resource, so selection guidance is effectively complete.

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