Skip to main content
Glama

apex_generate_analytics_page

Create an Oracle APEX analytics dashboard page with metric cards and multiple JET charts in a single call. Specify metrics, charts, and page details to build a complete analytics view.

Instructions

Generate a full analytics page with metric cards + multiple JET charts in one call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chartsNoList of chart dicts. Each supports the same args as apex_add_jet_chart: - "region_name": Chart title (required) - "chart_type": "bar" | "line" | "area" | "pie" | "donut" (default "bar") - "sql_query": SQL for data (required) - "label_column": Label column name (default "LABEL") - "value_column": Value column name (default "VALUE") - "series_name": Legend label - "height": Chart height px (default 400) - "y_axis_title": Y axis label - "x_axis_title": X axis label - "extra_series": Additional series (for multi-series charts) Example: [ {"region_name": "Avaliações por Status", "chart_type": "pie", "sql_query": "SELECT DS_STATUS LABEL, COUNT(*) VALUE FROM TEA_AVALIACOES GROUP BY DS_STATUS"}, {"region_name": "Evolução Mensal", "chart_type": "line", "sql_query": "SELECT TO_CHAR(DT_AVALIACAO,'MM/YYYY') LABEL, COUNT(*) VALUE FROM TEA_AVALIACOES GROUP BY TO_CHAR(DT_AVALIACAO,'MM/YYYY') ORDER BY 1", "series_name": "Avaliações"}, ]
metricsNoList of metric card dicts (see apex_add_metric_cards for format). Example: [{"label": "Total", "sql": "SELECT COUNT(*) FROM MY_TABLE", "icon": "fa-database", "color": "blue"}]
page_idYesTarget page ID.
page_nameNoPage display name (used only if page is created).Analytics
auth_schemeNoAuthorization scheme name to restrict access (optional).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

All annotations are false, so they offer no safety profile. The description only says 'Generate a full analytics page' without disclosing whether it creates a new page, updates an existing one, or the side effects (e.g., permissions, need for existing page_id). This is a significant behavioral gap for a mutation tool.

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?

The description is a single sentence that front-loads the core action and contains no wasted words. It is extremely brief for a complex tool, but given the schema's rich parameter details, it serves as an efficient high-level summary.

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 composite generator with 5 parameters and nested chart configurations, the description is too minimal. It does not clarify whether page_id refers to an existing page or triggers creation, nor the effect of page_name. The rich schema doesn't compensate for the lack of lifecycle semantics in the description.

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 schema already provides 100% coverage with detailed descriptions and examples for charts and metrics. The description adds a high-level mapping of page components to parameters but does not go beyond what the schema offers, so the baseline score of 3 is appropriate.

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 uses the specific verb 'Generate' and resource 'analytics page', enumerating components 'metric cards + multiple JET charts', which clearly distinguishes it from individual adders like apex_add_jet_chart and other page generators like apex_generate_dashboard.

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

Usage Guidelines3/5

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

The phrase 'in one call' implies this is a bulk operation that creates the whole page at once, providing some usage context. However, it does not explicitly state when to prefer this over adding components individually or using alternative generators, nor does it mention any 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