Skip to main content
Glama

refresh_cluster_token

Re-authenticate and refresh an OpenShift cluster's OAuth token to maintain secure access. Uses the default cluster when no alias is specified.

Instructions

Re-authenticate and refresh the OAuth token for a cluster.

Uses the default cluster if alias is not provided.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aliasNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
aliasYes
api_urlYes
usernameYes
is_defaultYes
Behavior3/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It discloses the re-authentication/refresh action and the default cluster fallback, but does not mention side effects, permission requirements, or token lifecycle impacts. This is a minimal but non-misleading disclosure.

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?

The description is two short sentences, front-loaded with the main action and followed by the alias behavior. 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.

Completeness4/5

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

For a simple one-parameter tool with an output schema, the description adequately explains the purpose and alias default. It could mention prerequisites for refreshing a token, but the low complexity leaves little 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?

The schema has only an optional alias parameter with default null and zero description coverage. The description adds essential meaning by explaining that alias selects a cluster and omission causes the default cluster to be used, compensating for the schema's lack of semantic detail.

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 the tool re-authenticates and refreshes the OAuth token for a cluster, using a specific verb and resource. It is easily distinguished from sibling cluster tools like register_cluster or set_default_cluster.

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 communicates the action (re-authenticate/refresh token) and clarifies the default-cluster behavior when alias is omitted. It lacks explicit alternatives or when-not-to-use guidance, but the context is unambiguous.

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/badin017/ocp-mcp'

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