Skip to main content
Glama

mcp-adr

PyPI version License: MIT Python

An MCP server that lets AI assistants create, manage, diagram, and export Architecture Decision Records (ADRs) directly from your conversation.

What are ADRs?

Architecture Decision Records are lightweight documents that capture the context, rationale, and consequences of significant architectural choices made during software development. They provide a searchable, version-controlled audit trail that helps teams understand why the system is built the way it is — not just how. Keeping ADRs close to the code prevents institutional knowledge from walking out the door when team members change.

Related MCP server: Architectural Decision Log (ADL) System

Features

  • Six typed templates — architecture, technology, integration, data, security, infrastructure — each with domain-specific sections generated automatically

  • Full lifecycle management — propose, accept, deprecate, or supersede ADRs with a single tool call; bidirectional links are maintained automatically

  • Diagram generation — Mermaid, PlantUML, and Draw.io output formats with per-ADR and project-wide overview diagrams

  • Impact analysis — find every ADR that mentions a component, build a full transitive dependency graph

  • Full-text search — query across all ADR content in the project

  • HTML export — render every ADR to standalone HTML pages with navigation

  • Companion skill — a Claude Code skill that gives the assistant deep ADR workflow knowledge without tool calls

Installation

pip install mcp-adr
# or
uv add mcp-adr

Configuration

Claude Code (settings.json)

{
  "mcpServers": {
    "mcp-adr": {
      "command": "mcp-adr"
    }
  }
}

Environment variables

Variable

Default

Description

ADR_DIR

docs/adr

Directory where ADR markdown files live

Every tool also accepts an optional project_path parameter to override the working directory at call time.


Tools Reference

CRUD

Tool

Key parameters

Description

adr_create

title, type, context, decision, deciders

Create a new ADR from a typed template

adr_read

query

Read an ADR by number or title substring

adr_update

number, content

Overwrite an ADR with new markdown content

adr_list

status, type

List all ADRs, optionally filtered

adr_search

query

Full-text search across all ADR content

Lifecycle

Tool

Key parameters

Description

adr_update_status

number, status, reason

Change status (Proposed/Accepted/Deprecated/Superseded)

adr_supersede

old_number, new_number

Mark an ADR as superseded, linking both documents

adr_deprecate

number, reason

Deprecate an ADR with a recorded reason

adr_link

from_number, to_number

Add a bidirectional related link between two ADRs

adr_history

query

Return matching ADRs as a timeline sorted by date

Diagrams

Tool

Key parameters

Description

adr_diagram

number, format, diagram_type

Generate a diagram for a single ADR

adr_overview

format, status_filter

Generate an overview diagram of all ADRs

Analysis

Tool

Key parameters

Description

adr_impact

component

Find all ADRs that mention a given component

adr_dependencies

number, format

Build or filter the ADR dependency graph

Export

Tool

Key parameters

Description

adr_export

output_dir

Export all ADRs to HTML files


Example Workflow

The following example walks through capturing a major API migration decision.

1. Create the ADR

adr_create(
    title="Migrate from REST to GraphQL",
    type="architecture",
    context="The mobile team reports over-fetching on every screen. REST endpoints return 40+ fields; clients use 5.",
    decision="Adopt GraphQL via Apollo Server. REST endpoints remain for external partners.",
    deciders="platform-team"
)
# → {"number": 1, "title": "Migrate from REST to GraphQL", "status": "Proposed", ...}

2. Generate a diagram

adr_diagram(number=1, format="mermaid")
# → {"number": 1, "format": "mermaid", "result": "<Mermaid context for LLM to render>"}

3. Accept the decision

adr_update_status(number=1, status="Accepted", reason="Approved in architecture review 2026-04-11")
# → {"number": 1, "old_status": "Proposed", "new_status": "Accepted"}

4. Check impact before changing the API layer

adr_impact(component="REST")
# → {"component": "REST", "count": 1, "results": [...]}

5. Export to HTML for sharing

