Skip to main content
Glama
piephai
by piephai

generate_favicon

Generate all favicon sizes and formats needed for web, Apple, Android, and Microsoft platforms from a source image. Supports custom sizes, background color, and PWA manifest generation.

Instructions

Generate all favicon sizes and formats needed for modern web apps

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesSource image path or URL (recommended: 512x512 or larger)
sizesNoCustom sizes to generate (default: [16, 32, 48, 64, 128, 180, 192, 256, 512])
outputDirYesDirectory to save all generated favicon files
platformsNoTarget platforms (default: ["web"])
backgroundNoBackground color for transparent images
generateManifestNoGenerate manifest.json snippet for PWAs
Behavior2/5

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

With no annotations, the description carries the full burden of disclosing behavior, but it fails to mention side effects (creating files, writing to outputDir), whether the input image is modified, or what 'formats' are generated. The tool appears to write files, but this is not explicitly disclosed.

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?

The description is a single, concise sentence with no fluff. It is front-loaded with the core action. However, it could be slightly expanded without losing conciseness to add behavioral detail, but for what it is, it is appropriately sized.

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

Completeness2/5

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

The tool is complex (6 parameters, nested object, no annotations, no output schema), but the description is extremely sparse. It does not explain the generated file formats, platform-specific behaviors, or the manifest output. This is inadequate for an agent to fully anticipate tool behavior.

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 the baseline is 3. The description 'Generate all favicon sizes and formats' adds no extra meaning about parameters, which are already well-described in the schema. No additional semantic value is provided.

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 the tool's function with a specific verb ('Generate') and resource ('all favicon sizes and formats needed for modern web apps'). This distinguishes it from sibling image tools (optimize, crop, watermark) which serve different purposes.

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 implies the tool should be used when favicon generation is needed, but it does not explicitly state when to use it over alternatives or mention any exclusions. No 'when not to use' or alternative tool references are provided.

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/piephai/mcp-image-optimizer'

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