Skip to main content
Glama
meilisearch

Meilisearch MCP Server

Official
by meilisearch

health-check

Monitor the operational status of Meilisearch servers to ensure uptime and performance. Use this tool to verify server health and diagnose potential issues efficiently.

Instructions

Check Meilisearch server health

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler logic for the 'health-check' tool within the call_tool function. It performs a health check on the Meilisearch client and returns a text content indicating availability.
    elif name == "health-check":
        is_healthy = self.meili_client.health_check()
        return [
            types.TextContent(
                type="text",
                text=f"Meilisearch is {is_healthy and 'available' or 'unavailable'}",
            )
        ]
  • Registration of the 'health-check' tool in the list_tools handler, including its name, description, and input schema (empty object).
    types.Tool(
        name="health-check",
        description="Check Meilisearch server health",
        inputSchema={
            "type": "object",
            "properties": {},
            "additionalProperties": False,
        },
    ),
  • The input schema for the 'health-check' tool, which requires no parameters (empty object).
    inputSchema={
        "type": "object",
        "properties": {},
        "additionalProperties": False,
    },
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It states it 'checks' health but doesn't specify what 'health' means, what metrics are returned, whether it performs active probing or passive status checking, or what authentication/rate limits apply. This leaves significant gaps for a tool that interacts with a server.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that gets straight to the point with no wasted words. It's appropriately sized for a simple health check tool and front-loads the essential information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a server health check tool with no annotations and no output schema, the description is insufficient. It doesn't explain what 'health' encompasses, what format the response takes, whether it includes uptime/performance metrics, or how it differs from 'get-health-status'. Given the complexity of server monitoring and lack of structured data, more context is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters with 100% schema description coverage, so the schema already fully documents the parameter situation. The description appropriately doesn't discuss parameters, maintaining focus on the tool's purpose. A baseline of 4 is appropriate for zero-parameter tools.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Check Meilisearch server health' specifies both the verb ('Check') and the resource ('Meilisearch server health'). However, it doesn't differentiate from sibling 'get-health-status' which appears to serve a similar function, preventing a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided about when to use this tool versus alternatives like 'get-health-status' or other monitoring tools. The description only states what it does, not when it should be selected over other available options.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Related Tools

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/meilisearch/meilisearch-mcp'

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