Skip to main content
Glama
patrickdeanfox

Zuar Portal Blocks MCP Server

Profile a datasource (stats + sample rows)

profile_datasource
Read-only

Profile a datasource to get column statistics including type, non-null counts, distinct values, and min/max, plus sample rows to verify column names and values for designing filters and charts.

Instructions

Sample a datasource and return per-column statistics — inferred type, non-null/empty counts, distinct value count, sample distinct values for categoricals, and min/max for numerics — PLUS raw sample rows (sample.columns + sample.rows) so you see real column names and literal values in the same call. Exactly what you need to design filters, choose chart dimensions, pick aggregations, and match a block's column constants to reality. Profiles over a sample (default 500 rows); sample_rows caps the raw rows returned (default 10, 0 for stats only).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sample_rowsNoRaw rows to return alongside the stats (default 10, max 50, 0 = none).
sample_sizeNoRows to sample for the profile (default 500, max 5000).
distinct_capNoStop counting distinct values past this many per column (default 100).
datasource_idYesDatasource UUID.
Behavior4/5

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

Annotations already provide readOnlyHint and openWorldHint. Description adds transparency about sampling defaults, caps on rows, and output structure. No contradictions.

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?

Two sentences, front-loaded with purpose and key details. No redundant information. Every sentence earns its place.

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?

With no output schema, description compensates by listing both statistical outputs and raw rows. Covers enough for typical profiling tasks. Could mention performance considerations but not mandatory.

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?

Schema coverage is 100%, so parameter descriptions are already complete. Description adds value by explaining defaults and the effect of sample_rows=0, compensating beyond schema.

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?

Description clearly states the tool samples a datasource and returns per-column statistics plus sample rows. Uses specific verbs and lists outputs, distinguishing it from sibling tools like describe_resource.

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?

Explicitly states the tool is for designing filters, choosing chart dimensions, etc., giving clear usage context. Lacks explicit exclusions or alternatives, but the use case is well-targeted.

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/patrickdeanfox/zuar-portal-mcp'

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