Skip to main content
Glama

apex_add_mini_charts_row

Add a row of mini sparkline charts to an APEX page. Each chart runs a SQL query to display a labeled value in a chosen color and chart type.

Instructions

Add a row of mini sparkline charts. Each: {label, sql, color}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chartsYesList of 1–6 chart dicts, each with: - "region_name": Chart title - "chart_type": "bar" | "line" | "pie" | "donut" | "area" - "sql": SQL returning LABEL and VALUE - "label_column": (optional, default "LABEL") - "value_column": (optional, default "VALUE") - "series_name": (optional) - "height": (optional, default 220)
page_idYesTarget page ID.
sequenceNoBase display order (each chart gets sequence+i).
animationNoAnimation style — "auto", "none", "fade", or "zoom".auto
color_paletteNoList of hex colours, a named palette string, or None.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

Annotations already indicate a non-read-only, non-idempotent write operation. The description adds no behavioral context beyond that—it does not mention side effects on the page, constraints, or what happens to existing content. The shorthand '{label, sql, color}' actually conflicts with the schema and adds confusion.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very short, but the second sentence is an incomplete fragment that is not precisely accurate. It is concise in length but not optimally structured due to the misleading shorthand.

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

Completeness2/5

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

For a mutation tool that adds charts to a page, the description lacks critical context such as the target page_id, the 1–6 chart limit, and any side effects. The presence of an output schema does not compensate for the missing operational context.

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 100%, so the schema fully documents all parameters. The tool description adds no value and even introduces misleading shorthand that contradicts the schema's detailed chart fields (region_name, chart_type, sql, etc.).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Add') and the resource ('a row of mini sparkline charts'), giving a specific verb+object. However, it does not differentiate from sibling tools like apex_add_sparkline or other chart-related tools, so it lacks sibling distinction.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives, no exclusions, and no mention of prerequisites. The description is a single terse line and provides no usage context.

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/TechFernandesLTDA/apex-mcp'

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