Skip to main content
Glama

Check an odile.yaml

gate_validate_config
Read-onlyIdempotent

Validate and normalize an odile.yaml or JSON config without reading or changing a project. Returns errors, warnings and normalized config. Use gate_check_setup for actual project settings; use gate_sync_declarative to apply the validated file.

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": {
      "config": "<config>"
    },
    "name": "gate_validate_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
configYesThe whole odile.yaml (or the same as JSON) as text

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description still adds real value beyond them by stating the tool touches no project state and by enumerating the response contents (errors, warnings, normalized config). It does not say how errors are surfaced or whether validation is strict, which keeps it short of a 5.

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?

Three sentences with zero filler: what it does, what it returns, then routing to alternatives. The negative scope constraint is front-loaded before the sibling routing, which is the right order for a reader scanning for eligibility.

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?

For a single-parameter, read-only validation tool with no output schema, the description covers the action, the return contents, and the surrounding workflow. An agent has everything needed to call it correctly and to know what to do with 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?

The single parameter has 100% schema description coverage ('The whole odile.yaml (or the same as JSON) as text'), so the schema already carries the semantics. The description restates that the input may be YAML or JSON but adds no constraints such as size limits, encoding, or schema version. Baseline 3 is appropriate when the schema does the heavy lifting.

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 (validate and normalize) with a specific resource (odile.yaml or JSON config) and adds the negative scope 'without reading or changing a project.' It explicitly distinguishes itself from gate_check_setup and gate_sync_declarative, so an agent can route without opening a 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?

Names two concrete alternatives with the conditions that select them: gate_check_setup for actual project settings, gate_sync_declarative to apply the validated file. This is explicit when-to-use and when-not-to-use guidance rather than an implied workflow.

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