Skip to main content
Glama

Add your own design option

add_design_option

Add a design you made yourself to the options the owner compares: a complete HTML page (sample home page) with all CSS inline in a tag, Google Fonts allowed, no scripts (they are blocked), placeholder blocks instead of large images. Use it for a look the playbook directions don't cover, or when the owner asked for something specific ("like this screenshot").

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "site": "<site>",
      "name": "<name>",
      "html": "<html>"
    },
    "name": "add_design_option"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlYes
nameYesShort style name, e.g. "Batik modern"
noteNoOne line for the owner on what makes this option different
siteYesSite slug (e.g. "kopitiam-muar") or id
directionNoClosest design_guide direction, if any

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations cover only the safety profile (non-read-only, non-destructive, closed-world); the description adds substantial behavioral detail beyond them — scripts are blocked, CSS must be inline in a <style> tag, Google Fonts are permitted, large images must be replaced with placeholder blocks. What it does not disclose is what happens after submission (validation failures, whether the option becomes immediately selectable, any cap on the number of options).

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?

Two sentences, front-loaded with the core action and then the content constraints, with no filler. The parentheticals are dense but each carries a real constraint or a routing cue, so nothing substantive is wasted.

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?

For a five-parameter write tool with a thin annotation set and no output schema, the description supplies the one thing an agent cannot infer: exactly what constitutes a valid HTML payload and what will be silently rejected. The only residual gap, post-submission behavior, is minor given the annotations already establish this is a safe additive write.

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

Parameters4/5

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

Schema coverage is already 80%, so the baseline is 3, but the description adds real meaning to the 'html' parameter that the bare string/320000-maxLength schema does not: it must be a complete page with inline CSS, no scripts, placeholders for large images. The 'note' and 'direction' parameters are left entirely to 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?

States a specific verb and resource: add a self-authored design option (a complete HTML page) to the set the owner compares. It also implicitly separates itself from the playbook/guide-driven options by saying it is for a look those 'don't cover', which lets an agent distinguish it from create_design_options or design_guide without opening any 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?

Gives two concrete when-to-use conditions: a look the playbook directions don't cover, or an owner request ('like this screenshot'). It stops short of stating explicit exclusions or naming the alternative tool to use for guide-based generation, so the routing is clear but not fully enumerated.

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.

Resources