Skip to main content
Glama
malkreide

lindas-mcp

by malkreide

query_cube_observations

Read-onlyIdempotent

Fetch actual data points from a Swiss data cube, with coded dimension values resolved to human-readable labels for clarity.

Instructions

Read the actual data points of a cube, with codes resolved to labels.

This is phase 2. Values are returned keyed by human-readable dimension names, and coded dimension values (e.g. region "1805") are replaced by their labels (e.g. "Alpennordhang") unless you turn that off.

For large cubes this reads only the first limit observations. LINDAS has no cheap way to filter observations server-side by arbitrary dimension value, so heavy analytical slicing belongs in run_sparql.

Args: cube_uri: A cube URI from search_cubes. language: Language for labels. limit: Maximum observations to return (1-500). resolve_labels: Replace coded values with human labels.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
cube_uriYes
languageNode
resolve_labelsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceNoData: LINDAS Linked Data Service, Swiss Federal Archives — https://lindas.admin.ch. Each cube declares its own licence; check the `licence` field before reuse.
licenceNo
cube_uriYes
returnedYes
cube_nameNo
provenanceNolive_sparql
observationsYes
retrieved_atYes
labels_resolvedYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate read-only, idempotent, and non-destructive behavior. The description adds valuable context about the limit on observations, label resolution toggle, and the inability to filter server-side, going beyond annotation basics.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a brief overview, a contextual note about limitations, and an Args list. Every sentence provides essential information without redundancy, making it appropriately concise yet informative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the presence of an output schema and strong annotations, the description fully covers the tool's purpose, limitations, and usage context. It mentions the 'phase 2' pipeline position and provides the needed alternative for heavy queries, making it complete for invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the schema lists parameters, the description gives each parameter semantic meaning: cube_uri from search_cubes, language for labels, limit as observation cap, and resolve_labels toggling label replacement. This clarifies how each parameter affects behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool 'Read the actual data points of a cube' with a specific resource and action. It adds details about label resolution and keying by dimension names, distinguishing it from sibling tools like run_sparql.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says to use this for reading observations and to use run_sparql for heavy analytical slicing, noting the lack of cheap server-side filtering. This provides clear when-to-use and when-not-to-use guidance with a named alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/malkreide/lindas-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server