Skip to main content
Glama

Rubii Story Worldbuilder & Roleplay MCP

Build Safe HTML/CSS Status Bar & Regex Layout

build_status_bar_layout
Read-onlyIdempotent

Generate a sandbox-safe static HTML + inline CSS layout (novel chapter header, RPG HUD, cyber telemetry, phone chat thread, or wax-sealed letter), a verified capture-group regex rule, and an LLM formatting instruction block compatible with Rubii AI Styles & Regex.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "build_status_bar_layout"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeNoVisual preset style (default: "minimal-card").
titleNoHeader label displayed at the top of the card.
fieldsNoUp to 8 custom key/label/exampleValue rows. Uses theme defaults when omitted.
tagNameNoXML-style wrapper tag name (alphanumeric, hyphen, or underscore; default: "status").
accentColorNoOptional 6-digit hex accent color such as "#7c9cff".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is largely covered. The description still adds genuinely new behavioral context: output is 'sandbox-safe' (no execution/external assets) and the regex is 'verified' with capture groups, which signals validation before return. It doesn't explain what sandbox-safe concretely forbids or how the three artifacts are packaged, keeping it below 5.

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?

A single ~45-word sentence that front-loads the verb and the primary artifact, with the theme list parenthetically contained so it doesn't interrupt flow. Dense but every clause carries content; splitting the three deliverables into separate sentences would improve scanability.

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?

With 5 optional params, no required fields, no output schema, and full annotation coverage, the main gap the description must fill is what comes back—and it does name all three returned artifacts. It stops short of describing their relationship or structure (e.g., whether the HTML is pre-fitted to the fields), which an agent would need for a no-output-schema tool.

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 description coverage is 100%, so the schema already documents theme, title, fields, tagName, and accentColor thoroughly. The description adds only the prose mapping of themes to use cases and the idea of prompt-instruction pairing; it adds no format rules for fields or the hex color beyond the schema. Baseline 3 applies.

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?

States a specific verb ('Generate') plus three concrete artifacts: a sandbox-safe static HTML+inline CSS layout, a verified capture-group regex rule, and an LLM formatting instruction block. The parenthetical enumerates the exact visual themes, so an agent can tell this apart from siblings like craft_story_world or audit_character_card without opening the schema.

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

Usage Guidelines4/5

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

The enumerated themes ('novel chapter header, RPG HUD, cyber telemetry, phone chat thread, wax-sealed letter') and the 'compatible with Rubii AI Styles & Regex' framing make the use context clear. However, there is no explicit when-not or a named alternative for related tasks such as auditing a character card, so routing depends on inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.