cpp26-adapter
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 | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| lookup_paperA | Return the full markdown reference for a C++26 paper. Args: paper_id: WG21 paper identifier (e.g. 'P2996', 'P2900'). Returns: The contents of corpus/references/.md, including the YAML frontmatter (id, title, revision, tier, keywords, canonical_url, …) and the prose body (problem, syntax, canonical example, pre-C++26 equivalent, gotchas, related). Raises: FileNotFoundError when the paper is unknown to the index, or known but its reference markdown has not yet been authored. |
| searchA | Free-text search over the C++26 paper index. Matches against title (weighted ×2), keywords, and category using rapidfuzz's WRatio scorer (a robust fuzzy match for short strings). Args: query: free-text query, e.g. 'reflection', 'enum to string', 'contracts assert'. top_k: number of matches to return (default 5). Returns: A list of dicts: {id, title, tier, category, score (0-100), path}. Empty list when the index is empty or the query is blank. |
| compiler_statusA | Look up compiler implementation status for a C++26 paper. INFORMATIONAL ONLY. The cpp26-adapter suggestion path is compiler-agnostic by design — the model must not gate recommendations on this. Use it for classifying review diagnostics as bug-vs-compiler-lag, never for choosing which idiom to write. Args: paper_id: WG21 paper id (e.g. 'P2996'). compiler: optional compiler key — 'clang-22', 'clang-p2996', 'gcc-16', 'msvc-19.40'. When omitted, returns status for every known compiler. Returns: A dict containing at minimum {paper_id, informational_only: True}. For known entries: {support, note, version, ...} (schema depends on corpus/status.yaml). For unknown paper or compiler: {support: 'unknown', note: ...}. |
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 3 tools
Each tool serves a distinct purpose: compiler_status checks compiler support, lookup_paper retrieves full paper details, and search performs free-text queries. There is no functional overlap.
All tool names use lowercase with underscores, but 'compiler_status' and 'lookup_paper' follow a verb_noun pattern while 'search' is a single verb. The inconsistency is minor.
With 3 tools, the server is well-scoped for its purpose. Each tool provides essential functionality without being excessive or too sparse.
The tools cover searching, retrieving paper details, and checking compiler support. A missing feature is a way to list all papers, but the search tool can approximate this with broad queries.