get_cube_structure
Retrieve a cube's dimensions, measures, and licence from LINDAS. Use it first to know available filters and value types before querying data.
Instructions
Read a cube's dimensions and measures — always call this before data.
This is phase 1 of the two-phase access pattern. It tells you which
dimensions you can filter on (KeyDimension), which values are measured
(MeasureDimension), and which dimensions carry code lists. It also
returns the licence, which is frequently a Fedlex URI you can resolve with
fedlex-mcp.
Args:
cube_uri: A cube URI from search_cubes.
language: Language for dimension names and description.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cube_uri | Yes | ||
| language | No | de |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| source | No | Data: LINDAS Linked Data Service, Swiss Federal Archives — https://lindas.admin.ch. Each cube declares its own licence; check the `licence` field before reuse. | |
| status | No | ||
| licence | No | Often a Fedlex URI — joins to fedlex-mcp. | |
| version | No | ||
| cube_uri | Yes | ||
| dimensions | Yes | ||
| provenance | No | live_sparql | |
| description | No | ||
| creator_name | No | ||
| retrieved_at | Yes |