Skip to content
Documentation

Documentation Technical reference

Technical reference

Last updated: 30 November 2026

This page is for IT and developers. It describes how BrandTrim is built technically. The instructions for your team are under Connect your AI tool.

In brief

  • BrandTrim is an MCP server (Model Context Protocol, Streamable HTTP transport). Any AI tool with custom connectors can use it.
  • A brand's Kit is a folder of YAML, Markdown and JSON files. It is versioned in Git.
  • The checking of the fixed rules is deterministic: it runs as code on the server, without AI.
  • The Kit belongs to you. You can get it as a complete export at any time.

Address and authentication

Every customer has an address of their own in this form:

Purpose Address
MCP server for AI tools https://app.brandtrim.ai/mcp/<key>
Kit view in the browser https://app.brandtrim.ai/kit/<key>
Interface for the Word and Outlook add-in https://app.brandtrim.ai/api/addin/…, sign-in with Authorization: Bearer <key>

The key is a long, secret random string. The server reads the customer from it and loads only that customer's Kit. The customer never comes from the request, so access to another customer's Kit is not possible. Only a checksum (SHA-256) of the key is stored; the key itself is stored nowhere. A key can be blocked at any time and replaced with a new one.

Security today. The connectors for Claude, ChatGPT and Mistral work without sign-in: the personal address is the access. Treat it like a password. That is sufficient as long as the Kit contains only content that may be public. For larger companies, a sign-in with a personal account (OAuth) is in preparation. The secret part of the address then falls away, and access can be revoked per person.

There are two separate accesses: one for the team (checking, templates, files) and one for the responsible person (additionally reports). An edit link only creates drafts and cannot change the Kit directly.

Tools of the server

Every tool has a description that tells the AI when to call it.

