Skip to main content
Glama

ai_adr

Read-only

AI Architecture Decision Record — Write an Architecture Decision Record (MADR format): decision= (required) plus optional context=, options= (separated by |), number= and status= (proposed/accepted/rejected/deprecated/superseded). Returns title, context, decision drivers, options with pros and cons, chosen option (always one of the options), rationale, positive and negative consequences, risks with mitigations, follow-up tasks, a revisit trigger, and ready-to-commit markdown. Price: $0.008 USDC (Base, via x402).

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": {
      "decision": "<decision>"
    },
    "name": "ai_adr"
  }
}

Input Schema

NameRequiredDescriptionDefault
decisionYese.g. use PostgreSQL instead of MongoDB for the orders service

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), and the description adds genuinely new behavior: a concrete price of $0.008 USDC charged via x402 on Base, plus the guarantee that the chosen option is always one of the supplied options. The payment requirement in particular is information an agent cannot get from any structured field. 'Write' alongside readOnlyHint=true is not a contradiction, since the tool emits ready-to-commit markdown rather than persisting anything.

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?

Everything sits in one front-loaded paragraph: name and format first, then inputs, then outputs, then price. The long enumeration of return fields is dense but earns its place because there is no output schema. Minor waste in restating 'AI Architecture Decision Record' before the useful detail.

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?

With no output schema, the description correctly takes on the burden of describing the return shape, which it does thoroughly, and it discloses the paid-endpoint requirement. However, the invented optional parameters leave the definition internally inconsistent with its own schema, which is a material completeness defect for an agent trying to construct a valid call.

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 description advertises optional context=, options= (pipe-separated), number= and status= with an enum-like list, but the input schema exposes only a single required 'decision' property. An agent following the description would attempt arguments the schema rejects. The one real parameter is already fully documented by the 100% schema coverage, so the added text actively misleads rather than illuminating.

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 opens with a specific verb and resource: write an Architecture Decision Record in MADR format. That is far more concrete than the sibling names alone (e.g. ai_decision_matrix) and makes the artifact produced unambiguous. It stops short of an explicit contrast with the nearest siblings, but the resource is distinctive enough that an agent can route to it.

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?

Usage is implied rather than stated: the MADR framing tells the agent this is for architecture decisions, and the required/optional input list shows how to invoke it. There is no when-to-use versus when-not guidance and no mention of the nearest alternative such as ai_decision_matrix, so the agent must infer the boundary.

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