Skip to main content
Glama

apex_add_comparison_panel

Add a side-by-side comparison panel to an Oracle APEX page, displaying two columns of metrics for direct comparison between two data sets or periods.

Instructions

Add a side-by-side comparison panel (two columns of metrics).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idYesTarget page ID.
sequenceNoDisplay order on page.
custom_cssNoAdditional CSS rules injected into the style block.
left_colorNoAccent color for left column.blue
left_labelYesHeader for the left column (e.g., "Periodo Anterior").
region_nameYesInternal region name.
right_colorNoAccent color for right column.green
right_labelYesHeader for the right column (e.g., "Periodo Atual").
left_metricsYesMetrics for left column. Each dict: {"label": "Total", "sql": "SELECT COUNT(*) FROM ...", "suffix": ""}
right_metricsYesMetrics for right column (same format as left_metrics).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

The description only states 'Add', which aligns with readOnlyHint=false, but does not disclose any additional behavioral traits such as side effects, required permissions, or where the panel is inserted. With annotations covering the basic read/write nature, the description adds no extra behavioral context beyond what is already known.

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 sentence that is direct and front-loaded, efficiently conveying the tool's purpose without any filler. Every word contributes to understanding the tool's function.

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

Completeness4/5

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

Given that the schema thoroughly documents all parameters and an output schema exists, the description is sufficient to understand what the tool does. The absence of usage guidelines slightly reduces completeness, but the tool's simple add operation and rich schema compensate, making it adequately complete for invoking correctly.

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 provides complete descriptions for all 10 parameters (100% coverage), including format examples for metrics. The description adds no parameter-specific information beyond the general 'two columns of metrics' phrase, which is already reflected in the schema. This matches the baseline for high schema coverage.

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 clearly states the tool adds a side-by-side comparison panel with two columns of metrics, which is a specific verb and resource. It distinguishes from sibling tools like apex_add_metric_cards or apex_add_ribbon_stats by explicitly describing the two-column layout, making its purpose unambiguous.

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 provides no guidance on when to use this tool versus alternatives, such as apex_add_metric_cards or other visualization tools. There are no prerequisites, exclusions, or alternative tool mentions, leaving the agent without context for selection.

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