Define-XML MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | The port to use when transport is set to http. | |
| transport | No | The transport protocol to use for the MCP server (stdio or http). | stdio |
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": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| define_load_documentA | Load and parse a local Define-XML file. Returns a document_id for subsequent tool calls. |
| define_close_documentA | Remove a loaded Define-XML document from in-memory cache by document_id. |
| define_reload_documentB | Reload a previously loaded Define-XML document from disk, replacing the cached version. Returns the new document_id. |
| define_get_metadata_summaryA | Return high-level document metadata and counts of datasets/variables/codelists/ARM results. |
| define_list_datasetsA | List datasets (ItemGroupDef) from a loaded Define-XML document with pagination. |
| define_get_datasetA | Get a single dataset by OID or name from a loaded Define-XML document. |
| define_list_variablesA | List variables of a specific dataset from a loaded Define-XML document with pagination. |
| define_get_variableA | Get a single variable by name and dataset name from a loaded Define-XML document. |
| define_list_codelistsA | List codelists from a loaded Define-XML document with pagination. |
| define_get_codelistA | Get a single codelist by name from a loaded Define-XML document. |
| define_list_arm_resultsA | List ARM analysis results from a loaded Define-XML document (empty when ARM not present). |
| define_get_arm_resultB | Get a single ARM analysis result by OID or name from a loaded Define-XML document. |
| define_searchA | Search across datasets, variables, codelists, and ARM results in a loaded Define-XML document. |
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 13 tools
Each tool has a clearly distinct purpose: loading, closing, listing, and getting specific components (datasets, variables, codelists, ARM results) plus metadata summary and search. No overlap in functionality.
All tools follow the consistent pattern 'define_verb_noun' (e.g., define_load_document, define_list_datasets). Verbs and nouns are descriptive and uniform.
13 tools is well-scoped for a Define-XML document server: covers loading, reloading, querying individual items, listing with pagination, search, metadata summary, and memory management (close). Not excessive nor too sparse.
The tool set covers all fundamental read operations for Define-XML documents: load, list and get datasets/variables/codelists/ARM results, search, and metadata summary. Minor gaps like retrieving item groups beyond datasets or getting raw XML snippets exist but don't hinder core usage.