Skip to main content
Glama
meilisearch

Meilisearch MCP Server

Official
by meilisearch

get-system-info

Retrieve system-level details from the Meilisearch MCP Server to monitor and analyze server performance and configurations for efficient management.

Instructions

Get system-level information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler that executes the get-system-info tool by calling the monitoring manager's get_system_information method and formatting the result as text content.
    elif name == "get-system-info":
        info = self.meili_client.monitoring.get_system_information()
        self.logger.info("System information retrieved", info=info)
        return [
            types.TextContent(
                type="text", text=f"System information: {info}"
            )
        ]
  • Registration of the get-system-info tool in the list_tools handler, including its name, description, and input schema.
    types.Tool(
        name="get-system-info",
        description="Get system-level information",
        inputSchema={
            "type": "object",
            "properties": {},
            "additionalProperties": False,
        },
    ),
  • Input schema for the get-system-info tool, which takes no parameters.
        inputSchema={
            "type": "object",
            "properties": {},
            "additionalProperties": False,
        },
    ),
  • Helper method in MonitoringManager that fetches and formats system information from the Meilisearch client, including version, database stats, and indexes.
    def get_system_information(self) -> Dict[str, Any]:
        """Get system-level information"""
        try:
            version = self.client.get_version()
            stats = self.client.get_all_stats()
    
            return {
                "version": version,
                "database_size": stats["databaseSize"],
                "last_update": stats["lastUpdate"],
                "indexes": stats["indexes"],
            }
        except Exception as e:
            raise Exception(f"Failed to get system information: {str(e)}")
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. 'Get system-level information' implies a read-only operation, but it doesn't specify what kind of information is returned, whether there are any side effects, authentication requirements, rate limits, or error conditions. The description provides minimal behavioral context beyond the basic read implication.

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

Conciseness3/5

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

The description is extremely concise ('Get system-level information') but this brevity comes at the cost of being under-specified rather than efficiently informative. While it's front-loaded and wastes no words, it fails to provide the necessary context that would make it genuinely helpful. The single sentence doesn't earn its place by adding sufficient value.

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?

Given the tool's apparent simplicity (0 parameters, no output schema) and lack of annotations, the description is incomplete. It doesn't explain what 'system-level information' encompasses or what the return value looks like. With no output schema and multiple similar sibling tools, the description should provide more context about what distinguishes this tool's output from alternatives like get-health-status or get-stats.

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 with 100% schema description coverage, so the schema already fully documents the parameter situation. The description appropriately doesn't mention parameters since none exist. This meets the baseline expectation for a parameterless tool where the schema handles all parameter documentation.

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

Purpose2/5

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

The description 'Get system-level information' is a tautology that essentially restates the tool name 'get-system-info'. It doesn't specify what type of system information is retrieved or differentiate this tool from sibling tools like 'get-health-status', 'get-stats', or 'get-version' that also provide system-related information. The purpose is vague and lacks specificity about what distinguishes this tool.

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

Usage Guidelines1/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. With multiple sibling tools that appear to provide system information (get-health-status, get-stats, get-version, get-settings), there's no indication of what makes this tool distinct or when it should be preferred over those alternatives. No context, exclusions, or usage scenarios are mentioned.

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