Skip to main content
Glama

audit_star_schema

Classify tables and detect schema flaws like snowflaking, bidirectional filters, and fact-to-fact relationships in Power BI. Receive a scored audit report with targeted fixes.

Instructions

READ-ONLY star-schema audit: classify every table (fact / dimension / date / bridge / disconnected) from the relationship topology + column types, then flag the schema smells - snowflaking, bidirectional filters, many-to-many, fact-to-fact relationships, a missing/unmarked date table, and descriptive text columns on fact tables. Returns a scored report (0-100) with a per-issue recommendation naming the fixing tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYes
Behavior5/5

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

Even without annotations, the description explicitly states READ-ONLY, lists the classification logic and schema smells checked, and describes the return value (scored report 0-100 with per-issue recommendations). This is highly transparent about behavior and output.

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 two dense sentences, front-loaded with READ-ONLY star-schema audit, and enumerates specific behaviors and output. Every sentence provides meaningful detail with no fluff.

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?

Despite lacking an output schema, the description fully explains what the tool does, what it detects, and what it returns (scored report with recommendations). This is sufficient for an agent to select and invoke the tool correctly.

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

Parameters3/5

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

The only parameter, sessionId, is not explained in the description and schema coverage is 0%. Since it is a standard session context parameter common to many tools, the lack of explanation is a minor gap, but the description does not compensate for the schema omission.

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 identifies the tool as a READ-ONLY star-schema audit, specifies what it does (classify tables into fact/dimension/date/bridge/disconnected) and what it flags (schema smells like snowflaking, M:M, etc.). It is easily distinguished from sibling audit tools like audit_theme_compliance or audit_naming.

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 implies it should be used for star-schema model auditing, with clear context of its scope, but it does not explicitly mention alternatives or when not to use it. There are no exclusions or comparisons to other audit tools.

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/cyphonica/powerbi-pbix-mcp'

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