Skip to main content
Glama

reconnect_integration

Test and re-establish connection for a Balzac AI platform integration. Updates status to pending while verifying connectivity with CMS platforms like WordPress or Webflow.

Instructions

Re-test the connection of an integration. The status will go to "pending" until the test completes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspace_idYesWorkspace UUID
integration_idYesIntegration UUID

Implementation Reference

  • The handler function for the reconnect_integration tool, which triggers a POST request to re-test the integration.
    async ({ workspace_id, integration_id }) => {
      const res = await client.post(`/workspaces/${workspace_id}/integrations/${integration_id}/reconnect`, {});
      return { content: [{ type: 'text' as const, text: JSON.stringify(res.data) }] };
    }
  • Registration of the reconnect_integration tool within the MCP server.
    server.tool(
      'reconnect_integration',
      'Re-test the connection of an integration. The status will go to "pending" until the test completes.',
      {
        workspace_id: z.string().describe('Workspace UUID'),
        integration_id: z.string().describe('Integration UUID'),
      },
      async ({ workspace_id, integration_id }) => {
        const res = await client.post(`/workspaces/${workspace_id}/integrations/${integration_id}/reconnect`, {});
        return { content: [{ type: 'text' as const, text: JSON.stringify(res.data) }] };
      }
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hirebalzac/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server