Tool Reference
The MCP server exposes tools for discovery, repo exploration, queries, changing data, apps, compute, visualization, access, and agent skills. In practice, you don't call these directly — the AI assistant picks and chains them based on your question — but understanding what's available helps you ask better questions and debug unexpected answers.
Every discovery and lookup tool returns a web_url field pointing at the corresponding page in the Arraylake web app. A well-behaved assistant will surface these as clickable links in its response.
Discovery
Tools for finding your way around.
| Tool | What it does |
|---|---|
list_orgs | Lists the organizations you belong to, with the web URL for each. |
list_repos | Lists repositories in an org. Supports text filtering. Returns description, visibility, and timestamps. |
get_repo_info | Full metadata for a single repo (description, visibility, creation/update times, default branch). |
search_marketplace | Searches the public Marketplace by name, org, or description. |
get_marketplace_listing | Full listing details: description, readme, license, pricing, sample queries. |
Repo exploration
Tools for looking inside a repo without downloading data.
| Tool | What it does |
|---|---|
get_repo_tree | Walks the hierarchical group/array structure of a repo at a given ref. Reports dtype, shape, and dimensions for each array. Configurable depth up to 5. |
get_dataset_info | Returns the xarray schema for a group — dimensions, coordinates, variables, attributes — plus enriched flags (is_datetime, tz_aware, is_multi_dim, indexable_as_range) that help the assistant build valid queries. |
get_marketplace_dataset_info | Same as get_dataset_info but targets a public Marketplace listing. |
list_refs | Lists all branches and tags in a repo with their commit IDs. |
list_commits | Walks commit history from a branch or tag. Paginated with cursors. |
get_commit | Single-commit metadata plus the full diff (new/deleted/updated groups and arrays, chunk counts). |
Queries
Write an openEO process graph, check it, save it, and run it. Reading and previewing need read access. Sampling and running use your org's compute credits, so they need the connection's run:compute scope, which it asks for when you connect; saving and running also need write:data.
| Tool | What it does |
|---|---|
query_authoring_context | The openEO processes the query engine supports, and a datacube description (dimensions, variables, extents) of each source. |
preview_query | Checks a draft or saved query compiles and reports its output fields and estimated memory, without computing anything. |
sample_query | Runs a draft on a small selection and returns the values (CSV or GeoJSON). |
list_queries, get_query | The org's saved queries, and one query's definition. |
save_query, update_query, fork_query, delete_query | Save a query; rename it or change its description; copy it to change its definition; delete it. |
run_query, get_query_run | Write a query's result to an Icechunk repo, an Iceberg table or a file, and follow the run. |
Changing data
Need the connection's write:data scope. Repos that are public or published in a listing can't be changed this way.
| Tool | What it does |
|---|---|
search_arraylake | Searches your repos, tables, orgs and listings by name. |
list_buckets, browse_files, list_iceberg_tables | An org's buckets, the files in one, and its Iceberg namespaces and tables. |
create_repo, update_repo | Creates an empty Icechunk repo; changes a repo's description or metadata. |
create_ref, delete_ref | Creates or deletes a branch or tag. |
update_attributes, move_node | Merges attributes into groups and arrays, or moves one, as a commit. |
start_ingest, get_ingest_status | Makes a repo from a Zarr store already in a bucket, and follows the job. |
subscribe_to_listing, claim_subscription | Subscribes to a Marketplace listing, or redeems a provider's claim code, creating a subscriber repo. |
Apps
Arraylake Apps (in closed beta) are static web apps that read Arraylake data as their viewer. An app can also commit to repos its viewers can write, if it asks for write:data. Deploying needs the connection's write:apps scope, and an assistant can do with apps whatever you can. Like a repo, a new app is private to your org: it opens for members who can read the org's repos. Ask the assistant to make it open to anyone signed in to Arraylake, or share it with specific people from the web app or with al apps. An app's pages read data as whoever opens it, so only deploy code you'd let run as your colleagues.
| Tool | What it does |
|---|---|
list_apps, get_app | An org's apps; one app's settings, deploys and files. |
deploy_app | Uploads an app's files (creating the app if needed) and returns its page in Arraylake. |
update_app, delete_app | Changes an app's description, who can open it or whether it may write, or rolls it back; deletes it. |
Access
A new connection can read. The assistant sees only the tools the connection's scopes allow, and asks for more when it needs them:
| Tool | What it does |
|---|---|
get_capabilities | What the connection can do, and which scope unlocks the rest. |
request_access | Asks you to approve more scopes (write:data, write:apps, or run:compute for a connection made before it existed). Your own Arraylake permissions still apply. |
Compute
Tools for running actual queries against deployed Compute services. These return live data.
| Tool | What it does |
|---|---|
list_compute_services | Lists the Compute services deployed in an org, with protocol, status, and public/private flag. |
list_service_datasets | Discovers queryable datasets on a service. Can be scoped progressively: org → repo → ref → group. |
get_service_dataset_info | Like get_dataset_info, but reads the schema via Compute's /_meta/datasets endpoint. Adds filter_hints per variable that encode EDR query pitfalls (see below). |
query_edr | Runs an OGC EDR query — position, area, or cube — and returns CSV, CoverageJSON, or GeoJSON. Supports arbitrary dimension filtering. Besides a repo, it reads a saved query, or the rows of an Iceberg table or bucket GeoParquet file. |
query_dap | Reads a dataset over OPeNDAP (DAP2): the DDS (structure), the DAS (attributes), or the ASCII values of a small subset picked by a constraint expression. Returns the DAP root URL for clients such as ncview or ncdump. Reads repos, saved queries, Iceberg tables and bucket files. |
diagnose_compute_service | Hits /health and /_meta/discovery on a service to distinguish auth problems from deployment problems. Use when any other Compute tool returns an error. |
get_service_logs | Fetches logs from a Compute service. Requires org admin. Capped at 50k characters. |
EDR query pitfalls
Tile and EDR queries have two traps that can fail a request (EDR now accepts a trailing Z, but tiles still don't). The get_service_dataset_info response flags both of them in filter_hints per variable, and the MCP server's system instructions tell the assistant to check before querying:
- Timezone-naive datetime coordinates reject ISO strings with a trailing
Z. Pass2026-04-15T06:00:00, not2026-04-15T06:00:00Z. - Multi-dimensional time coordinates (e.g.
valid_time(init_time, lead_time)in a forecast dataset) can't be filtered with the standarddatetime=...range. Filter on the 1-D component dimensions instead — e.g.init_time=...andstep=....
If you see the assistant hit one of these, ask it to call get_service_dataset_info first; the hints make the correct query obvious.
Visualization
Two ways to put data on a map. Either works — which one the assistant picks depends on whether you want to see the map in the chat or embed it somewhere.
render_dataset_map
Opens an interactive pan/zoom map widget directly in the conversation. The widget streams live tiles from Compute and supports the full MapLibre interaction model. Besides a repo, it maps a saved query (saved_query), or the points or polygons of an Iceberg table (table) or bucket GeoParquet file (bucket_file). Parameters include:
style— a matplotlib colormap name (viridis,plasma,RdBu_r, …) prefixed withraster/, or withpoints/orpolygons/for vector data.colorscalerange—[min, max]for the colormap.belowmincolor/abovemaxcolor— colors for out-of-range values.- Arbitrary dimension filters —
time,step,level, etc.
This is the right default for "just show me the data" questions in chat.
render_dataset_map is an MCP Apps Extension tool — it returns an embedded interactive widget rather than a plain text/JSON payload. It only works in clients that implement the Apps extension (today, that's Claude.ai and ChatGPT). In other clients its best to fall back to get_tile_url, which any client can render as a Markdown link or use to build its own map.
get_tile_url
Returns an XYZ tile URL template you can plug into MapLibre, Leaflet, Mapbox, OpenLayers, deck.gl, or any other tile-based map library. Two variants come back:
tile_url— same-origin, proxied through Arraylake, with a one-hour ticket embedded in the URL. NoAuthorizationheader required. Safe to share in a public artifact or static HTML page. Re-mint if you need it longer.upstream_tile_url— direct Compute endpoint. Requires Compute authentication — either anAuthorization: Bearer <token>header or HTTP Basic Auth ({org}:{api_key}). Never expires, but exposes your credentials — keep it server-side.
Also returns the dataset's bounding box, center, recommended zoom, and attribution.
Use get_tile_url when the user wants to build their own map — in an artifact, a static HTML page, or an app they're editing.
Prompts
The server also registers one MCP prompt, explore_repo, which walks the assistant through a guided exploration: get_repo_info → get_repo_tree → get_dataset_info on the largest group → list_commits → list_refs. Useful as a one-shot "show me what's in org/repo".
Agent skills
Tools for loading Arraylake-specific guidance into AI coding agents. These are most useful in clients that have not installed the Arraylake skills locally.
| Tool | What it does |
|---|---|
list_arraylake_skills | Lists Arraylake agent skills published by Earthmover. Each skill includes its top-level description plus a resources array of {path, description} entries so agents can pick the right reference without first having to fetch its body. |
load_arraylake_skill | Loads the main skill file or a specific resource path, such as references/xarray.md, references/mcp.md, or the ingestion skill's formats/GRIB.md. |
The skills cover common Arraylake workflows: using the Python client and CLI, driving the hosted MCP server, and reading or writing Icechunk/Zarr/Xarray data. Skills-aware agents should load them before writing Arraylake code or chaining MCP tools.