Skip to main content
Glama

validate_config

Checks a .techdebtrc.json configuration file for syntax and schema errors so technical debt analysis starts with a valid configuration.

Instructions

Validate a .techdebtrc.json configuration file for syntax and schema correctness.

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": {
      "path": "<path>"
    },
    "name": "validate_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path to the project root directory or directly to a .techdebtrc.json file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description is the only source of behavioral information. It usefully discloses that two distinct checks occur (syntax and schema correctness) and implies a non-mutating operation, but it says nothing about whether the tool throws/errors on an invalid file, how findings are surfaced, or whether it can create a default config when none exists.

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?

One tight sentence with the resource and the two validation dimensions front-loaded. Nothing is redundant and nothing dilutes the core statement.

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?

For a simple single-parameter validation tool this is close to adequate, but with no output schema and no annotations the definition should still tell the agent what a successful versus failed validation produces. That omission leaves a meaningful gap for a tool whose entire purpose is producing a verdict.

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 single 'path' parameter is documented in the schema as accepting either a project root or the file directly. The description adds no further parameter meaning, which is acceptable given the schema already carries that burden.

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?

Names a specific verb (validate) and a specific resource (.techdebtrc.json) and narrows scope to syntax and schema correctness, which clearly separates it from siblings like validate_custom_pattern or analyze_project. It stops short of explicitly naming a sibling alternative, so it sits at 4 rather than 5.

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?

There is no guidance on when to call this versus validate_custom_pattern or the analyze_* tools, no mention of prerequisites (e.g. that a config file must already exist), and no statement about what to do when validation fails. The agent must infer the calling context entirely from the tool name.

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