adr_export(output_dir="site/adrs")
# → {"output_dir": "site/adrs", "files_count": 1, "files": ["site/adrs/ADR-0001.html"]}

Template Types

Each type value activates a set of domain-specific extra sections inserted between Consequences and Diagram.

Type

Extra sections

architecture

Components, Interactions, Constraints

technology

Evaluation Criteria, Comparison Matrix

integration

Interface Contract, Data Flow, Failure Modes

data

Schema Changes, Migration Strategy, Rollback Plan

security

Threat Model, Controls, Compliance

infrastructure

Topology, Scaling Strategy, DR Plan

All types share the common sections: Context, Decision, Alternatives Considered, Consequences (Positive / Negative / Risks), Diagram, Notes.


Diagram Formats

Format

Output

Rendering

Best for

mermaid

Text

GitHub, GitLab, Notion, etc.

Quick inline diagrams in markdown

plantuml

Text

PlantUML server or plugin

Richer UML notation, sequence diagrams

drawio

XML file

draw.io / diagrams.net

Editable, polished architecture diagrams

For mermaid and plantuml, the tool returns a context block that the LLM uses to render or display the diagram. For drawio, the tool writes a .drawio file alongside the ADR and records a link in the ADR's Diagram section.


Export

adr_export renders every ADR in the project to a self-contained HTML file using a built-in Jinja2 template. Files are written to output_dir (default: docs/adr/html). An index.html is also generated.

adr_export(output_dir="docs/adr/html")
# Produces:
#   docs/adr/html/index.html
#   docs/adr/html/ADR-0001-migrate-from-rest-to-graphql.html
#   ...

Companion Skill

A Claude Code skill is included that gives the assistant deep ADR workflow knowledge — it understands naming conventions, when to propose vs accept, how to chain tools, and how to produce complete ADRs in one pass.

Install

cp skills/adr/SKILL.md ~/.claude/skills/adr/SKILL.md

After installation, Claude Code will automatically load the skill when working with ADRs.


Development

git clone https://github.com/mauriziomocci/mcp-adr.git
cd mcp-adr
uv sync
uv run pytest -v
uv run ruff check src/mcp_adr/
uv run ruff format --check src/mcp_adr/


mcp-adr (Italiano)

Un server MCP che permette agli assistenti AI di creare, gestire, visualizzare ed esportare Architecture Decision Records (ADR) direttamente dalla conversazione.

Cosa sono gli ADR?

Gli Architecture Decision Records sono documenti leggeri che catturano il contesto, la motivazione e le conseguenze delle scelte architetturali significative prese durante lo sviluppo software. Forniscono una traccia verificabile e versionata che aiuta i team a capire perché il sistema e costruito in un certo modo — non solo come. Mantenere gli ADR vicino al codice evita la perdita di conoscenza istituzionale quando i membri del team cambiano.

Installazione

pip install mcp-adr
# oppure
uv add mcp-adr

Configurazione

Claude Code (settings.json)

{
  "mcpServers": {
    "mcp-adr": {
      "command": "mcp-adr"
    }
  }
}

Variabili d'ambiente

Variabile

Predefinito

Descrizione

ADR_DIR

docs/adr

Directory in cui risiedono i file markdown ADR


Riferimento strumenti

CRUD

Strumento

Parametri principali

Descrizione

adr_create

title, type, context, decision, deciders

Crea un nuovo ADR da un template tipizzato

adr_read

query

Legge un ADR per numero o sottostringa del titolo

adr_update

number, content

Sovrascrive un ADR con nuovo contenuto markdown

adr_list

status, type

Elenca tutti gli ADR, con filtri opzionali

adr_search

query

Ricerca full-text su tutto il contenuto ADR

Ciclo di vita

Strumento

Parametri principali

Descrizione

adr_update_status

number, status, reason

Cambia lo stato (Proposed/Accepted/Deprecated/Superseded)

adr_supersede

old_number, new_number

Marca un ADR come sostituito, collegando entrambi

adr_deprecate

number, reason

Depreca un ADR con una motivazione registrata

adr_link

from_number, to_number

