Skip to main content
Glama

brand_set_logo

Add or replace a brand logo using raw SVG, URL, or base64 data URI. Resolves cases where automated extraction failed or a custom logo is provided.

Instructions

Add or replace a logo in the brand system. Accepts raw SVG markup, a URL to a logo file (SVG/PNG), or a base64 data URI. Use when brand_extract_web missed the logo, extracted the wrong image, or the user provides a logo directly. Sanitizes SVG, saves to .brand/assets/logo/, and updates core-identity.yaml with inline_svg and data_uri for portable embedding. Returns logo preview data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
svgNoRaw SVG markup to use as the logo
urlNoURL to fetch the logo from (SVG or PNG)
data_uriNoBase64 data URI of the logo (e.g., data:image/svg+xml;base64,...)
typeNoLogo type: "wordmark" (text-based) or "logomark" (icon/symbol). Default: wordmarkwordmark
Behavior5/5

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

Despite no annotations, the description fully discloses behavior: accepts multiple input formats, sanitizes SVG, saves to .brand/assets/logo/, updates core-identity.yaml, and returns preview data. 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?

Four sentences, no fluff, front-loaded with the main action. Every sentence adds meaningful information without redundancy.

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 no output schema, it sufficiently describes return (preview data). Covers input formats, side effects (sanitize, save, update config), and usage context. Complete for the tool's complexity.

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 100%, so baseline is 3. The description adds value by explaining that svg/url/data_uri are alternative inputs (e.g., 'Raw SVG markup, a URL... or a base64 data URI') and notes the default type is 'wordmark', which complements 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 'Add or replace a logo in the brand system,' specifying the verb and resource. It distinguishes itself from sibling brand_extract_web by mentioning when to use this tool instead.

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 states when to use: 'Use when brand_extract_web missed the logo, extracted the wrong image, or the user provides a logo directly.' Also explains key actions like sanitizing SVG and saving files.

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/Brandcode-Studio/brandsystem-mcp'

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