Skip to main content
Glama
Jambozx

OnlineCyberTools MCP (280+ filterable tools)

webdev_border_radius_generator

Read-onlyIdempotent

Generate CSS border-radius code from per-corner pixel values and get optimized declarations, copy-ready snippets, and an HTML preview. Automatically collapses identical corners to the shortest form.

Instructions

CSS Border Radius Generator. Generate CSS border-radius code for rounded corners from four per-corner pixel values and return the optimised declaration plus copy-ready usage snippets and an HTML preview. Collapses identical corners to the shortest form (one value when all equal, two-value when diagonals match, else four values). Use webdev_box_shadow_generator instead for drop/inset shadow effects, webdev_css_gradient_generator for gradient backgrounds, and webdev_css_filter_generator for blur/brightness filter effects. Runs locally on the input you provide: read-only, non-destructive, contacts no external service, and is rate-limited (60 requests/min for anonymous callers). Returns the border-radius CSS string, whether the radius is uniform, an HTML preview snippet, the echoed corner values, and CSS/inline/SCSS/Tailwind/individual-property usage examples.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
borderRadiusYesPer-corner radii in pixels; at least one corner is required (empty object returns HTTP 400). Missing corners default to 0.
previewSettingsNoOptional styling for the returned HTML preview snippet only; does not affect the generated CSS.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cssNoThe optimised border-radius declaration, e.g. "border-radius: 8px;".
isUniformNoTrue when all four corners share the same radius.
previewHtmlNoSelf-contained HTML snippet rendering a preview box with the generated radius.
borderRadiusNoThe corner values echoed back from the request.
usageExamplesNoKeyed copy-ready snippets (css, inline, sass, tailwind, individual); each has a title and code string.
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds behavioral details such as collapsing identical corners to shortest form, local execution without external service, and rate limiting, which go beyond the annotations without contradiction.

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 fairly concise and front-loaded with the main purpose. While it contains multiple sentences, each adds necessary value. Minor redundancy could be trimmed, but overall it is well-structured without waste.

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

Completeness5/5

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

Given the presence of an output schema (context signal), the description does not need to detail return values, but it still summarizes the returned items (CSS string, uniformity flag, HTML preview, echoed values, usage examples). This makes the tool's behavior fully understandable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds meaning: it explains that missing corners default to 0, empty object returns HTTP 400, and previewSettings only affect the preview HTML, not the generated CSS. This clarifies parameter behavior beyond the schema.

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 that the tool generates CSS border-radius code from per-corner pixel values, returning optimized declarations, usage snippets, and an HTML preview. It also explicitly distinguishes itself from sibling tools like webdev_box_shadow_generator and webdev_css_gradient_generator.

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

Usage Guidelines5/5

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

The description provides explicit when-to-use and when-not-to-use guidance by naming alternative tools for shadows, gradients, and filters. It also informs about local execution, read-only behavior, non-destructive nature, and rate limits, aiding the agent in selecting the correct tool.

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/Jambozx/onlinecybertools-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server