Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
archprint_scanA

List the architecture rules this TypeScript repo already follows, with the evidence: each rule stated in plain words, whether it is AUTO (clears the confidence gate) or SUGGEST (short of it), its adoption ("enforce": archprint init or generate writes a rule for it, which archprint wire connects to the linter, and public-API rules need dependency-cruiser; "review": held for a human to review, not enforced by default; "report-only": the code follows it but archprint writes no rule for it), how many files conform vs. break it, the files that break it, and the confidence; and, in deadCode, every production file nothing imports (orphans), every one only tests import (importedOnlyByTests), and every such file a published package without an exports map ships, which its users may import by path (shipped), as suggestions to review, never enforced. Read-only. path defaults to "." and a monorepo root scans every app.

archprint_recommendA

Recommend an architecture rule set for this repo from its evidence and detected stack: what to enforce now, what the code already follows that archprint reports but does not write a rule for yet (reportOnly), what to review before enforcing, and what comparable repos commonly adopt that this repo does not yet. Read-only.

archprint_explainA

Explain one rule from archprint_scan in depth, by its id, label or ESLint name (e.g. AP-002, env-access, no-lib-to-app, "lib !-> app" or archprint/no-lib-to-app): its statement, gate status, adoption (enforce, review, or report-only, as in archprint_scan), observed conformance and confidence floor, and every file that breaks it (scan lists only a few). For the forbidden-import rules (AP-001, AP-002) it also returns each confidence-gate condition with its value and threshold, how to fix a violation, and when not to adopt the rule. A rule the team stated in CLAUDE.md or AGENTS.md and adopted (its id starts with doc-) comes back with the sentence the team wrote, its source line, what it enforces in plain words, its evidence and its exceptions. Read-only.

archprint_gap_reportA

Verify the rules a repo states in its context files (CLAUDE.md, AGENTS.md, .cursor/rules, ...) against its code. Read those files, then map each rule-like sentence to one template, quoting it exactly. archprint checks the quote is in the file and the mapping matches real files, measures how many files follow or break it, and returns a gap report: enforce now, enforce with a baseline (broken today, with the files), already an archprint rule, check the mapping, or guidance only. Show the report to the user: adopting a rule is their decision. Templates, with globs relative to path in ESLint syntax: "forbid-import" (files must not import targets, path globs matched on the file an import resolves to, or packages, specifier globs, each optionally limited to named imports such as {"name": "next/cache", "imports": ["unstable_cache"]}); "forbid-usage" (files must not use a global named in usage, such as "fetch", "window" or "process.env"); "forbid-file" (no new file may match files); "inferred" (the sentence is a rule archprint_scan lists; rule is its id); "none" (no template fits; give the reason, e.g. a style rule a standard linter covers). Read-only.

archprint_checkA

Check the current change, including uncommitted edits, against the rules this repo adopted with archprint init or generate, and report only the violations the change introduces (file, line, rule, and the evidence for the rule), plus those it fixed and any exceptions allowed with a reason in .archprint/config.json. It also lists the sentences the change adds to context files (CLAUDE.md, AGENTS.md, .cursor/rules, ...) that apply to the app and that no adopted rule quotes, marking the ones that read like rules, and the adopted rules whose sentence is no longer in its file. Use it before finishing a change. Compares with base (a branch or commit, default origin/HEAD). Read-only: the files of the base commit are copied to a temporary folder outside the repo and deleted afterwards; it runs no git hooks and changes nothing in the repo. Returns status "skipped" with the reason when the repo has not adopted rules.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 5 tools

Disambiguation4/5

Each tool covers a distinct step: check (diff vs base), gap_report (map prose rules to templates), scan (list existing rules), explain (drill into one rule), recommend (suggest a rule set). The only soft overlap is between gap_report, recommend, and scan, all of which surface candidate rules, but their inputs and outputs (prose sentences vs. detected stack vs. existing rules) differ enough to guide selection. Descriptions are long but clarifying, not muddying.

Naming Consistency4/5

All five tools share the archprint_ prefix and snake_case, giving an immediately recognizable family. Four use an action verb (check, scan, explain, recommend); gap_report is a noun phrase, a minor deviation but still readable and unambiguous.

Tool Count5/5

Five tools is well within a focused, appropriate scope for a read-only architecture-rule analysis server. Each tool earns its place: one for the pre-commit check, one for scanning, one for explaining a rule, one for validating stated rules, one for recommending a rule set.

Completeness4/5

The analysis lifecycle (scan -> explain -> gap_report -> recommend -> check) is well covered with read-only tools. The gap is the mutating side: initializing, wiring to the linter, and actually adopting a rule are only referenced as external CLI commands (archprint init/wire), so the MCP surface dead-ends at 'show the user, they decide' with no config read/write tool.

Maintenance

ActivityActive
ResponsivenessOutdated data