Skip to main content
Glama

extract_brand

Extract brand colors, fonts, and navigation links from a public site to theme a Ghost blog without manual inspection.

Instructions

Distil a live site's brand into clean tokens to theme against.

Step one of theming a customer's blog: point this at their public product or marketing site and it returns the brand to match, so you design against real colours and fonts instead of guessing or hand-reading a stylesheet. Fetches the page and its CSS (public http(s) only; private/localhost hosts refused).

It also reads the site's menus, so you can offer to reuse them on the blog (write them with update_navigation). navigation.primary / navigation.secondary are the header/footer content links; navigation.membership holds login/sign-up/account links, which are kept OUT of the suggested menu -- they are usually the parent app's own auth, not blog nav. Ask the user what to do with any membership links rather than adding them to the menu automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoThe page to read; the homepage usually carries the brand./
site_urlYesThe public site to inspect, e.g. ``https://example.com``.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Despite no annotations, the description fully discloses behavior: fetches page and CSS, reads navigation menus, refuses private/localhost hosts, and clarifies which links are kept out of suggested menus. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Concise yet comprehensive; every sentence adds value. Front-loaded purpose, then context, then details and warnings. No fluff.

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, the description covers all necessary context: input constraints (public HTTP), behavior (fetching, reading), and output expectations (brand match, navigation structure). Includes practical guidance for handling membership links.

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 coverage is 100%, so baseline is 3. The description reiterates the schema's parameter descriptions (site_url, path) but does not add substantial new semantic information 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 it extracts brand tokens from a public site, specifically as step one of theming a blog. It distinguishes from siblings like update_branding or restyle_theme by positioning as the initial analysis step.

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?

Explicitly says when to use it (first step of theming), where not to use (private/localhost), and provides guidance on navigation handling including a reference to update_navigation for writing menus. Gives clear alternative actions for membership links.

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/stemcreations/ghost-mcp'

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