Skip to main content
Glama

harbor_get_skill

Read-onlyIdempotent

Reads a Harbor agent skill to retrieve its SKILL.md, file list, digest, version, and signature status, or a specified text file, for inspection with pull permission.

Instructions

Read one agent skill from Harbor: its SKILL.md, the list of its files, digest, version and whether it is signed. Pass path to read one other text file of the skill. Needs pull permission on the project.

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>",
      "repository": "<repository>"
    },
    "name": "harbor_get_skill"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoa file of the skill to return instead of SKILL.md, as listed in files
projectYesproject name
referenceNotag or digest (sha256:...); default the newest version
repositoryYesthe skill's repository, with or without the project prefix

Output Schema

NameRequiredDescriptionDefault
nameYes
pathYesthe file in content: SKILL.md unless path was given
filesYes
digestYes
noticeYes
signedYeswhether a cosign signature is attached; Harbor verifies it only when the project enforces cosign
sourceYesproject/repository@digest the skill was read from
contentYes
versionNo
truncatedNowhether content was cut at 64 KiB

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior4/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 genuinely useful context beyond them: the pull-permission requirement on the project and the default-to-newest-version resolution behavior for reference.

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?

Two compact sentences, front-loaded with what is returned and followed by the one non-default parameter behavior and the permission prerequisite. No filler.

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 needn't be fully described, yet the description still summarizes them. Combined with the permission prerequisite and default-reference behavior, it is nearly complete; only failure modes and confirmation that path must be a text file are unstated.

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%, and the description largely restates what the schema already documents (path returns a file instead of SKILL.md; no reference means newest version). It adds little semantic detail on repository prefix handling or acceptable path values.

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 gives a specific verb and resource ('Read one agent skill from Harbor') and enumerates the payload: SKILL.md, file list, digest, version, signature status. The singular read is clearly distinguished from listing siblings such as harbor_list_skills.

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?

It states the prerequisite ('Needs pull permission on the project') and explains the path parameter for fetching an alternate text file, which implies when to use it. However, it never explicitly says when to prefer this over harbor_list_skills or what happens when the skill doesn't exist.

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