Aggiunge un collegamento bidirezionale tra due ADR

adr_history

query

Restituisce gli ADR corrispondenti come timeline

Diagrammi

Strumento

Parametri principali

Descrizione

adr_diagram

number, format, diagram_type

Genera un diagramma per un singolo ADR

adr_overview

format, status_filter

Genera un diagramma panoramico di tutti gli ADR

Analisi

Strumento

Parametri principali

Descrizione

adr_impact

component

Trova tutti gli ADR che menzionano un componente

adr_dependencies

number, format

Costruisce o filtra il grafo delle dipendenze ADR

Esportazione

Strumento

Parametri principali

Descrizione

adr_export

output_dir

Esporta tutti gli ADR in HTML


Esempio di workflow

# 1. Crea l'ADR
adr_create(
    title="Migrazione da REST a GraphQL",
    type="architecture",
    context="Il team mobile segnala over-fetching su ogni schermata.",
    decision="Adottare GraphQL via Apollo Server. Gli endpoint REST rimangono per i partner esterni.",
)
# → ADR-0001 creato con stato Proposed

# 2. Genera il diagramma
adr_diagram(number=1, format="mermaid")
# → Contesto Mermaid restituito all'LLM

# 3. Accetta la decisione
adr_update_status(number=1, status="Accepted")
# → Stato cambiato: Proposed → Accepted

# 4. Analizza l'impatto
adr_impact(component="REST")
# → Lista degli ADR che menzionano REST

# 5. Esporta in HTML
adr_export(output_dir="docs/adr/html")
# → File HTML generati

Sviluppo

git clone https://github.com/mauriziomocci/mcp-adr.git
cd mcp-adr
uv sync
uv run pytest -v
uv run ruff check src/mcp_adr/

Available Tools

15 tools
adr_createC

Create a new ADR with the given title and optional content.

ParametersJSON Schema
NameRequiredDescriptionDefault
titleYes
typeNoarchitecture
contextNo
decisionNo
decidersNo
project_pathNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

C2.2/5.0
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It only says 'Create a new ADR' without mentioning side effects, required permissions, whether it overwrites duplicates, or any constraints. This is insufficient for a creation tool.

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

Conciseness3/5

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

The description is a single sentence, which is concise. However, it omits necessary details about parameters and usage, so it is not effectively concise—it sacrifices informativeness for brevity.

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

Completeness2/5

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

Given the tool has 6 parameters and multiple siblings, the description is too minimal. It does not explain what an ADR is, the role of parameters, or what the output is (output schema exists but not referenced). It misses critical context for correct invocation.

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

Parameters1/5

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

Schema description coverage is 0%. The description only mentions 'title and optional content', but the schema has 6 parameters (title, type, context, decision, deciders, project_path). The description fails to explain the meaning or usage of most parameters, providing no added value over the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states it creates a new ADR, which is a specific verb and resource. However, it vaguely says 'optional content' while the schema includes multiple specific fields like type, context, decision, etc. It distinguishes from siblings like adr_update and adr_list, but lacks precision.

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?

No guidance on when to use this tool vs alternatives such as adr_update or adr_supersede. It does not mention prerequisites like project_path or any context for decision-making.

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

adr_dependenciesC

Build the dependency graph of ADRs, optionally filtered to one ADR's transitive deps.

ParametersJSON Schema
NameRequiredDescriptionDefault
numberNo
formatNomermaid
project_pathNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are present, so the description must disclose behavior. It only says 'build the dependency graph' without indicating side effects, destructiveness, or performance implications. The read-only vs. write nature is unclear.

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?

Single sentence that is front-loaded with the main purpose and optional filter. No redundancy, efficient word choice.

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?

Given the complexity of building a dependency graph and 15 sibling tools, the description is adequate but minimal. It doesn't specify output details (though output schema exists), format options, or prerequisites. Leaves gaps for an AI agent to infer.

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

Parameters2/5

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

Schema description coverage is 0%. The description indirectly explains the 'number' parameter (filter to transitive deps) but does not explain 'format' (default mermaid) or 'project_path'. The description adds minimal meaning beyond the schema structure.

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?

