Connection Status
get_statusReport this user's ShareWatch setup status: the authenticated user's email, workspace connection status, default folder, org membership, and available actions. Setup problems surface here as a clear status, whereas they surface in other tools as unrelated-looking failures. When multiple ShareWatch connectors are configured, this identifies which Google account this connector is authenticated as.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | present only when the user must do something; absent means nothing is required of them | |
| diagram | No | ASCII sketch of which of the two links is broken; reproduce it verbatim or not at all | |
| message | No | detail about a problem, when there is one | |
| summary | Yes | one sentence covering both identities and the health, written to be paraphrased to the user | |
| user_name | No | ||
| tool_count | Yes | how many tools this server implements right now | |
| user_email | No | the ShareWatch account the caller is signed in to, which may differ from the connected Google account | |
| organization | No | the workspace this user is currently acting in | |
| setup_needed | Yes | true when no Drive call can succeed until the user does something; see action | |
| default_folder | No | where new files land when no parent is given; absent when none is set | |
| schema_version | Yes | bump this and a client with a cached tool list will see the old value — the crudest possible staleness check | |
| available_tools | Yes | every tool the SERVER implements — NOT the tools this caller may invoke, and not a permissions list. Compare it against your own visible tool list: if yours is shorter, your client is holding a cached list and the user must refresh the connector. | |
| connection_health | Yes | 'ok' (a token was minted just now), 'never_connected' (Google Workspace was never linked), 'revoked' (the Google grant is gone — reconnecting the MCP connector will NOT fix it), or 'degraded' (still connected, but the last token refresh failed) | |
| folder_suggestion | No | advice to relay when no default folder is configured | |
| workspace_connected | Yes | whether ShareWatch can reach the user's Google Drive at all | |
| google_drive_identity | No | the Google account whose Drive is actually connected — say this out loud when it differs from user_email, because file operations land in THIS account |