Skip to main content
Glama

analyze_model_size

Get exact VertiPaq storage byte totals per table and the largest columns/objects to identify what bloats a Power BI model's memory and target efficiency fixes.

Instructions

Get VertiPaq storage engine byte totals per table (exact) and the largest individual storage objects/columns (best-effort labeling) -- the same underlying data DAX Studio's and Tabular Editor's VertiPaq Analyzer use to show what's bloating a model's memory footprint. Use this for efficiency review: a surprisingly large table or column here is a concrete lead (unused high-cardinality column, a text column that should be split or removed, importing more history than needed, etc).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
top_nNo
instanceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: 'Get' signals a read-only operation, and it discloses a real behavioral caveat by distinguishing exact table byte totals from best-effort labeling of individual objects. It does not mention cost/latency of scanning a large model or instance targeting requirements, which are the remaining gaps for an unannotated tool.

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?

Front-loaded with what is returned, then why it matters, in two tight sentences with no filler. Minor verbosity in the DAX Studio/Tabular Editor aside, but it earns its place by conveying provenance.

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

Completeness3/5

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

An output schema exists, so return values needn't be spelled out, and the efficiency-review framing is complete. However, for a two-parameter tool with zero schema description coverage, leaving top_n and instance entirely unexplained is a meaningful omission that could cause a wrong or defaulted call.

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

Parameters2/5

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

Schema description coverage is 0% and the description mentions neither parameter. 'top_n' is genuinely ambiguous (top N tables? columns? storage objects?) and 'instance' is undocumented as to expected format or source. The description must compensate here and does not.

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?

States a specific verb and resource: retrieve VertiPaq storage byte totals per table plus the largest storage objects/columns. It also anchors the concept to known tooling (DAX Studio / Tabular Editor VertiPaq Analyzer), which tells an agent exactly what class of output to expect and separates it from generic sibling tools like get_model_summary or list_tables.

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?

It gives an explicit usage context ('Use this for efficiency review') and concrete interpretations of results (unused high-cardinality column, text column to split, excess history import). It stops short of naming an alternative sibling or a when-not-to-use condition, so it is strong but not complete routing guidance.

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