Skip to main content
Glama

Create a brand theme

create_brand_theme

Save a reusable Brand Theme on the caller's account: a name, three colours and two fonts that can then be applied to any ebook by id. Create one only when the user wants a saved, REUSABLE identity ("set up our company brand"). To style a single ebook, pass 'theme' to update_ebook instead, which saves nothing extra and has no limit. Call get_design_options for the valid fonts and the colour format. The number of Brand Themes an account may keep is capped by its plan, exactly as in the Unplain web app; get_account reports the cap. Logos and uploaded font files can only be added in the web app.

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name, usually the company or publication name.
linksNoWebsite and social profiles for this brand. They become the default social links on the CTA page of every ebook the theme is applied to. Bare domains are accepted and upgraded to https. Anything that is not a web address is ignored.
bodyFontYesBody typeface: a Google Fonts family from Unplain's catalog or a system font id. Call get_design_options for the full list.
textColorYesbody text color
accentColorYesaccent color, used for links, rules and call-to-action buttons
headingFontYesHeading typeface: a Google Fonts family from Unplain's catalog or a system font id. Call get_design_options for the full list.
backgroundColorYespage background color

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare the generic write/non-idempotent profile; the description adds real behavioural context: a plan-based quota on stored themes, no such limit on the inline update_ebook path, and that logos/uploaded font files are web-app only. It does not say what happens at the cap or on duplicate names, so it stops short of 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?

Purpose and the key routing decision are front-loaded in the first two sentences, and each later sentence carries a distinct fact (valid fonts source, plan cap, web-app-only assets). Slightly dense for a create tool but essentially no filler.

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?

Covers the lifecycle, quota and where to get valid values for a tool with no output schema and a nested links object. The notable gap is that nothing says what is returned (presumably the new theme id), which the agent needs in order to apply the theme by id afterwards.

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 every parameter including the nested links object is already documented in the schema. The description only adds that the colours/fonts are the theme's content and that font and colour formats come from get_design_options, which is close to what the schema already says.

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?

Specific verb+resource ("Save a reusable Brand Theme on the caller's account") with the exact payload enumerated (name, three colours, two fonts) and the downstream use ("applied to any ebook by id"). It is clearly separable from create_ebook and update_ebook.

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?

Explicit when-to-use ("only when the user wants a saved, REUSABLE identity") and when-not with a named alternative ("To style a single ebook, pass 'theme' to update_ebook instead"), plus routing to get_design_options for valid fonts and get_account for the plan cap.

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