Skip to main content
Glama
devlimelabs

Meilisearch MCP Server

by devlimelabs

info

Retrieve system information from the Meilisearch server to monitor its status and configuration.

Instructions

Get the system information of the Meilisearch server

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registers the 'info' tool on the MCP server. The tool has no input parameters (empty schema) and its handler fetches system information from the Meilisearch root endpoint ('/') using apiClient.get('/'), stringifies the JSON response, and handles errors with createErrorResponse.
    server.tool(
      'info',
      'Get the system information of the Meilisearch server',
      {},
      async () => {
        try {
          const response = await apiClient.get('/');
          return {
            content: [{ type: 'text', text: JSON.stringify(response.data, null, 2) }],
          };
        } catch (error) {
          return createErrorResponse(error);
        }
      }
    );
  • The inline handler function for the 'info' tool that executes the core logic: calls the Meilisearch API root endpoint and returns the system info as formatted JSON text content.
    async () => {
      try {
        const response = await apiClient.get('/');
        return {
          content: [{ type: 'text', text: JSON.stringify(response.data, null, 2) }],
        };
      } catch (error) {
        return createErrorResponse(error);
      }
    }
  • src/index.ts:69-69 (registration)
    Top-level call to registerSystemTools(server), which includes registration of the 'info' tool among other system tools.
    registerSystemTools(server);
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the action ('Get') but doesn't mention whether this is a read-only operation, if it requires authentication, potential rate limits, or what the response format looks like (e.g., JSON structure). For a tool with zero annotation coverage, this leaves significant gaps in understanding its behavior.

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, clear sentence that directly states the tool's purpose without any fluff or redundancy. It's front-loaded and efficiently communicates the essential information, making it easy for an agent to parse quickly.

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

Completeness3/5

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

Given the tool has 0 parameters and no output schema, the description is minimally adequate for a simple read operation. However, it lacks details on what 'system information' includes (e.g., server version, uptime, configuration) and how it differs from sibling tools, which could help the agent use it more effectively in context.

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 0 parameters, and schema description coverage is 100%, so there's no need for parameter details in the description. The baseline for this scenario is 4, as the description appropriately doesn't waste space on non-existent parameters, though it doesn't add extra value beyond the schema.

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 verb ('Get') and resource ('system information of the Meilisearch server'), making the purpose unambiguous. However, it doesn't explicitly differentiate from sibling tools like 'health', 'stats', or 'version', which might provide overlapping or related system information, so it doesn't reach the highest 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?

The description provides no guidance on when to use this tool versus alternatives such as 'health' (checks server availability), 'stats' (provides database statistics), or 'version' (gets software version). Without any context on usage scenarios or exclusions, the agent must infer based on tool names alone.

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

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

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