Skip to main content
Glama

list_cubes

Search the DataSaudi catalog of 277 statistical cubes. Filter by query, scope (catalog/measures/levels), locale, and offset for results.

Instructions

Search the DataSaudi catalog of 277 statistical cubes.

Returns an ENVELOPE (not a bare list): {query, scope, total_matches, returned, catalog_size (277), complete, results, note}. results holds compact {name, caption, domain} hits. total_matches is the TRUE number of matching cubes; when complete is true, results contains ALL of them - there is no hidden cap. Never infer a result ceiling from len(results): read total_matches and complete. When complete is false the result is a page - refine the query or pass offset (the next start index, from the note) to page through the rest.

scope: 'catalog' (title/topic), 'measures' (measure names), or 'levels' (drillable level names - NOT member values; 'members' is an alias). locale='ar' also matches the Arabic catalog annotations (topic/subtopic/source); cube names/captions themselves are English only. An empty query returns a labeled preview (first 25 of 277). A space-separated query that finds nothing is retried once with spaces replaced by underscores.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNo
scopeNocatalog
localeNoen
offsetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations provided, the description carries full burden. It discloses the envelope return format, total_matches vs complete flag, scope specifics, locale effects, retry with underscores, and empty query preview. This is richly transparent.

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

Conciseness4/5

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

The description is front-loaded with the main purpose and then detailed. Though somewhat lengthy, every sentence contributes essential information. Minor room for tightening, but overall efficient.

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 tool's complexity (4 parameters, output schema exists), the description covers return envelope, pagination, scope variants, locale, retry logic, and empty query behavior. It is highly complete and leaves no critical gaps.

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

Parameters4/5

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

The input schema has no descriptions (0% coverage), but the description adds meaning for all four parameters—query, scope, locale, offset—by explaining their values and behavior in context. It does not list each parameter separately but effectively conveys semantics.

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 searches the DataSaudi catalog of 277 statistical cubes, establishing a specific verb and resource. It distinguishes itself from sibling tools (describe_cube, query_cube) by focusing on listing/searching.

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

Usage Guidelines4/5

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

The description provides clear context on when to use the tool, including scope options (catalog, measures, levels), locale behavior, pagination via offset, and retry logic. While it does not explicitly exclude alternative tools, the use cases are well-defined.

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/mohsinmshabbir/datasaudi-mcp'

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