run_connector_doctor
Verify a project's installation of a connector and ask the connector about every resource it gates — one report, a finding per check.
The dashboard's Run Doctor for agents. The installation is verified exactly as verify_connector_installation does it, then the connector is asked about every resource the installation gates, and the answer is one report: a finding for the installation, then one per resource, each with a severity (ok, warning, critical), the connector's own state word, a sentence in the creator's language, whether the creator can fix it and where. A resource the connector has no place for is a warning, never silence. The report is kept on the installation and raises connector.doctor_completed only when the findings differ from the previous run's. The REST twin is POST /v1/projects/{project}/connectors/{key}/installation/doctor.
Requires ability
The token behind the MCP session must hold it, or the call is refused with TOKEN_MISSING_ABILITY.
Runs the same action as
The REST endpoint and this tool share one action, so validation, permissions and events are identical.
Fires one event
Delivered to every endpoint subscribed to it once the change is made.
Annotations
Sending the same arguments twice changes nothing the second time.
Arguments
project_id*stringUUID of the project.
connector*stringThe connector key, as `list_connectors` returns it.
What it returns
{ "data": { "installation_id": "3b8f0c6e-2d41-4a97-9e5f-1c7d6b2a8e40", "connector": "telegram", "project_id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13", "ran_at": "2026-09-12T10:07:00Z", "healthy": false, "critical": 1, "warnings": 0, "findings": [ { "key": "installation", "kind": "installation", "severity": "ok", "severity_label": "OK", "subject": "Research Bot", "state": "connected", "message": "The connector still answers for this installation.", "creator_actionable": false, "fix_url": null, "resource_id": null }, { "key": "resource:b73c5f21-9d80-4a6e-8215-4f70ce13a9d6", "kind": "resource", "severity": "critical", "severity_label": "Critical", "subject": "Premium Channel", "state": "not_member", "message": "The bot was removed from this channel.", "creator_actionable": true, "fix_url": "https://app.subscriby.net/projects/7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13/resources", "resource_id": "b73c5f21-9d80-4a6e-8215-4f70ce13a9d6" } ] }, "meta": {}}How it fails
AUTHENTICATION_REQUIREDno authenticated user on the request.
TOKEN_MISSING_ABILITYtoken lacks project-connector:update.
RESOURCE_NOT_FOUNDthe project is unknown or outside the token's reach.
CONNECTOR_NOT_INSTALLEDthe project has no installation of the connector.
How is this guide?
Last updated on
restore_connector_access
Bring a project's detached places on a reinstalled connector back and hand every live purchase of a plan granting them fresh access.
uninstall_connector
Uninstall a connector from a project — grants revoked, resources detached, the row kept — with two opt-ins for the plans it empties. Destructive.