The description clearly states 'Build the dependency graph of ADRs' with a specific verb and resource, and mentions optional filtering by transitive deps. This distinguishes it from siblings like adr_diagram (visualization) and adr_list (plain listing). However, it does not explicitly differentiate from adr_impact or adr_link.

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?

The description mentions optional filtering but provides no guidance on when to use this tool vs. siblings like adr_diagram or adr_impact. No when-not-to-use or alternative recommendations.

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

adr_deprecateD

Deprecate an ADR with a reason.

ParametersJSON Schema
NameRequiredDescriptionDefault
numberYes
reasonYes
project_pathNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

D1.8/5.0
Behavior1/5

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

With no annotations provided, the description should fully disclose behavioral traits, but it only states the action without explaining what deprecation entails (e.g., status changes, reversibility, side effects).

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

Conciseness2/5

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

The description is too sparse, consisting of a single short sentence that lacks essential details; it does not earn its place as it fails to convey sufficient information.

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

Completeness1/5

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

Given the tool has 3 parameters, no schema descriptions, no annotations, and is a mutation operation, the description is severely incomplete, missing information about behavior, return values, and parameter specifics.

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

Parameters1/5

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

The schema has 0% description coverage for parameters, and the description adds no meaning to 'number', 'reason', or 'project_path', leaving an agent without necessary context for correct use.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description specifies the action 'Deprecate' and the resource 'ADR' with a reason, but it does not distinguish this tool from sibling tools like adr_supersede or adr_update_status, which have similar purposes.

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?

The description provides no guidance on when to use this tool versus alternatives, such as when to deprecate vs. supersede, nor does it mention any prerequisites or context for using the tool.

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

adr_diagramC

Generate or retrieve a diagram for an ADR.

ParametersJSON Schema
NameRequiredDescriptionDefault
numberYes
formatNomermaid
diagram_typeNo
project_pathNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, and the description does not disclose side effects (e.g., file creation), required permissions, rate limits, or whether the operation is read-only or mutating. The description carries the full burden but adds minimal behavioral context.

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?

The description is a single sentence with no redundancy. It is appropriately front-loaded but could benefit from additional details without sacrificing conciseness.

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

Completeness2/5

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

Despite having an output schema, the description is insufficient for a tool with multiple parameters (format, diagram_type, project_path) and an ambiguous generate/retrieve behavior. It lacks explanation of how these parameters affect the output, making the tool incomplete for correct agent invocation.

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

Parameters2/5

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

Schema description coverage is 0%, and the description does not explain any parameters. While the schema provides types and defaults, the meaning of 'diagram_type' and 'project_path' remains unclear. The description should compensate for the low coverage but fails to do so.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states it generates or retrieves a diagram for an ADR, specifying verb and resource. However, the 'or' creates ambiguity about whether it always generates or can retrieve existing diagrams. Among sibling tools focused on CRUD operations, this one is distinct but the ambiguity reduces clarity.

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?

No guidance on when to use this tool versus alternatives like adr_read or adr_export. There is no mention of appropriate contexts or when to generate vs retrieve, leaving the agent without decision criteria.

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

adr_exportC

Export all ADRs to HTML.

ParametersJSON Schema
NameRequiredDescriptionDefault
output_dirNo
project_pathNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

C2.8/5.0
Behavior2/5

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

Without annotations, the description should provide behavioral details, but it only states the action. It does not mention if it overwrites existing files, whether network access is required, or any side effects. The presence of an output schema partially compensates but does not cover behavioral traits.

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?

The description is very concise at one sentence. It is front-loaded with the action. However, it omits necessary details, making it somewhat under-specified. 'Appropriately sized' for a simple tool but missing parameter guidance.

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

Completeness2/5

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

Given the tool has two optional parameters and a non-trivial export operation, the description is incomplete. It does not address parameter behavior or edge cases. The output schema helps with return values but does not complete the context.

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

Parameters1/5

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

