Skip to main content
Glama

Save product brand

save_product_brand
Destructive

Replace the product's saved brand with defaultTheme and both light and dark themes, each with tokens and logo (either can be null). Use hex colors and self-contained PNG or SVG data URIs for logos (at most 48,000 characters each). Does not edit code-derived design context or standing guidance. Saved edits survive code refreshes until reset. Returns the effective product identity. Requires MANAGER or above.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspace": "<workspace>",
      "project": "<project>",
      "brand": "<brand>"
    },
    "name": "save_product_brand"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandYes
projectYesProject slug or id
workspaceYesWorkspace slug or id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, and the description earns credit for adding what the annotations cannot: the MANAGER-or-above authorization requirement, the persistence model ('survive code refreshes until reset'), and the return value ('effective product identity'). It stops short of saying whether the prior brand is recoverable or what error behavior looks like on a failed write.

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 the core action and payload, then layers persistence, return value, and authorization in decreasing order of importance. Some sentences duplicate machine-enforced constraints (hex colors, 48,000-character limit), which is mild redundancy but not enough to obscure the message.

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 deeply nested write with no output schema, the description covers the important gaps: what gets replaced, what is left alone, how long changes last, what comes back, and who may call it. The remaining omission is failure/validation behavior for malformed tokens or oversized logos.

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 coverage sits at 67%, with workspace/project described but the entire nested brand object left undocumented in the schema. The description compensates usefully by explaining token/logo nullability, hex color expectation, and self-contained PNG/SVG data URIs, but much of that (hex format, 48,000-char cap, data URI scheme) merely restates regex and maxLength constraints already enforced by the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Replace the product's saved brand') and enumerates the payload shape (defaultTheme, light/dark themes, tokens, logo), so the agent knows exactly what the operation writes. It also draws a boundary against 'code-derived design context or standing guidance', though it does not name the reset_product_brand sibling that the 'until reset' phrasing alludes to.

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?

Usage context is implied rather than stated: the agent learns the edit is persistent across code refreshes until a reset, and that code-derived context is out of scope. There is no explicit 'use this instead of reset_product_brand when...' routing or prerequisite ordering, so selection between the brand-writing siblings still requires inference.

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