Skip to main content
Glama

brand_connect_repo

Connect a GitHub repository to Brandcode Studio to sync brand data automatically. The .brand/ directory serves as the source of truth, with updates applied every 5 minutes.

Instructions

Connect a GitHub repository to Brandcode Studio for automatic brand syncing. The repo's .brand/ directory becomes the source of truth — push changes to git and Studio picks them up every 5 minutes. Requires auth (run brand_brandcode_auth first). Use when the user says "connect my repo", "sync from GitHub", "link my brand repo", or "set up git-connected brand".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesGitHub repo in "owner/repo" format (e.g. "acme-corp/brand-system")
brand_slugYesBrand slug to connect this repo to (e.g. "acme"). Must match an existing hosted brand or will create one.
branchNoBranch to watch (default: main)main
brand_pathNoPath to .brand/ directory within the repo (default: .brand).brand
brandcode_urlNoBrandcode Studio URL (default: https://www.brandcode.studio)
Behavior5/5

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

Despite no annotations, the description discloses key behaviors: the .brand/ directory becomes source of truth, updates are polled every 5 minutes, and authentication is required. It also implicitly reveals that brand_slug may create a new brand. This is comprehensive behavioral context beyond the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two concise sentences. The first sentence front-loads the core purpose, and the second efficiently adds usage triggers and prerequisites. Every word earns its place with no redundancy.

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?

The tool has 5 parameters (all documented in schema) and no output schema. The description covers the main behavior and sync mechanism but lacks explicit mention of return values or success/failure indicators. It is mostly complete for a connect tool, but a brief note on output would make it fully self-contained.

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 is 100%, so baseline is 3. The description adds minimal extra semantics; it mentions the .brand/ directory and sync interval, but these are already stated or implied by the schema. The description does not significantly augment parameter understanding beyond what the schema provides.

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 tool connects a GitHub repo to Brandcode Studio for automatic brand syncing, with a specific verb and resource. It distinguishes from siblings like brand_brandcode_connect and brand_repo_status by detailing the sync mechanism and the .brand/ directory as source of truth.

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?

Explicit triggers are given: 'connect my repo', 'sync from GitHub', etc. It also mandates running brand_brandcode_auth first. This provides clear when-to-use guidance and prerequisites, with alternatives implied by sibling tool names.

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/Brandcode-Studio/brandsystem-mcp'

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