Skip to main content
Glama

check-config

Read-only

Validate database configuration files offline to catch missing required fields, broken cross-file references, and unresolved login targets before deployment.

Instructions

Check this node's config files, from config alone (connecting nowhere) - check objects: required fields and values against the reference this version ships; references: pointers from one file into another that land nowhere; credentials: every target resolves a login. To prove a password really works, use check-secret.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "request": "<request>"
    },
    "name": "check-config"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesThe command's request.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, so the description's added value is the no-connection guarantee and the precise meaning of each check, which it supplies. The 'connecting nowhere' claim sits in mild tension with openWorldHint=true, but that hint plausibly refers to the unbounded input surface (arbitrary data_dir contents) rather than network egress, so it is not a direct contradiction. It does not say what a failing check looks like in the response, which the output schema presumably covers.

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?

It is a single dense sentence, front-loaded with the verb and scope, with the three modes laid out in a scannable parallel structure and the sibling pointer last. The semicolon-chained clauses are compact but slightly hard to parse on first read; nothing is wasted though.

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

Completeness4/5

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

For a read-only checker with a full input schema and an output schema, the description covers purpose, scope, mode semantics, and the key alternative. Nothing needed to invoke it correctly is missing; only the failure-reporting behavior is left implicit, and the output schema can carry that.

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?

Schema description coverage is 100% and the enum values already carry per-value definitions, so the description's restatement of the three check modes largely duplicates the schema rather than extending it. The one genuine addition is the 'from config alone' framing, which tells the agent these checks never contact targets.

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 opens with a specific verb and resource ('Check this node's config files') and then enumerates the three check modes (objects, references, credentials) with a one-line definition of each. It also draws an explicit boundary against a sibling ('To prove a password really works, use check-secret'), so an agent can separate it from the adjacent tool without opening either schema.

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

Usage Guidelines5/5

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

It states the operating scope ('from config alone, connecting nowhere') and names the alternative that should be used instead when the goal is validating an actual password. That is an explicit when-to-use / when-to-use-something-else routing rule, not an implied one.

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