Skip to main content
Glama

Change the email logo, look and footer

updateEmailBrand
Destructive

Change what every email from this workspace carries: the logo a header block draws (a PNG, JPG or GIF address; uploadImage keeps one), how wide the email is on a computer (a phone always gets its full screen), the colour behind the email and the colour of the card it sits on, the footer's own line (in place of "Sent by" and the store's name; the unsubscribe link always follows), the postal address in the footer, and up to five social links. What is not given stays as it is; null clears it back to the default. Answers with the settings as they are now.

Only for a workspace with subscribed email contacts.

A change inside Kooga: it runs at once, as the person.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "updateEmailBrand"
  }
}

Input Schema

NameRequiredDescriptionDefault
logoUrlNoThe logo, a PNG, JPG or GIF at a public address; null: none, the store name as text
cardColorNoHex: the card the email sits on; null: white
emailWidthNoWidth on a computer, px; 'full': the whole width of the reader's screen, no margin around it; null: 600
footerTextNoThe footer's own line, plain text; null: "Sent by" and the store's name
socialLinksNoReplaces the social links; [] removes them
workspaceIdNoThe workspace, as listWorkspaces gives it (its id or slug). Leave it out when this connection reaches one workspace.
footerAddressNoThe postal address in the footer
backgroundColorNoHex: the colour around the email card; null: light grey

Output Schema

NameRequiredDescriptionDefault
changedYes
logoUrlYes
cardColorYes
emailWidthYes
footerTextYes
socialLinksYes
footerAddressYes
backgroundColorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / backgroundColor
      Added value: +{
      +  "anyOf": [
      +    {
      +      "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Hex: the colour around the email card; null: light grey"
      +}
    • addedInput schema / properties / cardColor
      Added value: +{
      +  "anyOf": [
      +    {
      +      "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Hex: the card the email sits on; null: white"
      +}
    • addedInput schema / properties / emailWidth
      Added value: +{
      +  "anyOf": [
      +    {
      +      "anyOf": [
      +        {
      +          "maximum": 720,
      +          "minimum": 480,
      +          "type": "integer"
      +        },
      +        {
      +          "const": "full",
      +          "type": "string"
      +        }
      +      ]
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Width on a computer, px; 'full': the whole width of the reader's screen, no margin around it; null: 600"
      +}
    • addedOutput schema / properties / backgroundColor
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / cardColor
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / emailWidth
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "const": "full",
      +      "type": "string"
      +    }
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "logoUrl",
      -  "footerText",
      -  "footerAddress",
      -  "socialLinks",
      -  "changed"
      -]New value: +[
      +  "logoUrl",
      +  "footerText",
      +  "footerAddress",
      +  "emailWidth",
      +  "backgroundColor",
      +  "cardColor",
      +  "socialLinks",
      +  "changed"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations it discloses that the change applies immediately and acts as the requesting person, and that sending null resets fields to defaults — which explains the destructiveHint=true far better than the annotation alone. It also states that social links are replaced wholesale rather than appended. The only gap is the lack of note on limits (five-link cap failure mode, no-subscribers case).

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?

Front-loaded with purpose, then scope, then the partial-update rule, then the Kooga execution note — a sensible order. The middle sentence is long and list-like but each clause maps to a distinct field, so little is wasted.

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?

Covers preconditions, mutation semantics, and reset behavior, and an output schema already documents the returned settings so it needn't explain the response. Only minor omissions remain: behavior when the five-link limit is exceeded and confirmation of permission requirements.

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 the baseline is 3, but the description adds real meaning: the footer line sits where 'Sent by <store>' would be and the unsubscribe link always follows, width applies to desktop only while phones get full screen, and colours are split into backdrop vs card. These are relationships the schema descriptions do not fully spell out.

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?

Opens with a specific verb+resource ('Change what every email from this workspace carries') and then enumerates the exact editable surfaces: logo, width, background/card colours, footer line, postal address, social links. It also names uploadImage as the way to host a logo, so an agent can tell it apart from that sibling without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit precondition ('Only for a workspace with subscribed email contacts') and a clear partial-update contract ('What is not given stays as it is; null clears it back to the default'), plus a pointer to uploadImage for image hosting. It stops short of naming alternatives for campaign-level or flow-level styling, but the surrounding context is clear.

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