Skip to main content
Glama

apex_add_data_card_grid

Add a responsive grid of data cards to an Oracle APEX page from a SQL query. Each card shows a title, value, subtitle, and optional badge.

Instructions

Add a responsive grid of data cards. Each: {title, body, icon, badge}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorNoAccent color for value and border.blue
columnsNoGrid columns (2-4).
page_idYesTarget page ID.
sequenceNoDisplay order on page.
sql_queryYesSQL returning title, optional subtitle, value, optional badge. Example: "SELECT DS_NOME TITLE, DS_ESPECIALIDADE SUBTITLE, COUNT(a.ID_AVALIACAO) VALUE FROM TEA_TERAPEUTAS t LEFT JOIN TEA_AVALIACOES a USING(ID_TERAPEUTA) GROUP BY DS_NOME, DS_ESPECIALIDADE"
custom_cssNoAdditional CSS rules injected into the style block.
url_columnNoColumn for card click URL (optional).
region_nameYesRegion display name.
badge_columnNoColumn for badge text (optional, e.g., status).
title_columnNoColumn for card title.TITLE
value_columnNoColumn for prominent numeric value.VALUE
subtitle_columnNoColumn for card subtitle (optional).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

Annotations are all false, so the description carries the burden, but it only states a mutation ('Add') and does not disclose side effects, idempotency, or output behavior. With no extra context, the agent cannot anticipate if the operation replaces existing regions or how the query results are rendered.

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

Conciseness4/5

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

One sentence, front-loaded with the main action. It is appropriately succinct but the field list adds little value.

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?

With 12 parameters, 3 required, and an output schema, this minimal description does not explain how the SQL query maps to columns, what the generated UI looks like, or any constraints (e.g., columns 2-4). For an AI agent to correctly invoke it, more guidance is needed.

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 coverage is 100% with detailed parameter descriptions, so baseline is 3. However, the description's field names 'body' and 'icon' conflict with schema fields (subtitle_column, badge_column), adding confusion rather than clarity. Therefore, it actually detracts from parameter understanding.

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 has a specific verb 'Add' and resource 'responsive grid of data cards', distinguishing it from sibling add_* tools. However, the field list {title, body, icon, badge} uses 'body' and 'icon' which do not correspond to actual schema parameters (subtitle_column, value_column, etc.), making it slightly misleading.

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?

The description gives no context on when to use this tool versus alternatives like apex_add_metric_cards or apex_add_icon_list, nor any prerequisites or exclusions.

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