Skip to main content
Glama
mshegolev

harbor-registry-mcp

harbor_storage_report

Read-onlyIdempotent

Analyze storage usage per project in Harbor. Iterates all repositories and artifacts to produce a sorted-by-size report, identifying what consumes quota.

Instructions

Full storage breakdown for a Harbor project.

Iterates every repository × every artifact and returns a sorted-by-size report — the canonical view for "what's eating up our quota?". Performs O(repos × artifacts) API calls; emits progress events through MCP Context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_nameYesHarbor project name.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYes
total_repositoriesYes
total_sizeYes
total_size_bytesYes
repositoriesYes
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds that it performs O(repos×artifacts) API calls and emits progress events, providing behavioral context beyond annotations. No contradiction.

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 concise sentences: first states purpose, second explains method and performance, third mentions progress events. No filler words; every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the annotations (readOnly, idempotent) and output schema existence, the description covers purpose, method, computational cost, and event output. No obvious gaps for a reporting tool.

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% with a single parameter (project_name) described as 'Harbor project name.' The description adds no additional parameter detail beyond what the schema provides, so baseline 3 is appropriate.

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 clearly states 'Full storage breakdown for a Harbor project' and explains it iterates over repositories and artifacts. It positions itself as the canonical view for quota usage, distinguishing it from sibling tools like cleanup or deletion tools.

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?

The description implies use for diagnosing quota usage ('what's eating up our quota?') and notes the computational cost (O(repos×artifacts) calls), but does not explicitly exclude other use cases or compare to siblings beyond mentioning its unique scope.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mshegolev/harbor-registry-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server