Skip to main content
Glama

Generate Safe HTML/CSS Status Bar & Regex Template

generate_status_bar_regex
Read-onlyIdempotent

Generates sandbox-safe HTML/CSS status bar templates, tested capture-group regex rules, and LLM instruction blocks for roleplay chat UIs, so status fields render reliably.

Instructions

Generate a sandbox-safe HTML + inline CSS status bar template, tested capture-group regex rule, and LLM output instruction block for roleplay chat UIs (compatible with Rubii AI Styles & Regex and SillyTavern regex scripts).

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": "generate_status_bar_regex"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeNoVisual preset theme.minimal-card
titleNoHeader title shown at the top of the status card.Scene Status
fieldsNoUp to 8 status fields. Defaults to theme-appropriate fields when omitted.
tagNameNoXML-style wrapper tag name (alphanumeric/underscore/hyphen, default: "status").status
accentColorNoOptional 6-digit hex accent color such as "#7c9cff".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world behavior, so the safety profile is covered. The description adds genuine value beyond that: it discloses the exact three-part return content, that the output is 'sandbox-safe', that the regex is 'tested' with capture groups, and which two platforms the artifacts target. It does not say how large the output is or whether the parts are returned joined or separately, but the added behavioral detail is substantial.

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 front-loaded sentence with the verb first and no filler or repetition. It is dense and slightly run-on with three stacked noun phrases, but every clause carries information an agent needs.

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?

All five parameters are optional with full schema documentation and annotations cover safety, so the remaining burden is telling the agent what it gets back — and the description enumerates the three deliverables and their target runtimes. Missing is any hint of output structure or how the generated regex relates to tagName and fields, which matters somewhat for a code-generation tool, but no output schema exists to be duplicated.

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%, with per-parameter descriptions for theme, title, fields, tagName and accentColor, so the schema carries the semantics. The description contributes nothing about any parameter — notably it never mentions theme presets, the up-to-8 fields limit, or how tagName influences the emitted regex — so this is the baseline score for a fully documented schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb ('Generate') and names three concrete artifacts: a sandbox-safe HTML + inline CSS status bar template, a tested capture-group regex rule, and an LLM output instruction block. That is far more precise than a restatement of the name. It stops short of naming any sibling (e.g. validate_character_card or lint_character_prompt), so an agent must infer the boundary itself.

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?

Usage is only implied through the target domain: 'for roleplay chat UIs (compatible with Rubii AI Styles & Regex and SillyTavern regex scripts)'. That tells the agent where the output applies, but there is no explicit when-to-call, no exclusion, and no routing to alternatives such as the validation sibling tools when the user actually wants checking rather than generation.

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