Skip to main content
Glama
DarkMatterProductions

mcp-project-context-server

create_adr

Creates a new Architecture Decision Record (ADR) with sequential numbering, Proposed status, and placeholders, using the given title and context.

Instructions

Create a new ADR: allocates the next sequential number, writes a 'Proposed'-status stub with the given title and context, and placeholder text in the remaining sections (Decision, Consequences, Alternatives Considered, ADR Review Discussion). No lock/retry against concurrent creation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesThe ADR's topic title (used verbatim in the heading).
contextYesThe Context section's content.
auto_reindexNoWhen true, automatically re-run `index_project_context` after the write and include its result. When false (default), the response includes a manual-reindex reminder.
project_pathYesAbsolute filesystem path, a short 'owner/repo' identifier, or a full https:// repository URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It transparently discloses several key behaviors: allocation of the next sequential number, writing a stub with placeholder text, and the lack of lock/retry for concurrent creation. However, it does not mention the return value/response format or potential error conditions, which leaves some behavioral gaps for a mutation tool.

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?

The description is a single, dense sentence that packs all essential information without fluff. The primary action ('Create a new ADR') is front-loaded, followed by precise details about the stub generation and the concurrency caveat. Every word earns its place, making it both succinct and structurally effective.

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?

Given the tool's complexity (sequential numbering, placeholder sections, optional reindex) and the absence of an output schema and annotations, the description covers most critical behavior. It does not describe the response/return value or error handling, but the auto_reindex parameter in the schema partially addresses response contents. Overall, it is fairly complete for an agent to invoke the tool correctly, with minor gaps.

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%, so the schema already documents all parameters. The description adds no additional parameter-specific meaning beyond what is in the schema (e.g., that title is used 'verbatim in the heading' is already in the schema's description). It does provide broader tool behavior context, but not extra parameter semantics, matching the baseline of 3.

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 tool's function with a specific verb and resource ('Create a new ADR') and goes into detail about what it does: allocate a sequential number, write a 'Proposed'-status stub with title and context, and fill remaining sections with placeholders. This distinguishes it from siblings like edit_adr, update_adr_status, and read_adr, making its purpose unambiguous.

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

Usage Guidelines3/5

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

The description implies usage is for creating a new ADR, but it does not explicitly state when to use this tool versus alternatives (e.g., when to edit vs. create, or when not to use it). It lacks explicit 'when not to use' guidance or mentions of sibling tools, so the agent must infer usage from the purpose alone.

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