Skip to main content
Glama
sdebruyn

fabric-dw-mcp-cli

by sdebruyn

count_table_rows

Count total rows in a table from Fabric Data Warehouses or SQL Analytics Endpoints using SELECT COUNT_BIG(*).

Instructions

Return the total row count of a table via SELECT COUNT_BIG(*).

Works on both Fabric Data Warehouses and SQL Analytics Endpoints.

Args: workspace: Workspace name or GUID. item: Warehouse or SQL endpoint name or GUID. qualified_name: Dot-separated qualified table name, e.g. dbo.sales.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspaceYes
itemYes
qualified_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations exist. The description reveals the underlying SQL (COUNT_BIG(*)) which implies a read-only, non-destructive operation, but does not explicitly state behavioral traits like safety, performance impact, or whether it locks the table. It partially compensates but remains incomplete.

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 extremely concise: one sentence for the core purpose, one sentence for scope, and three bullet-point parameter descriptions. No redundant information. Front-loaded with the key action.

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

Completeness4/5

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

Given the tool's simplicity (count rows), no annotations, and presence of an output schema (though not displayed), the description adequately explains what it does and its required inputs. It could mention output format briefly, but the output schema likely covers that.

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?

With 0% schema description coverage, the description adds meaningful context for all three required parameters: 'workspace', 'item', and 'qualified_name', specifying they accept name or GUID and providing an example for the table name. This goes beyond the schema's basic type/title.

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 returns the total row count via 'SELECT COUNT_BIG(*)', specifying the resource as a table, and distinguishes from siblings like count_view_rows by mentioning it works on both Data Warehouses and SQL Analytics Endpoints.

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

Usage Guidelines3/5

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

The description does not provide any guidance on when to use this tool versus alternatives (e.g., count_view_rows for views), nor does it state prerequisites or exclusions. It only describes the action without contextual use-case advice.

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/sdebruyn/fabric-dw-mcp-cli'

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