tier-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| tier_contextA | PRIMARY ENTRY POINT: answer a question about a codebase or document in ONE call. Resolves (and auto-builds/syncs) the repository index, routes with hybrid search, matches symbol names, then packs L2 section bodies, L3 source slices, and a dependency summary until budget_tokens is reached. Use this first; fall back to the granular tier_* tools only when you need a specific section id, symbol, or lint check. |
| tier_listA | List available TIER docs with a one-line summary each. Call first to discover docs. |
| tier_indexA | Get a doc's summary, global rules, and section index (id, token cost, rule count, abstract). Read this BEFORE fetching sections; then fetch only what you need with tier_get. |
| tier_findC | Hybrid search over a doc: identifier splitting, synonyms, and character n-gram fallback. Returns best-matching section ids with scores. |
| tier_getA | Fetch one or more sections by id. Set follow=true to also pull sections they reference. Sections already returned earlier in this session are replaced by a one-line stub; set force=true to resend them, or reset=true to clear the session cache for this doc first. table_format=anchored renders tables with row anchors and column labels for better field retrieval. |
| tier_sliceA | Fetch exact L3 source lines for one or more symbols recorded in a repo.tier symbol table. Returns @module#symbol [Lstart-Lend] plus a fenced source slice. Already-served slices are stubbed unless force=true. |
| tier_impactB | Analyze direct/transitive dependents and dependencies for a section or symbol. With git=true, includes changed modules, changed symbols, and downstream blast radius. |
| tier_syncB | Incrementally refresh a repo.tier from disk: re-parse only changed or added files, remove deleted modules, and invalidate changed sections and L3 slices in the session cache. Set rehash=true to compare content hashes instead of trusting recorded mtime+size. |
| tier_lintC | Validate a TIER doc (table row counts, dangling refs, duplicate ids). |
| tier_ingestA | Compress raw Markdown, JSON, or command/log output into TIER on the fly. Auto-detects the format. Returns the full TIER document, its L0 index, or a budgeted view with only priority sections. Use max_tokens to cap context; save_as persists the full artifact. |
| tier_repoA | Index a repository directory into a layered TIER architecture map. Each module section contains exported symbol signatures with line ranges and '>' edges to local dependencies. Use index_only=true for just the L0 map. |
| tier_rememberC | Persist verified agent memory into a .tier file. Actions: rule (global rule), section (upsert a section with abstract/body), append-rule, append-kv, or append-ref. The write is lint-checked and atomic; the section is invalidated in the session cache. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Most tools target distinct operations (find, get, slice, impact, sync, lint, ingest, repo, remember), and the description of tier_context explicitly establishes a primary/granular hierarchy that reduces selection risk. The only mild overlaps are tier_list vs tier_index (doc discovery vs per-doc index) and tier_context vs the find/get/slice chain, but descriptions disambiguate these adequately.
All 12 tools share a uniform 'tier_' namespace prefix with short single-word suffixes, which is highly predictable. Minor inconsistency: some suffixes are verbs (list, find, get, sync, lint, ingest) while others are nouns or noun-like (context, index, slice, impact, repo), though each remains readable.
Twelve tools sit in the sweet spot and each maps to a real function of the system: discovery, indexing, retrieval, search, dependency analysis, sync, validation, ingestion, and memory persistence. Nothing appears redundant or bolted on.
The surface covers the full lifecycle: discover, index/sync, search, fetch, slice source, analyze impact, lint, ingest, and write memory. Minor gaps remain — there is no delete/prune operation for stale docs, sections, or symbols, and no export/round-trip back to Markdown, which agents may need to work around.