Skip to main content
Glama

get_bastion_health

Read-only

Report the SSH bastion health verdict the platform has already recorded for an Ankra-provisioned cluster: state (healthy, offline or unknown), which hop the probe failed at (bastion or jumphost), the failure detail, how many probe passes have failed in a row, the provider's own view of the VM when SSH failed, and when the bastion was last probed. This is a plain database read of what the bastion_health maintenance loop last saw - it answers immediately and never touches the host, so use it, not diagnose_bastion, to answer "is the bastion up?". Reach for diagnose_bastion only when the host itself must be inspected over SSH (sshd configuration, failed logins, disk, journal), and only when this tool reports diagnose_supported true - some bastions are probed but have no diagnosis lane (Scaleway's managed Public Gateway). An empty state and checked_at mean the bastion has not been probed yet. Clusters reached through their agent rather than a bastion - imported and managed-Kubernetes clusters - have no bastion to report on.

Input Schema

NameRequiredDescriptionDefault
cluster_idYesAnkra cluster id (UUID) the call targets. Discover ids with list_clusters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond readOnlyHint, it discloses that this is a plain database read of the bastion_health loop's last observation, that it 'answers immediately and never touches the host', and that an empty state/checked_at means unprobed. The provider-lane caveat (Scaleway Public Gateway has no diagnosis lane) is behavioral context the annotations cannot carry.

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 purpose and the routing rule, with no filler sentences. It is denser and longer than strictly necessary, but each clause carries distinct information (return fields, read semantics, caveats, exclusions).

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?

There is no output schema, so the description compensates by enumerating the returned fields (state, failing hop, failure detail, consecutive failures, provider view, last probe time). Combined with the empty-state semantics and the no-bastion cluster types, an agent has everything needed to call and interpret it.

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 coverage is 100% and the single cluster_id param is fully described in the schema itself, including how to discover ids via list_clusters. The description adds no parameter-level syntax or constraints, so the baseline 3 applies.

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 and resource ('Report the SSH bastion health verdict... for an Ankra-provisioned cluster') and enumerates exactly what the verdict contains. It explicitly separates itself from the sibling diagnose_bastion, so an agent can route 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 Guidelines5/5

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

Gives explicit when-to-use ('use it, not diagnose_bastion, to answer "is the bastion up?"'), when-not ('Reach for diagnose_bastion only when the host itself must be inspected over SSH'), and a gating condition ('only when this tool reports diagnose_supported true'). It also names exclusions: agent-reached imported/managed-K8s clusters have no bastion.

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