Skip to main content
Glama

monica_health_check

Verify configured Monica CRM credentials to ensure proper connection and functionality for managing contacts, activities, and tasks.

Instructions

Verify that the configured Monica credentials work.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Inline handler function for the 'monica_health_check' tool. It invokes the MonicaClient's healthCheck method and returns a standardized success message confirming connectivity to the Monica CRM API.
    async () => { await client.healthCheck(); return { content: [ { type: 'text' as const, text: 'Successfully connected to Monica CRM API.' } ] }; }
  • Registration of the 'monica_health_check' tool using the MCP server's registerTool method, providing tool metadata (title and description) and the inline handler.
    server.registerTool( 'monica_health_check', { title: 'Test Monica connectivity', description: 'Verify that the configured Monica credentials work.' }, async () => { await client.healthCheck(); return { content: [ { type: 'text' as const, text: 'Successfully connected to Monica CRM API.' } ] }; } );
  • The MonicaClient.healthCheck() supporting method that performs the actual connectivity verification by making a lightweight API request to fetch contacts with limit=1.
    async healthCheck(): Promise<void> { await this.request('contacts', { searchParams: { limit: 1 } }); }

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/Jacob-Stokes/monica-mcp'

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