Tool Purpose Access
get_brand_overview Brand core, tone in brief, most important rules, templates, Kit version reads
get_guidelines Rules and content on a topic (tone, word choice, colours, typeface, logo, images, channel, personality) reads
get_template Template for a channel and format, with structure, required parts and example reads
list_assets Logos, typefaces, images with purpose and suitable background, download link valid for 1 hour reads
check_text Checks a draft: automatic rule check plus check questions for the AI reads, logs the check without the text
brand_trim Like check_text, with a check report (verdict, findings, suggestion), also as HTML reads, logs the check without the text
suggest_change Feedback on the rulebook to the responsible person writes feedback, only after the person's explicit yes, never changes the Kit
lookup_product Verified product data and permitted claims (only for Kits with product data) reads
get_image_brief Specifications for image AI (only for Kits with an image look) reads
get_report, get_stats, top_findings, get_rule_health, get_feedback Monthly report and analysis (only the responsible person's access) reads

The text that a tool checks counts only as data. Instructions in it are not executed. What is stored is described under Privacy and security.

Scoring and exceptions

Besides the findings, check_text returns a verdict (ok, anpassen = revise, mensch = a person decides), a score and a rating (on_brand, grenzwertig = borderline, off_brand). With a finding from a must rule, the score is 69 at most.

A rule can expressly take precedence over another (ueberschreibt with a reason and channels in rules.yaml). Within the scope of the exception, the overridden rule reports no finding. If a contradiction is still open, the finding names in the field konflikt which rule takes precedence and why.

Structure of the Kit

The Kit is one folder per brand. The versions are in Git, every change is traceable and can be undone.

File or folder Content
brand.yaml Name, version, languages, channels, responsible person, conflict rule, form of address per channel
rules.yaml Rules with check question, level of obligation, examples, source, owner and date
lexicon.yaml Word choice: preferred and avoided words
templates.yaml Templates per channel and format with sample text
00-markenkern/, 01-sprache/, 04-kanaele/, 05-beispiele/ Texts in Markdown: brand core, tone, channels, good and bad examples
03-tokens/tokens.json Colours and typefaces in the W3C Design Tokens format (DTCG)
02-visuell/ Image style and, where present, image look
assets/, data/ Logos and files, product data
CHANGELOG.md Version history of the Kit

The schema version is in brand.yaml in the field spec (currently brandkeel/0.1, the former project name). The folder names are German.

Example of a rule

This is how a rule looks in rules.yaml, here from the demo Kit of the fictional Aaresud Naturkosmetik AG. The values are in German, as stored; the English in brackets is added for reading.

Field Value
id sprache-schweizer-schreibweise
title Schweizer Rechtschreibung (Swiss spelling)
category sprache (language)
statement Wir schreiben ss statt ß und setzen Guillemets « » als Anführungszeichen. (We write ss instead of ß and use guillemets « » as quotation marks.)
test Enthält der Text kein ß und nur Guillemets als Anführungszeichen? (Does the text contain no ß and only guillemets as quotation marks?)
binding must (binding); the alternative is should (recommendation)
auto true: the server checks the rule itself, the AI does not need to judge anything
do / dont «Freundliche Grüsse», «Seife Arve» / «Freundliche Grüße», "Seife Arve"
source 01-sprache/tonalitaet.md
owner Nina Aebersold
since 2026-10-29

Rules without auto: true (for example on tone) contain only the check question. The AI answers it against the text.

Versions and change log

Every change to the Kit gets a new version with a date, a reason and the name of who decided it. The current version is returned by get_brand_overview. The history is in the CHANGELOG.md of the Kit. This is what an entry looks like:

1.2.1 – 2026-11-21: Sample texts of the templates structured into paragraphs. Wording unchanged.

You can get the change log at any time on request. Changes to the server itself (check logic, tools, interfaces) are kept separately in a server log, see below.

Deterministic checking

The automatic rule checks run as code on the server, without AI. For the same text, the same channel and the same Kit version, they always give the same result. They cover:

  • Swiss spelling and guillemets
  • Spelling of the company name
  • Words you avoid
  • Form of address per channel
  • Superlatives without evidence, promotional exclamation marks, emojis
  • Number formats and prices

In the demo Kit, 12 of 19 rules can be checked automatically. The rest (such as tone or structure) are judged by the AI using the check questions from the Kit.

Ownership, export and deletion

The Kit belongs to you. It consists of open text formats (YAML, Markdown, JSON) and can be exported completely at any time, and read and reused even without BrandTrim.

The responsible person exports the Kit with one click: in the Kit view, in the "Export" section, a ZIP is created with everything below, with logos and typefaces on request. All files are generated from the current Kit:

Export Format Use
Complete Kit Folder kit/ with YAML, Markdown and JSON, with logos and typefaces on request Backup, switching, own tools
Design file DESIGN.md (Google Labs, alpha format): colours and typefaces as values, plus description, voice, do's and don'ts Coding agents and design tools
Single document brand.md (Markdown) Passing on to people and AI
Agent Skill Folder with SKILL.md and reference files rules.md, voice.md, lexicon.md, examples.md, core.md Claude and other tools with skills, without a connector
Project instructions Markdown under 8,000 characters ChatGPT projects and tools with an instruction field
Colours and typefaces tokens.json in DTCG format Design tools, websites

CSS variables as a separate file will follow. The exports are snapshots: only the direct connection stays up to date automatically.

Deletion. After termination, we delete the Kit and all operating data within 30 days. Beforehand you receive the complete export.

Standards and interfaces

Standard Status at BrandTrim
MCP (Streamable HTTP) Yes, interface for Claude, ChatGPT, Mistral and Copilot Studio
Agent Skills (SKILL.md) Export available
Design Tokens (DTCG) Colours and typefaces of the Kit are available as tokens.json in DTCG format
llms.txt Yes: brandtrim.ai/en/llms.txt and the whole documentation as llms-full.txt. Every documentation page is also available as Markdown (ending .md).
DESIGN.md Export available (alpha format from Google Labs). It covers the visual side; the whole Kit is in brand.md.
OAuth In preparation, see above
Office add-in (Word, Outlook) Yes, see Connect your AI tool

Changes to the server

A selection of the latest changes. The Kits keep their own logs.

Date Change
24 Nov 2026 Export of the whole Kit with one click in the Kit view (ZIP), now including DESIGN.md
21 Nov 2026 Add-in for Outlook: checking, applying, template and logo while writing an email
21 Nov 2026 Add-in for Word: checking, showing, applying in Track Changes, comments, templates, logos
16 Nov 2026 Interface for the add-in (/api/addin/check, /api/addin/kit, /api/addin/feedback). Findings carry their position in the text on request.
16 Nov 2026 Brand personality after HEXACO as part of the Kit, with analysis in the monthly report
16 Nov 2026 Export as Agent Skill, single document and project instructions
14 Nov 2026 Multilingual Kits: every language version is a complete Kit of its own

Your brand has a voice.
Does AI understand
what it is saying?

In a personal conversation we will gladly show you how your brand wins over AI as well.

Book a demo