Skip to main content
Glama

apex_add_page_css

Add custom CSS to a specific Oracle APEX page by providing the page ID and CSS rules, which are injected via a hidden PL/SQL region.

Instructions

Add inline CSS to a specific page via a hidden PL/SQL region.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idYesTarget page ID.
css_codeYesCSS rules to inject. Example: ".my-region { border: 2px solid #00995D; border-radius: 8px; } .my-region .t-Region-header { background: #00995D; color: #fff; }"

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already indicate this is a mutating operation (readOnlyHint=false, destructiveHint=false). The description adds the detail about the hidden PL/SQL region, which is a behavioral trait not visible in annotations. However, it doesn't disclose side effects like whether existing CSS is replaced or appended, or any ordering implications. The extra context is minimal but non-contradictory.

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, compact sentence of 12 words. It is front-loaded with the key action ('Add inline CSS') and efficiently conveys the target and mechanism without any filler. Every word earns its place.

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?

The tool is simple with two well-documented parameters, an output schema exists, and annotations provide safety signals. The description covers the core purpose and mechanism adequately. It lacks explicit usage guidance, but given the simplicity and available metadata, it is fairly complete.

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% with descriptions for both page_id and css_code. The description doesn't add any extra parameter context beyond what the schema already provides, 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 clearly states the action ('Add inline CSS') to a specific resource ('a specific page') and includes the mechanism ('via a hidden PL/SQL region'). It effectively distinguishes from sibling tools like apex_add_global_css and apex_add_page_js by specifying page-level CSS.

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 'to a specific page' implies this is for page-scoped CSS rather than global CSS, but it doesn't explicitly state when to use this versus alternatives like apex_add_global_css. No exclusions or alternative guidance are provided, leaving usage implications rather than explicit direction.

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