Skip to main content
Glama

harbor_system_info

Read-onlyIdempotent

Retrieves Harbor version, authentication mode, endpoint URLs, and the acting user or robot account with its administrator status for configuration checks and access verification.

Instructions

Harbor version, authentication mode and URLs, and the user or robot account the server acts as (with whether it is a Harbor administrator).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
userYesthe user or robot the server acts as
adminYeswhether that user is a Harbor administrator
robotYeswhether the server acts as a robot account; its permissions decide what the tools see
authModeYesdb_auth, ldap_auth, oidc_auth, http_auth or uaa_auth
externalURLYesthe URL Harbor is reached at
registryURLNothe registry host images are pushed to and pulled from
harborVersionYesHarbor version, for example v2.15.4

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?

The readOnlyHint, idempotentHint and openWorldHint annotations already cover the safety profile, so the description's remaining job is to add context. It does add one genuinely useful behavioral fact — that the response reveals the effective identity and whether it is an administrator, useful for permission gating — but the rest is a re-listing of return fields that the output schema already documents.

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 sentence, no filler, and the most distinctive content (version/auth mode/identity) is front-loaded. The only weakness is that it is a bare noun phrase rather than an action statement, which slightly reduces scannability.

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?

With no parameters, a full output schema and safety annotations, the description covers what the agent still needs to know: that this is a server-level rather than project-level read and that identity/permission information is included. Only the when-to-use guidance is missing, which is a minor gap for a zero-argument info tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, which is the baseline-4 case; there is nothing for the description to disambiguate. The schema's additionalProperties=false also confirms no free-form input is accepted, consistent with the description's silence on arguments.

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?

The description names the concrete contents of the response: Harbor version, authentication mode, URLs, and the acting user/robot account plus its administrator flag. That is enough to distinguish it from the harbor_get_* resource tools, though it is phrased as a noun fragment with no explicit verb such as 'Return' and never names the alternative it is not.

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: an agent can infer this is the tool for 'what server am I on and who am I', but the description never states when to call it, whether it needs credentials first, or why one would choose it over the specific resource listings. No exclusions or prerequisites are given.

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