The input schema has two optional parameters with 0% description coverage. The description does not explain the purpose of 'output_dir' or 'project_path', nor their default behavior (null). An agent would need to guess what these parameters control.

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 clearly states the action ('Export') and the resource ('all ADRs') and the output format ('HTML'), making it easy to understand what the tool does. It implicitly distinguishes from sibling tools like adr_create, adr_read, etc.

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?

No guidance on when to use this tool versus alternatives. The description does not mention conditions, prerequisites, or exclusions. For example, it doesn't say if this is for full documentation generation or partial export.

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

adr_historyC

Find ADRs matching a query, returned as a timeline sorted by date.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYes
project_pathNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, and the description does not disclose any behavioral traits such as read-only, side effects, or authentication requirements. It implies a read operation but offers no explicit transparency.

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

Conciseness3/5

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

The description is a single sentence, which is concise but too brief to cover necessary details. It front-loads the core action but omits important contextual information.

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

Completeness2/5

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

Given the existence of an output schema (not shown) and many sibling tools, the description lacks completeness. It does not explain what an ADR is, how the query works, or how the timeline is structured, making it insufficient for confident agent usage.

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

Parameters1/5

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

Schema coverage is 0%, and the description does not explain what the 'query' parameter accepts (e.g., regex, keywords) or the purpose of 'project_path'. The agent gets no additional meaning beyond the plain schema.

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?

The description clearly states the tool's purpose: find ADRs matching a query, with a specific output format (timeline sorted by date). It uses a specific verb ('find') and resource ('ADRs'), and the timeline aspect distinguishes it from sibling tools, though not explicitly.

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 use this tool versus alternatives like adr_search or adr_list. The description does not specify the query format, scope, or exclusion criteria.

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

adr_impactC

Find all ADRs that mention a component.

ParametersJSON Schema
NameRequiredDescriptionDefault
componentYes
project_pathNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description must fully describe behavior. It only states 'find all ADRs that mention a component' but does not specify whether it searches full text, titles, or metadata, nor does it mention return format, side effects (none expected), or any limitations. This is insufficient for a tool with no annotations.

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?

The description is a single sentence, which is concise and front-loaded with the verb. However, it is somewhat under-specified; a slightly more detailed statement would not harm conciseness.

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

Completeness2/5

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

Given the existence of an output schema (which defines return structure), the description still misses contextual details like what constitutes a 'mention' (exact match, substring, case sensitivity) and the scope of search (all ADRs or only recent). This makes the tool harder to use correctly.

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

Parameters1/5

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

The input schema has two parameters (component and project_path) with 0% schema description coverage. The description does not explain what 'component' refers to (e.g., name, path) or the role of project_path, leaving the agent to guess.

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 states 'Find all ADRs that mention a component.' This clearly identifies the verb (find) and resource (ADRs) with a specific scope (mentioning a component), which distinguishes it from siblings like adr_list (lists all ADRs) and adr_search (generic search).

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?

No guidance is provided on when to use this tool versus alternatives. For example, it does not clarify when to use adr_impact over adr_search or adr_list, nor does it mention any prerequisites or exclusion criteria.

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

adr_listC

List all ADRs, optionally filtered by status and/or type.

ParametersJSON Schema
NameRequiredDescriptionDefault
statusNo
typeNo
project_pathNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

C2.9/5.0
Behavior2/5

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

No annotations provided, so the description should disclose behavioral traits. It implies a safe read operation by saying 'list', but lacks details on pagination, performance, or what 'all ADRs' means in terms of scope (e.g., current project?).

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?

The description is a single concise sentence that front-loads the main purpose. However, it could be expanded to cover missing parameters without becoming verbose.

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

Completeness2/5

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

With an output schema present, return value documentation is not needed, but the description omits important context: no sibling differentiation, no parameter explanation for one param, and no usage guidance. This makes the tool underspecified for an AI agent.

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 0%, so the description must explain parameters. It correctly identifies status and type as filters, but the 'project_path' parameter is not mentioned, leaving ambiguity about its role.

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?

