Skip to main content
Glama

apex_generate_report_page

Generates an Oracle APEX Interactive Report page with optional text, select, and date filter items, and includes export to CSV/Excel buttons.

Instructions

Generate an IR report page with optional filter items (text/select/date).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoOptional region title (defaults to page_name).
page_idYesPage ID.
sequenceNoIR region sequence.
page_nameYesDisplay name.
sql_queryYesSQL for the Interactive Report. Example: "SELECT * FROM TEA_AVALIACOES WHERE 1=1 AND (:P5_STATUS IS NULL OR DS_STATUS = :P5_STATUS)"
auth_schemeNoAuthorization scheme name.
filter_itemsNoList of filter field dicts: [{"name": "STATUS", "label": "Status", "type": "select", "lov": "SELECT DISTINCT DS_STATUS d, DS_STATUS r FROM TEA_AVALIACOES ORDER BY 1"}, {"name": "DT_DE", "label": "Data De", "type": "date"}, {"name": "BUSCA", "label": "Pesquisa", "type": "text"}] Item names are auto-prefixed with P{page_id}_.
include_exportNoShow export to CSV/Excel button (default True).

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, providing no safety or side-effect hints. The description 'Generate' implies a creation operation but does not disclose what happens if the page ID already exists, whether authorization is required, or any other side effects. For a mutation tool, this lacks important behavioral context.

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, concise sentence that is front-loaded with the primary action ('Generate an IR report page') and a secondary qualifier (optional filter items). No unnecessary words or repetition.

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?

The tool has 8 parameters and an output schema, but the description is very brief. It does not explain what 'IR' stands for or mention typical prerequisites (e.g., existing app connection) or behavior on existing pages. However, the rich schema descriptions partially compensate, so it is minimally complete but not thorough.

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 coverage is 100%, so the baseline is 3. The description mentions 'optional filter items' but the schema already explains filter_items in detail with examples. The description adds no new parameter meaning beyond what the schema provides, so it does not go above the baseline.

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 states a specific action: 'Generate an IR report page' with optional filter items (text/select/date). It clearly identifies the resource (Interactive Report page) and distinguishes from sibling generators like dashboard or analytics page. The mention of filter item types adds useful specificity.

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 description implies usage: if you need an IR report page with optional filters, use this tool. However, it does not explicitly contrast with alternatives (e.g., apex_add_interactive_grid, apex_generate_analytics_page) or state when not to use it. There is no exclusion or alternative naming, so the guidance is only implicit.

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