List the tools of an MCP Gateway connector again
Ask the server of a connector (connectorId from getMcpGatewayConnectors) for its tools, store them as its snapshot and return what changed: tools.added, changed, unchanged, removed, and the skipped ones with their reason. A shared connector is listed with its shared account, a per_employee one with the accounts of the employees connected to it: no credential is taken here. A new tool takes the status the connector’s toolReview gives it; a changed one goes back to review or keeps its status as it says. Read the tools with getMcpGatewayConnectorTools. A 409 UpstreamSignInRequiredError means the server asks to sign in: the account is connected in the cockpit; a 502 or a 504 that the server did not answer. A 404 means the company has no such connector. The MCP Gateway serves employees, through their one Primo connection, the tools of the MCP servers (connectors) IT added. No credential is ever sent or returned here: a shared account is connected, and the address or authentication of a custom connector changed, in the cockpit, at cockpitUrl. A company without the MCP Gateway gets a 403 McpGatewayNotEnabledError; a 503 means Primo could not check it, try again in a minute.