Skip to main content
Glama

apex_generate_dashboard

Generate an Oracle APEX dashboard page with KPI metric cards and JET charts from SQL queries. Specify page ID and KPI definitions to create the dashboard.

Instructions

Generate a dashboard page with KPI metric cards and JET charts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ir_sqlNoSQL for the bottom Interactive Report. If omitted, uses a sample query.
page_idYesPage ID for the dashboard (typically 1).
ir_titleNoTitle for the IR region (default: "Recent Records").Recent Records
page_nameNoDisplay name (default: "Dashboard").Dashboard
kpi_queriesNoList of KPI card definitions. Each dict: { "title": "Total Users", "sql": "SELECT COUNT(*) FROM users", "icon": "fa-users", "color": "u-color-1" } If omitted, creates 4 sample KPI cards.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

The description says nothing about behavioral side effects—whether it overwrites an existing page, creates a sample query if ir_sql is omitted, or what the resulting page looks like beyond 'KPI cards and charts.' Since annotations provide no positive hints (all flags false), the description carries the full burden and fails to disclose mutation details or error behavior.

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?

One sentence, front-loaded with the core action and outcome. No filler or redundant phrasing. It earns its place as a concise summary, though it sacrifices some depth for brevity.

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 complex generator with 5 parameters, an output schema, and many sibling tools, this description is too minimal. It omits important operational context like sample KPI card generation, default IR SQL behavior, and page overwrite semantics. The schema covers parameters but not the overall workflow or effects.

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?

Schema description coverage is 100% (all 5 parameters have meaningful descriptions, including defaults and the kpi_queries format). The tool description adds no parameter-specific information, but the schema already handles semantics effectively, so the baseline of 3 is warranted.

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?

Clearly states a specific action ('Generate') and resource ('dashboard page') with content details ('KPI metric cards and JET charts'). This distinguishes it from sibling tools like apex_add_metric_cards and apex_generate_report_page, which focus on individual components or other page types.

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?

Provides no guidance on when to use this tool versus alternatives such as apex_generate_analytics_page or apex_add_metric_cards. It does not mention prerequisites (e.g., existing app), typical scenarios, or situations where another tool would be more appropriate.

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