Skip to main content
Glama

Generate a favicon package

generate_favicon

Generates the complete modern favicon set (favicon.ico, icon.svg, apple-touch-icon.png, PWA icons, manifest.webmanifest, favicon-setup.md with the install snippet) from an SVG, an emoji, or short text. Returns a download URL for favicon.zip plus the HTML head snippet to paste. Files follow current best practice: ICO with 16, 32, and 48px layers, a 96px Google Search icon, opaque apple-touch-icon, and a maskable icon with safe-zone padding.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pwaNoInclude PWA icons + manifest (default true).
svgNoRaw SVG markup to use as the icon. The best source when available.
fontNoTypeface for text mode: any Google Fonts family name (e.g. "Bangers", "Bebas Neue", "Press Start 2P"), or a bundled id like inter-800, geist-700, silkscreen-400.
textNo1–4 characters rendered as vector glyphs (e.g. a brand initial like "F").
emojiNoA single emoji character, rendered with Twemoji vector artwork.
radiusNoCorner rounding: 0 square, ~0.25 rounded, 1 circle.
paddingNoContent inset as a fraction of icon size, -1–0.35. Negative zooms in: the mark scales past the frame and is cropped toward the center (-0.5 renders it at 2x).
app_nameNoApp name written into the web manifest.
offset_xNoNudge content horizontally, -0.25 (left) to 0.25 (right).
offset_yNoNudge content vertically, -0.25 (up) to 0.25 (down).
frameworkNoTailors the setup guide: html, nextjs, vite, astro, rails, wordpress. Next.js App Router uses file conventions, not link tags.
google_96NoEmit favicon-96x96.png for Google Search results (default true).
backgroundNoIcon background: "none" (default), a hex color, or a linear gradient.
monochromeNoAdd a monochrome manifest icon for tinted/badge surfaces.
short_nameNo
text_colorNoHex glyph color for text mode, default #0a0a0b.
theme_colorNoHex theme color for the manifest.
env_variantsNoAlso emit dev/staging/preview favicon copies with a corner badge.
dynamic_moduleNoAdd favicon-dynamic.js — badge/progress/spinner with the icon baked in.
dark_backgroundNoHex background for a dark-mode variant; icon.svg then adapts to the browser theme.
dark_text_colorNoHex glyph color for the dark-mode variant (text mode).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden, and it discloses substantial behavior: returns a download URL for favicon.zip, returns an HTML snippet, and details best-practice specifics (ICO 16/32/48px layers, 96px Google icon, opaque apple-touch-icon, maskable safe-zone padding). This is rich behavioral context beyond a mere 'generates icons' statement, though it omits any mention of requirements or failure modes.

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, with the main output list and input modes front-loaded. The detailed file enumeration earns its place by clarifying scope, and there is no wasted prose. Slightly long for a single tool description, but each clause carries information, so it remains appropriately sized.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex 21-parameter tool with no output schema and no annotations, so the description must compensate. It thoroughly covers output format and file details, but it never states a key operational requirement — that at least one of svg/emoji/text must be supplied despite all params being optional in the schema — nor does it address error handling. The schema's rich per-parameter descriptions help, but the missing input-requirement guidance is a notable gap for such a complex 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 95%, well above the 80% threshold, so the baseline is 3. The description adds the overall output context (favicon.zip + HTML snippet) but does not enrich individual parameter meaning beyond the already-detailed schema descriptions (e.g., padding's negative zoom semantics are fully explained in the schema). The description maps input modes to params but adds marginal value over 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 states a specific verb ('Generates') and resource (the complete modern favicon set), enumerating exact output files (favicon.ico, icon.svg, apple-touch-icon.png, PWA icons, manifest.webmanifest) and input modes (SVG, emoji, short text). This clearly differentiates from siblings — check_favicon (validation) and get_html_snippet (HTML retrieval) — even without naming them, because the tool's scope is precise.

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?

The description explains what the tool does and notes it returns the HTML head snippet, but it never explicitly says when to use this vs. the sibling get_html_snippet, which presumably serves that snippet. The overlap is unaddressed, and there are no exclusions or alternative-routing statements, so usage guidance is implied rather than stated.

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