Skip to main content
Glama

validate_adrs

Read-onlyIdempotent

Validate Architecture Decision Records deterministically and return diagnostics that reveal ADR issues before they affect architecture decisions.

Instructions

Runs ADR Guard deterministic validation and returns diagnostics as a successful analysis result.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "validate_adrs"
  }
}

Input Schema

NameRequiredDescriptionDefault
validationProfileNoOptional validation profile override: legacy, advisory, standard, or strict.

Output Schema

NameRequiredDescriptionDefault
filesYes
validYes
policyYes
diagnosticsYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description does add two useful behavioral facts beyond them: validation is deterministic, and diagnostics are returned as a successful analysis result rather than as a tool failure. It stops short of saying what rules are checked or how severe findings are surfaced.

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?

One front-loaded sentence with no filler; the action and the return contract come first. It is efficient but so short that it borders on under-specification rather than economy.

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?

Rich annotations and an output schema mean the description need not explain return values, and it correctly notes diagnostics arrive as a success result. However, for a validation tool it omits what artifact is validated, what a failing result implies, and when to invoke it, leaving real gaps for an agent deciding among six siblings.

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 optional validationProfile parameter already enumerates legacy, advisory, standard, and strict in the schema. The description adds no meaning about what those profiles change, so baseline 3 applies.

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 and resource: 'Runs ADR Guard deterministic validation' and returns diagnostics. It is clear what the tool does at a high level, but it never states what is being validated (ADRs) beyond the implicit product name, and it does not differentiate itself from siblings such as verify_architecture or analyze_impact.

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 when-to-use guidance, no prerequisites, and no named alternative or exclusion. An agent cannot tell from this sentence whether validate_adrs is a pre-commit gate, a post-edit check, or a substitute for verify_architecture.

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