Skip to main content
Glama

check_environment

Destructive

Run server-side environment checks to verify configuration validity, TLS setup, log file whitelist, syslog connectivity, and database connectivity. Returns pass/fail status to diagnose configuration issues.

Instructions

Run a set of server-side environment checks and return their pass/fail status. Covers configuration validity, TLS setup, log file whitelist, syslog connectivity, and database connectivity.

When to use

Use to verify that the LogMCP server is configured correctly and that all configured backends are reachable. Useful when diagnosing why a tool is not working as expected, or after a configuration change.

Response

Array of check result objects, each with:

  • name — check identifier (e.g. config, tls, whitelist, syslog)

  • ok — true if the check passed, false if it failed

  • detail — human-readable description of the result or error (omitted when empty)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior1/5

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

The annotations include destructiveHint: true, implying potential side effects, but the description describes only checks that return status (no modifications). This contradiction misleads the agent about the tool's behavior. The description does not clarify the destructive hint.

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 concise, front-loaded with the purpose, and organized into clear sections ('When to use', 'Response'). Every sentence adds value without redundancy.

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

Completeness5/5

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

Given no parameters and no output schema, the description fully explains the checks performed and the structure of the response array, making the tool's behavior complete and understandable.

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?

There are no parameters, and schema coverage is trivially 100%. The description adds no parameter information beyond the schema, but this is acceptable per the baseline for zero parameters.

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

Purpose5/5

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

The description clearly states the tool runs a set of server-side environment checks and returns pass/fail status, listing specific covered areas (config, TLS, etc.). This distinguishes it from sibling tools like check_config (likely more specific) and server_status (probably server-level info).

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

Usage Guidelines4/5

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

The 'When to use' section provides explicit scenarios: verifying configuration, diagnosing tool issues, or after configuration changes. It lacks explicit exclusions or alternatives but gives clear context for use.

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/kascada/logmcp'

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