Skip to main content
Glama

skycloak_update_cluster_private_link

DestructiveIdempotent

Configure a cluster’s Azure private link by setting allowed Azure subscription IDs or toggling private link access on and off.

Instructions

Set the Azure subscription IDs allowed to connect a private endpoint to one cluster, and return the new private link. azure_subscription_ids replaces the stored list: an empty list clears it and leaving it out keeps it, and at least one is needed to turn private link on. enabled turns private link on or off; when omitted the current on or off state is read first and sent back unchanged, so a change made by someone else between that read and the update can be overwritten. The API refuses with 403 when the plan has no private networking, 422 when the site has no Azure private link or an ID is not a valid GUID, and 409 when turning it off while public access is off. Removing a subscription or turning private link off cuts the connections it carried. Read the current state first with skycloak_get_cluster_private_link.

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": {
      "cluster_id": "<cluster_id>"
    },
    "name": "skycloak_update_cluster_private_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledNoturn private link on or off; omit to leave it as it is
cluster_idYesthe cluster ID
azure_subscription_idsNoAzure subscription IDs (GUIDs, at most 20) allowed to connect; replaces the stored list, an empty list clears it, omit to keep it

Output Schema

NameRequiredDescriptionDefault
aliasNo
statusYes
enabledYes
dns_nameNo
connectionsNo
azure_subscription_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.17.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the annotations by naming concrete failure codes with causes (403 plan lacks private networking, 422 no Azure link or invalid GUID, 409 disable while public access off) and by disclosing what is destroyed: removing a subscription or disabling cuts the connections it carried. It even surfaces a lost-update race on `enabled` between the internal read and the write, which no annotation conveys.

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?

Front-loaded with the action and return value, then the parameter semantics, then errors, then a closing pointer to the read tool. Every clause carries information, though the middle section is a long comma-chained run-on that makes the destructive warnings easy to skim past.

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?

Covers action, replace semantics, error taxonomy, destructive consequences, and the read-before-write prerequisite. With annotations declaring destructiveHint and idempotentHint and an output schema present, nothing an agent needs in order to invoke this correctly is missing.

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?

Schema coverage is 100%, so the schema already carries replace/clear/omit semantics for azure_subscription_ids and the omit behavior for enabled. The description still adds meaning beyond the schema with "at least one is needed to turn private link on" and the warning about the read-modify-write on omitted `enabled`.

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?

Opens with a specific verb and resource: "Set the Azure subscription IDs allowed to connect a private endpoint to one cluster, and return the new private link." That is precise enough to separate it from skycloak_get_cluster_private_link (read) and from the broader skycloak_update_cluster, without opening any schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent to the sibling read tool: "Read the current state first with skycloak_get_cluster_private_link." It also encodes the conditions under which the call is inappropriate or fails (no private networking on the plan, no Azure private link on the site, turning off while public access is off).

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

Deploy Server

Other Tools