The description clearly states the tool lists all ADRs with optional filtering by status and type, but does not differentiate it from sibling tools like adr_search or adr_overview.

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?

No guidance on when to use this tool versus alternatives such as adr_search (for complex queries) or adr_overview (for summaries). The description only mentions filtering but not use cases.

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

adr_overviewC

Generate an overview diagram of all ADRs (optionally filtered by status).

ParametersJSON Schema
NameRequiredDescriptionDefault
formatNomermaid
status_filterNo
project_pathNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, description provides minimal behavioral context. States 'generate' but does not explain side effects, output format, or that it likely returns a diagram (implied by format parameter). No mention of data persistence or modifications.

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?

Single sentence with no fluff. Could be slightly expanded for clarity without becoming verbose.

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

Completeness2/5

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

Given 14 sibling tools and 3 parameters, the description is too sparse. Does not explain output schema (though exists), usage context, or how it differs from similar diagram tools. Inadequate for accurate selection.

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

Parameters2/5

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

Schema description coverage is 0%, so description must explain parameters. It only references the status_filter via 'filtered by status', but does not explain 'format' (default mermaid) or 'project_path' (likely needed for project context). Partial compensation.

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?

Clearly states it generates an overview diagram of ADRs with optional status filter. However, sibling 'adr_diagram' also produces diagrams, and the description does not differentiate them.

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?

No guidance on when to use this tool versus alternatives like adr_diagram or adr_list. Does not specify exclusions or prerequisites.

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

adr_readC

Read an ADR by number or title substring. Returns structured content.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYes
project_pathNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

C2.9/5.0
Behavior2/5

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

Read operation is implied but not explicitly stated as non-destructive. No mention of error handling, rate limits, or special permissions. Minimal disclosure beyond the obvious.

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?

Two sentences, no wasted words. Front-loaded with main purpose.

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?

Adequate for a simple read tool with output schema, but misses explanation of optional 'project_path' parameter. Could be improved by describing the structure of returned content.

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

Parameters2/5

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

Description explains 'query' parameter as number or title substring, but does not describe 'project_path' at all. With 0% schema coverage, this is insufficient.

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?

Verb 'Read' and resource 'ADR' are clear. Specifies lookup by number or title substring. However, it doesn't explicitly differentiate from sibling tool 'adr_search' which may also retrieve ADRs.

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?

No guidance on when to use this tool vs alternatives (e.g., adr_search for more complex queries). No when-not or conditions.

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

adr_supersedeB

Mark an ADR as superseded by another ADR, linking both.

ParametersJSON Schema
NameRequiredDescriptionDefault
old_numberYes
new_numberYes
project_pathNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3.3/5.0
Behavior3/5

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

The description indicates that the tool modifies the old ADR (marks as superseded) and links it to the new ADR. However, it does not disclose side effects, permission requirements, or reversibility. With no annotations, this minimal transparency is acceptable but not comprehensive, earning a middle score.

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?

The description is a single concise sentence that front-loads the core purpose. It is efficiently written without wasted words, though it could include slightly more detail without becoming verbose.

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?

Given the tool has three parameters (two required), no annotations, and an output schema (which may cover return values), the description lacks context on prerequisites, side effects, and usage scenarios. It is minimally complete for a simple mutation tool but could better address potential user questions.

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

Parameters2/5

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

The input schema has 0% description coverage, and the tool description does not explain the parameters. While parameter names ('old_number', 'new_number', 'project_path') are somewhat intuitive, the description adds no additional semantics or constraints. For a tool with undocumented parameters, this is insufficient.

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 clearly states the action ('Mark an ADR as superseded') and the resource ('ADR'), with specific detail about linking to another ADR. This distinguishes it from siblings like adr_deprecate (which likely only deprecates without a successor) and adr_update_status (which changes status generally).

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?

The description provides no guidance on when to use this tool versus alternatives. It does not mention situations where this tool is appropriate, such as when an ADR is replaced by another, nor does it warn about misuse or mention when not to use it (e.g., when simply deprecating without a successor).

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

