tenki_auth_status
Check if the Tenki server has a usable credential, identifying its type and endpoint through a live probe. Run this first to diagnose auth failures without logging in or exposing the token.
Instructions
Report whether the server has a usable Tenki credential, which kind (API key vs OAuth session token), and the endpoint it targets — verified with a live identity probe. Call this first when other tools fail with auth errors, or when this is the only tool available (which means no credential is configured). Reports status only; it does not log in and never returns the token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Why the probe failed, when a credential is present but unusable (expired, revoked, wrong endpoint). | |
| detail | Yes | Human-readable status plus, when unauthenticated, how to supply a credential. | |
| source | No | Environment variable the credential came from (TENKI_AUTH_TOKEN takes precedence over TENKI_API_KEY). | |
| endpoint | Yes | Control-plane base URL the server is pointed at. | |
| identity | No | Identity returned by the live probe, when it succeeded. | |
| credential | Yes | Kind of credential the server is running with. Never includes the token itself. | |
| authenticated | Yes | True only when a credential is present AND a live identity probe succeeded. | |
| toolsRegistered | Yes | How many tools this server registered. Without a credential only this one is registered. |