Skip to main content
Glama

apex_add_kpi_row

Add a horizontal row of KPI cards to an Oracle APEX page, each card showing a scalar metric from SQL with custom label, icon, and color.

Instructions

Add a horizontal row of KPI cards. Each: {label, sql, icon, color}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metricsYesList of metric dicts (3–6 items): - "label": Display label - "sql": SQL returning a single scalar value - "suffix": Optional unit suffix ("%" , " dias", etc.) - "color": Accent color for the value text
page_idYesTarget page ID.
sequenceNo
custom_cssNoAdditional CSS rules injected into the style block.
value_sizeNoCSS font-size for metric values (default "1.4rem").1.4rem
region_nameYesInternal region name.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations are all false and do not convey a safety profile; the description at least reveals this is an additive mutation ('Add ... KPI cards') and mentions the card fields. However, it does not disclose behavioral details like whether an existing region is replaced, whether CSS/style blocks are modified, or any idempotency/reversibility concerns.

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 a single short sentence that front-loads the primary action and object. It contains no filler and is immediately understandable, making it highly concise.

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 need not be explained, and the input schema covers most parameters. Still, the tool description has the icon/suffix mismatch, omits optional parameters, and gives no contextual guidance relative to other KPI/metric tools, leaving moderate gaps in fully understanding the tool's behavior.

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?

The schema already documents most parameters, so the baseline is 3. However, the description lists 'icon' as a card key, while the schema's metric object documents 'label', 'sql', 'suffix', and 'color' but not 'icon'. This inconsistency may mislead the agent into constructing metrics incorrectly and reduces clarity.

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 uses a specific verb ('Add') and resources ('horizontal row of KPI cards'), with a compact structure hint. It is clear but does not explicitly distinguish itself from similar sibling tools like apex_add_metric_cards or apex_add_stat_delta.

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?

No guidance is provided on when to use this tool versus alternatives. The description only restates the action and card format, implying usage from the tool name, but lacks any explicit exclusions or comparisons to sibling add_* tools.

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