Skip to main content
Glama

propose_cluster_access_policy

Propose a change to the organisation cluster access policy (the twin of ankra org access-policy set). This never changes the policy: no token may. It records a proposal and returns its apply_url; an organisation owner or admin must open that link while signed in to the Ankra web app and apply it. Give the user the link and say so. Omitted fields keep their current value; elevated_max_ttl_seconds and require_reason_from_role may be null to clear the bound. A new proposal replaces a pending one; proposals expire after 7 days, and applying fails if the policy changed in the meantime. reason is required. Requires kube_access.manage.

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy the policy should change. The owner or admin who applies the proposal reads it.
max_grant_roleNoHighest role any cluster access grant in the organisation may carry.
creator_grant_roleNoRole the user who creates or imports a cluster receives on it; none seeds no grant. Must not exceed max_grant_role, and must be view or none while elevated_max_ttl_seconds is set.
elevated_max_ttl_secondsNoLongest a grant above view may last, in seconds (60 to 31536000); null removes the bound.
require_reason_from_roleNoLowest role whose grants must carry a reason: view, edit, admin or cluster-admin; null removes the bound.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare the generic non-read/non-destructive profile, so the description carries the real weight: it discloses that no token can apply policy, that it records a proposal and returns an apply_url, that an owner/admin must apply it in the web app, that omitted fields are preserved, that null clears bounds, that a new proposal replaces a pending one, that proposals expire after 7 days, and that apply fails on concurrent change. This is exceptional behavioral context beyond the annotations.

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?

Dense but front-loaded: the core 'this never changes the policy' constraint and the apply_url workflow come first, followed by field/null semantics, then lifecycle/expiry behavior, then the permission. Given the complexity, every sentence earns its place with no filler.

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?

For a complex approval-workflow tool with no output schema, the description covers the return value (apply_url), the caller obligation (hand the link to the user), authentication/permission requirements (kube_access.manage), field-omission and null-clearing semantics, replacement, expiry, and conflict behavior. Nothing an agent needs to call it 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 documents every parameter. The description still adds semantic value beyond the schema by explaining that omitted fields retain current values and that elevated_max_ttl_seconds and require_reason_from_role can be nulled to clear the bound, plus that reason is required.

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?

States a specific verb (propose) and resource (organisation cluster access policy), and immediately clarifies what it is not ('This never changes the policy: no token may'), routing the agent to the apply-then-verify workflow. An agent can distinguish it from the read sibling get_cluster_access_policy without opening either schema.

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?

Gives clear context on when and how to use it: it is the mechanism to request a policy change, the user must be told to open the returned apply_url, and the required permission is stated. It lacks an explicit 'use X instead of Y' exclusion against any MCP sibling, but the workflow guidance is strong.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources