Skip to main content
Glama

Get brand kit

get_brand_kit
Read-onlyIdempotent

The active workspace's brand kit, if it has one. Call it BEFORE building or restyling any page, report, deck or dashboard, with the workspace_id you were asked to publish in. A workspace kit (kind: "workspace") carries the palette by role, the heading and body fonts and where they come from, the logo and mark URLs (null until the workspace adds a logo), the language and locale, the tone and the phrases never to use, the rules a page follows, and tokens_css: paste it as the first rule of the page's own and set every colour and font through var(--brand-*). The website workspace kit (kind: "website") is SnapHost's own: --sh-* tokens injected on delivery, the voice, the plan prices and the landing-page steps. Either kit, and a workspace with no kit, may carry guidelines: the brand guidelines as a page or PDF URL the owner set; read it before building and follow it where the kit is silent, and let the kit win where they disagree. A workspace kit with pending: true was saved before the guidelines last changed: build from it, tell the person once, and offer /snaphost:brand to update it. Fix every brand_warnings entry a publish returns before reporting done; warnings never block. A workspace with no kit returns has_brand_kit: false and how to create one.

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": "get_brand_kit"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspace_idNoOptional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Optional: the workspace (the personal space or a Pro workspace) to act in, from list_workspaces. Omit to act in the token owner's own account."New value: +"Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for)."
  2. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: the shape of the return, `has_brand_kit: false` for a kitless workspace, null logo URLs until set, the meaning of `pending`, and the non-blocking nature of `brand_warnings`. However, the `brand_warnings` sentence drifts into a different tool's behavior (publish), which slightly muddies rather than clarifies this tool.

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 core purpose and the call-before-building instruction are front-loaded, and each subsequent sentence covers a distinct case (workspace kit, website kit, guidelines, pending, warnings, no kit). It is one dense paragraph, though, and the publish-time `brand_warnings` instruction belongs to a different tool, adding length without serving selection of this one.

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?

There is no output schema, yet the description fully describes what comes back for each kit kind, for a kitless workspace, and for guidelines. Combined with the explicit call ordering and the pending/warning handling, an agent has everything needed to call it and act on the result.

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% on a single optional workspace_id, so the baseline would be 3. The description earns above baseline by telling the agent which workspace to target in practice ('with the workspace_id you were asked to publish in'), a selection rule the schema does not state.

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 definition names the exact resource and its scope ('The active workspace's brand kit, if it has one') and then enumerates the contents by kind (workspace vs website), which lets an agent distinguish it from set_brand_kit without opening a schema. The 'if it has one' qualifier plus the explicit no-kit return path makes the tool's contract unambiguous.

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?

It gives an explicit trigger ('Call it BEFORE building or restyling any page, report, deck or dashboard') and states which workspace_id to pass. It also resolves downstream decision rules: the kit wins over guidelines where they disagree, `pending: true` means build then tell the person once and offer /snaphost:brand, and `brand_warnings` must be fixed but never block.

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.