Skip to main content
Glama

Validate server.cfg

validate_server_cfg
Read-onlyIdempotent

Parses and checks an FXServer server.cfg: syntax, argument counts and values, duplicate or conflicting settings, repeated resource starts, framework and ox resource start order, missing dependencies, OneSync/slot conflicts, secrets exposed with set/sets, weak RCON passwords, plain-text database passwords and placeholder values. Returns issues with line numbers and a suggested fix. The config is processed in memory and never stored; secret values are never echoed.

Input Schema

NameRequiredDescriptionDefault
configYesserver.cfg text (max 256 KiB)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the description doesn't need to restate safety. It does add genuinely non-obvious context: processing is in-memory with nothing stored, secret values are never echoed, and results are delivered with line numbers plus a suggested fix. It stops short of describing severity levels or how issues are ordered.

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

Conciseness4/5

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

Front-loaded with the verb and target, then a dense enumeration of check categories and the return shape. Every clause is informative, though the long comma-run check list is slightly harder to scan than a short structured list would be.

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?

A one-parameter, non-destructive tool with no output schema needs the description to cover the return shape, and it does ('returns issues with line numbers and a suggested fix'), plus data-handling guarantees. An agent has everything needed to call it correctly and interpret the result.

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

Parameters3/5

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

There is a single required parameter with 100% schema description coverage ('server.cfg text (max 256 KiB)'), so the schema carries the load. The description implies the input is config text but adds no format or framing detail beyond the schema.

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?

States a specific verb pair (parses and checks) against a named resource (an FXServer server.cfg) and enumerates the check categories, so an agent knows exactly what class of problems it surfaces. It is clearly distinct from the sibling validate_resource, which targets resource content rather than the config file.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this belongs before deploying a config, but the description never says when to call it versus check_compatibility or validate_resource, nor any exclusions. No prerequisites or conditions for invocation are given.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources