Skip to main content
Glama

Set the ad-name tagging rule

set_creative_naming_rule
Destructive

Set, test or remove the naming rule of one Meta, TikTok or Snapchat ad account: a pattern that reads angle, hook and format out of ad names, so ads are tagged without tagging each one. Write the ad-name layout with placeholders and the separators as they appear, e.g. {angle}{hook}{format} or {skip} | {format} | {angle} | {hook}; {skip} is a part to ignore. Applies to current and future ads; a tag set by hand still wins. The result shows how many ad names match, with examples. dry_run=true tests a pattern without saving. Stored in Go Shift only.

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

Input Schema

NameRequiredDescriptionDefault
folderNoClient folder name.
removeNoRemove the account's naming rule.
accountNoAd account name or ID (Meta, TikTok or Snapchat).
dry_runNo
patternNoAd-name layout, e.g. {angle}_{hook}_{format}. Omit (with remove unset) to see the current rule.
languageNoThe language the user is writing in.
platformNoLimit to one platform.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/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 explains where destruction comes from (remove) and adds real context beyond them: the rule applies to current and future ads, manual tags override it, and "Stored in Go Shift only" bounds the blast radius. The notable gap is what happens to already-applied tags when a rule is removed or the stored scope is mentioned in the title — that is left unstated.

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 purpose comes first, then the pattern syntax with worked examples, then behavior, then the dry-run escape hatch. Dense but each sentence carries information; only the trailing "Stored in Go Shift only" feels appended rather than integrated.

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?

For a 7-parameter tool with no output schema, the description covers the write semantics, the preview path, precedence over manual tags, and even the shape of the result (match count with examples). An agent has enough to choose a mode and construct a pattern without consulting anything else.

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 already 86%, so the baseline is 3; the description earns above that by teaching the placeholder vocabulary ({angle}, {hook}, {format}, {skip}) and showing concrete separator layouts, which the schema only gestures at. It also clarifies the omit-pattern read behavior and that dry_run is a save-less test. It does not explain the folder/account/platform interactions beyond a one-liner.

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?

"Set, test or remove the naming rule of one Meta, TikTok or Snapchat ad account" gives a specific verb set plus a scoped resource, and immediately defines the mechanism: a pattern that reads angle, hook and format out of ad names. It also distinguishes itself from manual tagging ("ads are tagged without tagging each one"), so an agent can tell it apart from the creative_tag_* siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Each mode is routed explicitly: dry_run=true to test without saving, remove to delete the rule, and omitting pattern to read the current rule. Precedence against alternatives is also stated ("a tag set by hand still wins"). It stops short of naming a sibling tool to use instead for manual tagging, so it is not a full when-not/exclusion treatment.

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