adr_updateC

Overwrite an existing ADR with new markdown content.

ParametersJSON Schema
NameRequiredDescriptionDefault
numberYes
contentYes
project_pathNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

C2.6/5.0
Behavior2/5

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

No annotations provided. Description states 'overwrite' implying destructive action (replaces content), but does not disclose whether history is preserved, if permissions are needed, or if the operation is reversible. For a mutation tool without annotations, more behavioral context is needed.

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?

The description is a single sentence, front-loading the core action. It is concise, but could be expanded to cover behavioral notes without being verbose.

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

Completeness2/5

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

For a mutation tool with no annotations, the description is inadequate. It does not mention return values (despite having an output schema), error conditions, or the effect on linked ADRs. Sibling tools exist (e.g., adr_history) that could be referenced.

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

Parameters1/5

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

With 0% schema description coverage, the description adds no parameter-level meaning. The three parameters (number, content, project_path) are not explained beyond their names. The agent has no context on valid formats for content, or the role of project_path.

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?

The description clearly states the verb 'overwrite' and the resource 'existing ADR', and specifies the action is with 'new markdown content'. It distinguishes from siblings like adr_create (creates new) and adr_update_status (only updates status), but could be more explicit about the scope of overwrite (e.g., replaces entire content).

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?

No guidance on when to use this tool vs alternatives (e.g., adr_supersede, adr_update_status). No prerequisites or context provided. The agent must infer from the name and description.

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

adr_update_statusD

Change the status of an existing ADR.

ParametersJSON Schema
NameRequiredDescriptionDefault
numberYes
statusYes
reasonNo
project_pathNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

D1.8/5.0
Behavior2/5

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

No annotations are present, so the description must carry the full burden. It only states the action (change status) but does not disclose behavioral traits like permissions, side effects, or what the output schema contains.

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

Conciseness2/5

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

The description is a single sentence, which is under-specified for a tool with four parameters. It does not earn its place because it provides no useful information beyond the name.

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

Completeness1/5

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

Given the complexity (4 parameters, no schema descriptions, output schema present but undescribed), the description is entirely inadequate. It does not cover parameter meanings, return behavior, or usage context.

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

Parameters1/5

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

Schema description coverage is 0%, and the tool description does not add any meaning to the parameters. It fails to explain what values status accepts, what number refers to, or the purpose of reason and project_path.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Change the status of an existing ADR.' is a tautology that simply restates the tool name adr_update_status without adding specificity or distinguishing it from siblings like adr_deprecate or adr_supersede.

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?

No guidance is provided on when to use this tool vs. alternatives such as adr_deprecate, adr_supersede, or adr_update. The description does not mention use cases or exclusions.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 15 tool updatesv0.1.0
    • First observedadr_create
    • First observedadr_dependencies
    • First observedadr_deprecate
    • First observedadr_diagram
    • First observedadr_export
    • First observedadr_history
    • First observedadr_impact
    • First observedadr_link
    • First observedadr_list
    • First observedadr_overview
    • First observedadr_read
    • First observedadr_search
    • First observedadr_supersede
    • First observedadr_update
    • First observedadr_update_status

TDQS

B3.1/5.0

Scored across 15 tools

Disambiguation5/5

Each tool has a distinct purpose (create, read, update, list, search, deprecate, supersede, link, dependencies, diagram, export, history, impact, overview). No two tools overlap in functionality, making it easy for an agent to select the correct one.

Naming Consistency4/5

All tools share the 'adr_' prefix, but the stems vary between verbs (adr_create, adr_read) and nouns (adr_dependencies, adr_overview). This is mostly consistent and readable, with minor deviation from a strict verb_noun pattern.

Tool Count5/5

With 15 tools, the server covers the full lifecycle of ADR management without being overly granular or sparse. Each tool serves a clear purpose within the domain.

Completeness5/5

The tool set covers all core operations (CRUD, search, status changes) and extends to advanced features like dependency graphs, diagrams, export, and impact analysis. There are no obvious gaps for typical ADR workflows.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers