Skip to main content
Glama
Oceanum MCP

Oceanum MCP

Official
by oceanum-io

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATAMESH_TOKENYesOceanum API token (shared by all servers)
OCEANUM_DOMAINNoOverride the base domain for all services (default: oceanum.io)oceanum.io
STORAGE_SERVICENoCustom storage service URL (default: https://storage.oceanum.io)https://storage.oceanum.io
DATAMESH_SERVICENoCustom datamesh service URL (default: https://datamesh.oceanum.io)https://datamesh.oceanum.io

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Access the Oceanum platform for ocean/environmental data and cloud storage. Datamesh tools search, query, and manage datasets. Storage tools browse and read files in Oceanum cloud storage (read-only).

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
datamesh_search_catalogA

Search the Oceanum Datamesh catalog for datasets.

Catalog search only covers datasources accessible to the credentials used for this request; a datasource missing from the results either does not exist or is not accessible with these credentials, so do not report it as nonexistent.

datamesh_get_datasource_infoA

Get the metadata for one datasource: coverage, coordinates and variables.

The default view keeps every field of the full record but reduces each variable and coordinate to its dims, shape, dtype, units, long_name and standard_name, clips the description and long attribute values, caps global attributes. On very large records it sheds attributes and then per-variable details (the note says which), but every variable name is always listed.

datamesh_get_datasource_noticesA

Get the active notices about one datasource: deprecations, outages, changes and other announcements from Oceanum.

get_datasource_info already shows outage and action_required notices (clipped) and counts the others; use this tool to read them all in full.

datamesh_stage_queryA

Dry-run a query: report the result size WITHOUT downloading any data.

Always stage before retrieving data you have not sized. The response says whether the result is small enough for query_data to return inline, and echoes the canonical query. With limit plus time_resolution or aggregate_operations the reported size is that of the unlimited result (limit is applied after resampling), so it is an upper bound.

A variable given as the exact CF standard_name of exactly one of the datasource's variables (e.g. "sea_surface_wave_significant_height" for "hs") is resolved to that variable; the response then includes resolved_variables ({requested: used}) and echoes the resolved names.

datamesh_query_dataA

Query a datasource and return small results inline.

The query is staged first; results larger than the inline limit are not downloaded (datasets are summarized lazily, tabular queries are refused with alternatives), and results above 1 GB are refused with narrowing advice and each variable's dims, unless limit is combined with time_resolution/aggregate_operations (the limited slice may be small, so a dataset is then opened lazily). Use stage_query to size a query before calling this.

Inline values are a preview when preview is true (returned of total records): never compute statistics from a preview; use aggregate_operations or time_resolution instead.

limit keeps the last N records (Datamesh semantics: the last N steps along time/ensemble). Combined with time_resolution or aggregate_operations, limit is applied by this server AFTER resampling/aggregation (to the last N resampled steps, or the last N rows of a table) rather than sent to Datamesh. A limited result is a subset of the requested range, so it is flagged as a preview, with a limit_note.

A variable given as the exact CF standard_name of exactly one of the datasource's variables (e.g. "sea_surface_wave_significant_height" for "hs") is resolved to that variable; the response then includes resolved_variables ({requested: used}) and echoes the resolved names.

datamesh_export_queryA

Export the FULL result of a query — the data never enters the conversation.

Behavior depends on how the server is running:

  • Hosted (http/sse): returns a time-limited, self-authenticating gateway download_url (choose format via format); path is ignored. Fetch the URL out-of-band — it needs no credential, so treat it as a secret. When the response includes expires_at or max_uses, fetch it before expires_at and at most max_uses times. Refused above the hosted export cap, and for limit combined with time_resolution/aggregate_operations.

  • Local (stdio): writes the result to the local file path (required) and returns that path. Gridded datasets stream to NetCDF; tabular results write Parquet or CSV, as do datasets small enough to flatten into a table (e.g. point time series). Refused up front if the result exceeds the local export cap or the destination's free disk space. With limit plus time_resolution/aggregate_operations, the last N resampled steps are written.

The size is checked before anything is exported, whether or not stage_query was called. An export writing more than 1 GB in the chosen format (CSV text is about 3x; locally, a dataset written as CSV/Parquet is sized as the flattened table, and a limited one on its limited slice) is refused unless confirm_size_bytes equals that size (on hosted, within 5%, since the download stage is sized separately): ask the user first. The refusal states the exact value. The server cannot see whether the user was asked, so this is advisory: it forces an explicit, size-aware step. The export caps limit the transfer, not the size of each file: never split a refused request into parts to get under them.

A variable given as the exact CF standard_name of exactly one of the datasource's variables (e.g. "sea_surface_wave_significant_height" for "hs") is resolved to that variable; the response then includes resolved_variables ({requested: used}) and echoes the resolved names.

datamesh_describe_resultA

Describe a result handle from stage_query: its query, size, variables with units, and provenance.

The returned oceanql is the query itself, usable as is: as an EIDOS view's oceanql source, in sandbox code as Connector().query(**oceanql), or by passing the result_id to query_data or export_query. provenance is a W3C PROV-shaped record to cite under any number derived from the result.

datamesh_get_verified_examplesA

Worked examples for a datasource: questions with the exact tool calls that answer them and the expected result, with units.

Use them to see how a question about this datasource maps onto stage_query/query_data parameters. Only the example split is served; held-out ground truth never is. An empty verified_by means the entry was computed from live data but not yet signed off by a person.

datamesh_load_datasourceA

Summarize an entire datasource.

Gridded datasources are opened lazily (no data download). Tabular datasources are downloaded only if under the inline size limit; use query_data with filters to retrieve larger ones.

datamesh_update_metadataA

Update metadata properties on an existing datasource.

Only the provided fields will be updated; others remain unchanged. Not available when the server runs with OCEANUM_MCP_READ_ONLY set.

storage_list_filesC

List files and directories in Oceanum cloud storage.

storage_file_existsB

Check if a file or directory exists in Oceanum storage.

storage_read_fileB

Read the contents of a text file from Oceanum storage.

storage_file_infoB

Get metadata about a file or directory in Oceanum storage.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 14 tools

Disambiguation4/5

Most tools have clearly distinct purposes: search_catalog, stage_query, query_data, and export_query form a clean progression, and storage_* tools are distinct. The only mild overlaps are get_datasource_info vs load_datasource (metadata vs summary) and describe_result vs query_data, but the descriptions clarify these boundaries well.

Naming Consistency5/5

All tools use consistent snake_case with a domain prefix (datamesh_/storage_) followed by a clear verb_noun pattern (get_datasource_info, query_data, export_query, list_files). No mixed conventions.

Tool Count5/5

14 tools is well within the ideal 3-15 range, and each tool covers a distinct operation in the data query/export or storage lifecycle. No filler tools present.

Completeness4/5

The datasource lifecycle is thoroughly covered: catalog search, metadata, examples, notices, staging, querying, exporting, and result description, plus a read-oriented storage surface. The notable gap is storage write/upload/delete operations (only list, exists, read, info), so the storage side is read-only.

Maintenance

ActivityActive
ResponsivenessLimited data