Repository navigation
v1.13.0 — Business Glossary
Highlights
📖 Tier 9 — Business Glossary: twelve new tools (#51)
Tier 1 can tell you a column is named CD_NAC_RSK, that it is a varchar(3), and which table it lives in. It cannot tell you what it means, who decided that, or whether anyone has decided at all. That meaning lives in the SAS Business Glossary, and this release is the server learning to read and write it.
The gap matters most for exactly the questions people bring to an MCP server. "Which tables carry counterparty exposure?" is a glossary question wearing a data-discovery costume — the answer depends on which columns a governance team attached a term to, not on column names, which are frequently unhelpful (CD_NAC_RSK) or actively misleading (two AMOUNT columns meaning different things).
| Reading | Linking | Authoring |
|---|---|---|
search_glossary_terms — ranked free text over names and definitions |
list_term_assets — where is this term used? |
create_glossary_term |
list_glossary_terms — structural: by type, parent, name |
list_table_terms — what does every column of this table mean? |
update_glossary_term |
get_glossary_term |
delete_glossary_term |
|
list_glossary_term_types / get_glossary_term_type |
assign_glossary_term / unassign_glossary_term |
Enable the tier alone with MCP_TIERS=9. Seven of the twelve survive MCP_READ_ONLY.
🧩 Three sharp edges the tier absorbs
The Glossary REST API can answer all of the above, but three of its properties make a direct wrapping quietly wrong rather than loudly broken.
A term has two identities, and the bridge between them is invisible by default. Every term exists twice — as a Glossary object and as an Information Catalog entity, under different ids. The glossary id is what you read and write; the catalog id is what asset relationships point at and what catalog search returns. Get them the wrong way round and the call 404s.
They are joined by the catalog entity's resourceId, and that field is absent from the default representation. Read the entity as anything other than application/vnd.sas.metadata.instance.entity+json and resourceId is simply not in the body — no error, no warning, just a missing key. This is the failure mode worth knowing about, because it does not look like a failure: code reading resourceId from the default representation gets None for every term and therefore reports "this table has no glossary terms" for a table that is fully governed. Every tool here returns both ids explicitly, as term_id and catalog_entity_id.
Custom attributes are keyed by UUID, with the labels held elsewhere. A term's attributes come back as {"8f3c…e21": "Group"}; the human label (Scope) lives on the term type, a separate resource. These tools resolve UUID→label on read and label→UUID on write, so a caller works in {"Scope": "Group"} throughout. They also drop the empty values the glossary stores for every declared attribute, validate single-select values and required attributes before calling Viya — naming the valid labels, which is a mistake a model can correct where an HTTP 400 is not — and coerce booleans to the "true"/"false" strings the glossary stores, since passing a real bool is accepted and then displays as True forever.
Term↔asset links are catalog relationships, and their endpoints are representation-dependent too. endpoint1Id/endpoint2Id appear only under application/vnd.sas.metadata.instance.relationship+json. Supplying that as the collection's Accept-Item returns the endpoints straight from a filtered query, instead of one round trip per link. On a live 13-column table, measured end to end:
| requests | wall clock | |
|---|---|---|
| per-link traversal | 27 | 4.83 s |
batched Accept-Item |
4 | 0.89 s |
Identical answers.
✍️ Two authoring defaults worth knowing
create_glossary_termpublishes by default. The API's?publishparameter defaults tofalse, so a plain POST creates a draft visible to nobody but its author — almost never what "create a term" means when a model does it on your behalf.publish=falsestill gets you the draft.update_glossary_termmerges rather than replaces. The API's update is a whole-resource PUT, so the naive wrapping blanks every field you did not mention. This reads the current term first and merges; attributes merge one at a time.
📄 Reading every asset of a heavily used term
list_term_assets takes limit (default 100, ceiling 500 — the catalog's page size) and start, and reports the term's total asset count alongside the page, plus truncated and the exact next_start to pass. A term governing thousands of columns is read in full by paging, rather than being cut off at a fixed ceiling with no way past it.
🔎 Also reachable from Tier 1
Terms assigned this way become searchable through catalog_search using the Column.term:"<term name>" facet on the datasets index, which returns the tables carrying a term without resolving individual columns. Matching is case-insensitive. (The catalog's own index for terms is terms, plural — singular term returns HTTP 400.)
🔢 Tool count
87 tools across tiers 0–9 — up from 75. 50 read-only (was 43), 18 destructive. Nothing existing changed shape: no tool was removed, renamed, or altered in behaviour.
🐳 Container image
docker pull ghcr.io/sassoftware/sas-mcp-server:1.13.0Helm chart 0.2.3 (appVersion 1.13.0); both sample manifests and the pull/mirror instructions point at 1.13.0.
⚠️ Upgrading
Drop-in. Container and Kubernetes deployments pick it up with the new image tag; a source checkout wants the usual uv sync. Nothing in .env, the chart values, or any client configuration needs to change — though if you set MCP_TIERS explicitly, Tier 9 is not included unless you add it.
📄 Details
- CHANGELOG — 1.13.0
- Full changelog: v1.12.0...v1.13.0