ASAM ODS odsbox jaquel MCP Server
v1.8.3MCP server for ASAM ODS with Jaquel query tools, connection management, and data access
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
query_validate
Validate a Jaquel query structure for syntax errors and best practices.
| Parameter | Type | Description |
|---|---|---|
query * | object | Jaquel query dict to validate. Top-level key is the entity name (e.g. 'AoTest'), value is a filter/attribute object. Example: {"AoTest": {"name": {"$like": "*"}}, "$attributes": {"id": 1, "name": 1},… |
query_get_operator_docs
Get documentation and examples for a Jaquel operator.
| Parameter | Type | Description |
|---|---|---|
operator * | string | Jaquel operator name, e.g. '$like', '$gt', '$in', '$between' |
query_get_pattern
Get a template for a common Jaquel query pattern.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | Pattern name: get_all_instances, get_by_id, get_by_name, case_insensitive_search, time_range, inner_join, outer_join, aggregates |
query_list_patterns
List all available Jaquel query patterns and templates.
query_generate_skeleton
Generate a query skeleton for a specific entity and operation.
| Parameter | Type | Description |
|---|---|---|
entity_name * | string | ODS entity name (e.g. 'AoTest', 'AoMeasurement', 'AoSubMatrix') |
operation | string | Type of query: get_all, get_by_id, get_by_name, search_and_select |
query_describe
Describe what a Jaquel query does.
| Parameter | Type | Description |
|---|---|---|
query * | object | Jaquel query dict to describe. Top-level key is entity name, value is filter/attribute object. Example: {"AoTest": {"name": {"$like": "*"}}, "$attributes": {"id": 1, "name": 1}} |
schema_get_entity
Get available fields for an entity from ODS model.
| Parameter | Type | Description |
|---|---|---|
entity_name * | string | Entity name (e.g., 'StructureLevel') |
schema_field_exists
Check if a field exists in entity schema.
| Parameter | Type | Description |
|---|---|---|
entity_name * | string | ODS entity name (e.g. 'AoTest', 'AoMeasurement') |
field_name * | string | Field/attribute name to check (e.g. 'name', 'id', 'version') |
schema_list_entities
Return a list of existing entities from the ODS server ModelCache.
schema_test_to_measurement_hierarchy
Get hierarchical entity chain from AoTest to AoMeasurement via 'children' relation.
ods_connect
Establish connection to ASAM ODS server for live model inspection.
| Parameter | Type | Description |
|---|---|---|
password * | string | |
url * | string | ODS API URL (e.g., http://localhost:8087/api) |
username * | string | ODS username for authentication |
verify | boolean | Verify SSL certificates (default: true) |
ods_connect_using_env
Establish connection to ASAM ODS server using environment variables. Default prefix is ODSBOX_MCP; set ODSBOX_MCP_ENV_PREFIX or pass env_prefix. Falls back to legacy ODS_ prefix variables. Supports three authentication modes via {prefix}_MODE or ODSBOX_MCP_{prefix}_MODE: - basic (default): Username/password. Vars: URL, USERNAME, PASSWORD, VERIFY. - m2m: OAuth2 client credentials. Vars: URL, M2M_TOKEN_ENDPOINT, M2M_CLIENT_ID, M2M_CLIENT_SECRET, M2M_SCOPE (optional, comma-separated), VERIFY. - oidc: OpenID Connect browser login. Vars: URL, OIDC_CLIENT_ID, OIDC_REDIRECT_URI, OIDC_CLIENT_SEC…
| Parameter | Type | Description |
|---|---|---|
env_prefix | Optional: override the environment variable prefix (default: ODSBOX_MCP) |
ods_disconnect
Close connection to ODS server.
ods_get_connection_info
Get current ODS connection information.
ods_connect_env_list
List all ODS servers configured via environment variables. Returns each server's prefix and URL so you can identify the right server and connect with ``ods_connect_using_env(env_prefix='PREFIX')``.
query_execute
Execute a Jaquel query directly on connected ODS server.
| Parameter | Type | Description |
|---|---|---|
query * | object | Jaquel query dict to execute. Top-level key is entity name, value is filter/attribute object. Example: {"AoTest": {"name": {"$like": "*"}}, "$attributes": {"id": 1, "name": 1}, "$options": {"$rowlimit… |
max_cells | integer | Adaptive cell budget: effective_rows = min(max_rows, max_cells // col_count). Default 10 000 ≈ 6 000 LLM tokens for double data. Increase only if you need more data and understand the context cost. |
max_rows | integer | Maximum number of rows to return (default: 100). Also capped adaptively by max_cells to protect LLM context size. Use a small value like 10-20 for wide results (many columns). |
result_format | string | Result serialisation format: "split" (default) encodes column names once — {"columns": [...], "index": [...], "data": [...]}; "records" repeats all keys per row — [{"col": val, ...}, ...]. "split"… |
data_get_quantities
Get available measurement quantities for a submatrix.
| Parameter | Type | Description |
|---|---|---|
submatrix_id * | integer | ID of the submatrix |
data_read_submatrix
Read timeseries data from a submatrix using bulk data access.
| Parameter | Type | Description |
|---|---|---|
submatrix_id * | integer | ID of the submatrix to read |
case_insensitive | boolean | Whether pattern matching should be case insensitive |
date_as_timestamp | boolean | Convert date columns to pandas timestamps |
max_preview_size | integer | Maximum number of rows in data preview (default: 100) |
measurement_quantity_patterns | List of measurement quantity name patterns to include | |
preview_sampling_method | string | Method for resampling preview data: auto, uniform, time_aware, random, stratified, minmax |
set_independent_as_index | boolean | Set the independent column as DataFrame index |
data_generate_fetcher_script
Generate Python scripts for fetching submatrix data with error handling and data processing.
| Parameter | Type | Description |
|---|---|---|
script_type * | string | Type of script: basic, advanced, batch, analysis |
submatrix_id * | integer | ID of the submatrix to fetch data from |
include_analysis | boolean | Include basic data analysis examples |
include_visualization | boolean | Include matplotlib visualization code |
measurement_quantity_patterns | List of measurement quantity patterns to include | |
output_format | string | Desired output format for the data |
plot_comparison_notebook
Generate a Jupyter notebook for comparing measurements. Uses the active ODS connection (established via ods_connect or ods_connect_using_env). The generated notebook reads the password from the ODS_PASSWORD environment variable at runtime so no credentials are embedded in the notebook file.
| Parameter | Type | Description |
|---|---|---|
measurement_quantity_names * | array | Names of quantities to plot |
measurement_query_conditions * | object | Filter conditions for measurements (MeaResult attributes). Example: {"Name": {"$like": "Profile_*"}} or {"TestStep.Test.Name": {"$eq": "MyTest"}} |
available_quantities | List of all available quantities (for documentation) | |
output_path | Optional path to save notebook (.ipynb file) | |
plot_type | string | Type of plot ("scatter", "line", or "subplots") |
title | string | Notebook title |
plot_generate_code
Generate Python plotting code for measurement comparison.
| Parameter | Type | Description |
|---|---|---|
measurement_quantity_names * | array | List of quantity names to plot |
plot_type * | string | Type of plot ("scatter", "line", or "subplots") |
submatrices_count * | integer | Number of submatrices to plot |
help_bulk_api
Get help and guidance on using the Bulk API for loading timeseries data. Use this to understand the 3-step workflow and common patterns.
| Parameter | Type | Description |
|---|---|---|
topic * | string | Help topic |
tool | Optional: Get contextual help for a specific tool (e.g., data_read_submatrix, ods_connect) |