Skip to main content
Glama

harbor_list_webhooks

Read-onlyIdempotent

Lists a project's webhook policies, including events and target addresses, and indicates whether an authorization header is set without revealing it. Use to review webhook notification configuration.

Instructions

List the webhook policies of a project: events and target addresses. Authorization headers are never shown, only whether one is set.

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

Input Schema

NameRequiredDescriptionDefault
pageNopage number, starting at 1 (default 1)
projectYesproject name
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.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, openWorld), and the description adds a genuinely non-obvious behavioral fact: authorization headers are redacted and only their presence is exposed. That is real disclosure beyond structured fields, though it says nothing about ordering or result volume.

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 short sentences with zero filler; the scope statement comes first and the security caveat second. Every clause carries information an agent would not get from the schema alone.

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 pagination is covered by the schema. The description covers purpose and data redaction; the only minor gap is any note on permissions or ordering expectations for a project-scoped listing.

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%, so project, page, and pageSize are fully documented in the schema with defaults and caps. The description adds no additional parameter meaning, so the baseline of 3 applies.

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?

Specific verb+resource: 'List the webhook policies of a project', and it names the concrete contents (events, target addresses). The resource is uniquely identifiable against siblings like harbor_list_robots or harbor_list_members, though it doesn't explicitly contrast with them.

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 implied by the project scoping and the read-only listing intent; there is no explicit statement of when to use this instead of another tool or when not to. It does implicitly require a project to be known first, but no prerequisites are spelled out.

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