Skip to main content
Glama

create_data_table

Generate a styled HTML data table with conditional formatting, highlighting max/min values for district statistics, budget breakdowns, or top-N listings.

Instructions

Create a styled, responsive HTML data table with conditional formatting.

Professional table with ranking indicators and value formatting. Highlights max or min value row.

Ideal for: district statistics, budget breakdowns, top-N listings.

Returns: {filepath, title, rows, total_rows, columns}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesRow dicts
titleNoTable title
captionNoTable caption text
columnsNoColumns to include (auto-detected if None)
filenameNoOutput filenamedata_table
max_rowsNoMaximum rows to display
highlight_maxNoTrue=max, False=min
format_columnsNo{column: 'number'|'pct'|'currency'}
highlight_columnNoColumn to highlight max/min row

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses key behaviors: creates an HTML table, applies conditional formatting, highlights max/min values, and lists return fields. It does not mention side effects or authentication needs, but for a creation tool this is sufficient.

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 concise with five sentences, no fluff. It front-loads the main action, followed by features, ideal uses, and return format. Every sentence adds value.

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 output schema exists (implied by the return object), the description adequately explains the tool's functionality and output. It could mention handling of large datasets, but overall it is complete for a table creation tool with good schema coverage.

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 input schema has 100% coverage, so the baseline is 3. The description does not add individual parameter details beyond what the schema provides; it only gives overarching context. Therefore, the description does not significantly enhance parameter understanding.

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 'Create a styled, responsive HTML data table with conditional formatting,' providing a specific verb and resource. It distinguishes the tool from siblings, which are primarily chart/map creation tools, by focusing on table generation with formatting.

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 includes ideal use cases ('district statistics, budget breakdowns, top-N listings'), giving context for when to use the tool. However, it does not explicitly mention when not to use or provide alternatives, though siblings are clearly different.

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/acailic/serbian-data-mcp'

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