Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoBind host (SSE transport only). Loopback by default; set HOST=0.0.0.0 only inside a container127.0.0.1
PORTNoBind port (SSE transport only)8000
TERMDAT_MCP_LOG_LEVELNostructlog level (JSON to stderr)INFO
TERMDAT_MCP_TRANSPORTNoTransport: stdio (local) or sse / streamable-http / http (cloud)stdio
TERMDAT_MCP_VOCAB_TTLNoVocabulary cache TTL in seconds86400
TERMDAT_MCP_CORS_ORIGINSNoSSE only: explicit allowed browser origins (default-deny; never a wildcard in production)[]

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_termsA

Search TERMDAT for official designations of the Swiss Federal Administration.

Use this to look up the officially validated German/French/Italian/English name of an authority, department or legal act — for example to check how a body is named in another national language before citing it.

search_term is Lucene query syntax: * and ? wildcards and the ~ fuzzy operator work. Matching is on whole words, so a compound is not found by its parts — «Quellensteuer» does not match «Quellensteuerverordnung», but «Quellensteuer*» does. Reach for a wildcard before concluding a term is absent.

out_language adds a target language to every entry's variants — it is purely additive and never filters the result set. fields is a comma-separated subset of: Terminus, Name, Abbreviation, Phraseology, Definition, Note, Context, Source, Metadata, Country, Comment; empty means Terminus, Name, Abbreviation, Phraseology, Definition, Note, Source. By default the search spans all 23 subject classifications; pass classification_ids or collection_ids to narrow it (see list_classifications / list_collections).

Scope caveat: TERMDAT holds administrative nomenclature (authority names, titles of legal acts, abbreviations), not domain vocabulary — so a term may genuinely be absent. Establish that with a wildcard retry, not from a single empty result, and never fill the gap with a guessed designation.

get_entriesA

Fetch known TERMDAT entries by their numeric IDs, with full language variants.

Use this to re-retrieve an entry you already found via search_terms (its entry_id), e.g. to pull all four national-language designations at once.

translate_termA

Get the official equivalent of an administrative term in another national language.

Returns the preferred designation (sequence 1) plus accepted variants, per matching entry. Use this for authority names, department titles and titles of legal acts.

Matches only against designation fields, so a term merely mentioned in a definition is never reported as an equivalent. term accepts Lucene wildcards; on an empty result retry with term* before concluding there is no equivalent.

check_termsA

Check a list of terms against validated TERMDAT designations.

Intended for communication QA: verify that authority names, department titles and abbreviations in a draft match the officially validated form. Each term is reported as validated, found_unvalidated or not_found. Up to 25 terms per call; the lookups run concurrently.

list_collectionsA

List the ~140 TERMDAT collections, for use as collection_ids filters.

list_classificationsC

List the 23 subject classifications (e.g. BILD = education), for classification_ids.

api_statusA

Availability of the TERMDAT API. Never returns silently empty.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/malkreide/termdat-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server