Create and test a Smart Tag
Requires the BuildBetter MCP release that exposes list-tag-groups,
list-tag-group-tags, and the durable Smart Tag workflow tools below. Do not
install or distribute this skill against an older production MCP inventory.
A Smart Tag is an existing tag inside an existing tag group. Its memberId is the stable identity used by MCP and the product wizard. Never create a parallel definition or a temporary tag group.
Workflow
- Require an OAuth-authenticated user for mutations.
- Call
list-tag-groups, have the user select a writable group, then calllist-tag-group-tags. Organization Groups are permission principals; tag groups organize tags. - Reuse the returned
memberIdwhen the tag already exists. If the user explicitly wants a new tag, callpreview-smart-tag-setupwith the selectedtagGroupId, one tag name, description, labeling instructions,activateNewTags: false, andupdateExisting: false. Confirm the preview will add a dormant tag to that exact group, obtain approval, then callapply-smart-tag-setupwith the unchanged input. Use the created member ID frommembers; do not create another group. The tag becomes live only after publication. - Write labeling instructions that define positive conditions, exclusions, and ambiguous mentions. The group already owns the target: signals use the legacy contract value
extraction; full recordings useinterview. Keep those exact values when invoking tools. - Call
create-smart-tag-draftwith the canonicalmemberId, instructions, and initial pre-filter. If the tag already has a published workflow, usecreate-smart-tag-revision; never mutate the live revision. If a candidate already exists, resume it. - Return
productPath. It opens this same tag and workflow in the visual wizard. - Keep the first evaluation bounded, normally 10–15 examples and no more than 100 candidates. Use exhaustive sampling when false negatives matter. Use keyword pre-filtering when the concept has reliable vocabulary.
- When useful, call
suggest-smart-tag-prefilterfor the current member and revision. Show the proposed keywords and real-corpus estimate, then persist only approved terms withupdate-smart-tag-draft. - Explain the maximum cost and obtain approval: each object evaluated costs one credit per iteration, including no-match predictions. Objects outside the evaluation cohort cost zero.
- Generate an idempotency UUID and call
run-smart-tag-evaluationwithmemberId, current revision, explicit date bounds, candidate limit, and example limit. Reuse the same UUID only after an unknown result or an approved retry of that identical operation. - Poll
get-smart-tag-operationwith the same member and operation IDs until terminal when completion is requested. Report case counts, exact credits, errors, and the product review link. Usecancel-smart-tag-operationonly when the user asks to stop it.
Hand completed evidence to buildbetter-review-improve-smart-tag. Evaluation is not publication approval. Publishing and historical backfill each require separate explicit approval.
Guardrails
- Never choose a group by name when a public ID is available.
- Never create a group as a side effect of creating, testing, revising, or backfilling a tag.
- Never create a second Smart Tag identity for a tag-group member.
- Preserve the returned member ID and revision across MCP and product handoffs.
- Never publish automatically.


