Skip to main content
Glama

update_branding

Modify workspace branding elements like name, logo, colors, and tagline to customize client-facing appearance and hide platform badges.

Instructions

Update the workspace's whitelabel branding configuration. Set any combination of branding fields. Pass null or empty string to clear a field.

Fields:

  • displayName: Brand name shown to clients (e.g., "Acme Corp")

  • logoUrl: URL to brand logo image

  • tagline: Short tagline under the brand name

  • primaryColor: Hex color for light mode (e.g., "#6366f1")

  • primaryColorDark: Hex color for dark mode (e.g., "#818cf8")

  • faviconUrl: URL to custom favicon

  • hideBadge: Boolean — hide the "Built with Agentled" badge (requires teams/enterprise plan)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
displayNameNoBrand name shown to clients
logoUrlNoURL to brand logo image
taglineNoShort tagline under the brand name
primaryColorNoHex color for light mode (e.g., "#6366f1")
primaryColorDarkNoHex color for dark mode (e.g., "#818cf8")
faviconUrlNoURL to custom favicon
hideBadgeNoHide "Built with Agentled" badge (requires teams/enterprise plan)

Implementation Reference

  • The tool handler for update_branding, which extracts arguments and calls the client implementation.
    async (args, extra) => {
        const client = clientFactory(extra);
        // Only send fields that were actually provided
        const branding: Record<string, any> = {};
        if (args.displayName !== undefined) branding.displayName = args.displayName;
        if (args.logoUrl !== undefined) branding.logoUrl = args.logoUrl;
        if (args.tagline !== undefined) branding.tagline = args.tagline;
        if (args.primaryColor !== undefined) branding.primaryColor = args.primaryColor;
        if (args.primaryColorDark !== undefined) branding.primaryColorDark = args.primaryColorDark;
        if (args.faviconUrl !== undefined) branding.faviconUrl = args.faviconUrl;
        if (args.hideBadge !== undefined) branding.hideBadge = args.hideBadge;
    
        const result = await client.updateBranding(branding);
        return {
            content: [{
                type: 'text' as const,
                text: JSON.stringify(result, null, 2),
            }],
        };
    }
  • Zod schema defining the input arguments for the update_branding tool.
    {
        displayName: z.string().optional().describe('Brand name shown to clients'),
        logoUrl: z.string().optional().describe('URL to brand logo image'),
        tagline: z.string().optional().describe('Short tagline under the brand name'),
        primaryColor: z.string().optional().describe('Hex color for light mode (e.g., "#6366f1")'),
        primaryColorDark: z.string().optional().describe('Hex color for dark mode (e.g., "#818cf8")'),
        faviconUrl: z.string().optional().describe('URL to custom favicon'),
        hideBadge: z.boolean().optional().describe('Hide "Built with Agentled" badge (requires teams/enterprise plan)'),
    },
  • Registration of the update_branding tool using the McpServer.
        server.tool(
            'update_branding',
            `Update the workspace's whitelabel branding configuration.
    Set any combination of branding fields. Pass null or empty string to clear a field.
    
    Fields:
    - displayName: Brand name shown to clients (e.g., "Acme Corp")
    - logoUrl: URL to brand logo image
    - tagline: Short tagline under the brand name
    - primaryColor: Hex color for light mode (e.g., "#6366f1")
    - primaryColorDark: Hex color for dark mode (e.g., "#818cf8")
    - faviconUrl: URL to custom favicon
    - hideBadge: Boolean — hide the "Built with Agentled" badge (requires teams/enterprise plan)`,
            {
                displayName: z.string().optional().describe('Brand name shown to clients'),
                logoUrl: z.string().optional().describe('URL to brand logo image'),
                tagline: z.string().optional().describe('Short tagline under the brand name'),
                primaryColor: z.string().optional().describe('Hex color for light mode (e.g., "#6366f1")'),
                primaryColorDark: z.string().optional().describe('Hex color for dark mode (e.g., "#818cf8")'),
                faviconUrl: z.string().optional().describe('URL to custom favicon'),
                hideBadge: z.boolean().optional().describe('Hide "Built with Agentled" badge (requires teams/enterprise plan)'),
            },
            async (args, extra) => {
                const client = clientFactory(extra);
                // Only send fields that were actually provided
                const branding: Record<string, any> = {};
                if (args.displayName !== undefined) branding.displayName = args.displayName;
                if (args.logoUrl !== undefined) branding.logoUrl = args.logoUrl;
                if (args.tagline !== undefined) branding.tagline = args.tagline;
                if (args.primaryColor !== undefined) branding.primaryColor = args.primaryColor;
                if (args.primaryColorDark !== undefined) branding.primaryColorDark = args.primaryColorDark;
                if (args.faviconUrl !== undefined) branding.faviconUrl = args.faviconUrl;
                if (args.hideBadge !== undefined) branding.hideBadge = args.hideBadge;
    
                const result = await client.updateBranding(branding);
                return {
                    content: [{
                        type: 'text' as const,
                        text: JSON.stringify(result, null, 2),
                    }],
                };
            }
        );
  • The underlying client method that performs the API call to update the branding.
    async updateBranding(branding: Record<string, any>) {
        return this.request('/workspace/branding', {
            method: 'PATCH',
            body: JSON.stringify({ branding }),
        });
    }
Behavior4/5

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

With no annotations provided, the description carries full burden and adds valuable behavioral context: it explains that fields can be partially updated ('any combination'), that null/empty string clears fields, and that 'hideBadge' requires specific plans. However, it doesn't mention mutation effects, permissions needed, or error conditions.

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?

Well-structured with purpose statement, behavioral notes, and organized field list. Slightly verbose in repeating schema descriptions, but every sentence serves a purpose. Could be more concise by referencing schema instead of duplicating field details.

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?

For a mutation tool with no annotations and no output schema, the description provides good coverage of what the tool does and how to use parameters. Missing details about response format, error handling, and complete permission requirements prevent a perfect score, but it's substantially complete.

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 schema already documents all parameters thoroughly. The description repeats the field definitions almost verbatim from the schema, adding minimal additional semantic value beyond what's already in structured data.

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 specific action ('Update'), target resource ('workspace's whitelabel branding configuration'), and scope ('Set any combination of branding fields'). It distinguishes from the sibling 'get_branding' tool by being the write counterpart to that read operation.

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 usage when needing to modify branding settings, but provides no explicit guidance on when to use this versus alternatives like 'update_workflow' or prerequisites. It mentions a plan requirement for 'hideBadge' but doesn't clarify overall access requirements.

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/Agentled/mcp-server'

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