Skip to main content
Glama

Save Strategy Item

save_strategy_item
Idempotent

Creates or updates one strategy item: kind = persona | pillar | angle | market | buyer_question. Personas, pillars and angles are the Messaging page (/messaging); an angle is one persona × pillar pair, so create it with fields.personaId and fields.pillarId from get_brand_context. Markets are the Markets page (/markets); to add one from a place name, set_up_market resolves the codes for you. Pass id to update an existing item. For a persona, pillar, angle or market, send only the fields that change; the rest, and the active flag, keep their saved values. Pillar and angle slugs cannot change after creation. A new market without priority goes after every existing one; a locationCode and languageCode pair must be one list_market_locations returns. Pass id and active only (no fields) to deactivate (false) or reactivate (true) a persona, pillar, angle, market, or buyer question without deleting it. Buyer question text cannot be edited in place — create a new one, retire it with active: false, or delete it with delete_strategy_item. A buyer question's topic (a short label, max 60 characters) can change any time: pass id with fields.topic, or empty to clear. It touches no past or future check. A buyer question's markets can change any time too: fields.marketIds lists the markets it is asked in (write each question in its markets' language; for one intent in two languages add two questions), and an empty list asks it in every market. It changes only future checks and AI search volume; an id that is not one of this workspace's markets is refused. Creating a buyer question also returns item.firstCheck { questions, markets, engines, checks }: what the next AI answer check sends (each active question in each active market with a location it is asked in, × engines). suggest_buyer_questions lists questions to start with. Returns appUrl, the page where a person sees the item. Related: get_brand_context, suggest_buyer_questions, delete_strategy_item, set_up_market, list_market_locations, get_content_performance.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>"
    },
    "name": "save_strategy_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoExisting item id. Omit to create.
kindYesWhich kind of strategy item.
activeNofalse retires the item without deleting it.
fieldsNoKind-specific fields. persona: name, slug, wants, convincedBy (list), objections (list; put the answer in the line as objection: answer), pains (list), jobs (list: jobs to be done), language (list: phrases the customer uses, in their words). pillar: name, slug, formats (list), notes. angle: name, slug, personaId, pillarId. Lists and notes are optional on create. market: name, country (ISO code such as US), timezone (IANA, such as America/New_York), priority (lower comes first; optional on create), locationCode and languageCode (from list_market_locations; null clears them). buyer_question: question, topic (optional; a short label, max 60 characters; empty clears it), marketIds (optional; ids of this workspace's markets from get_brand_context to ask it in; empty or missing asks it in every market).

Output Schema

NameRequiredDescriptionDefault
itemYes
kindYes
appUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / fields / description
      Previous value: -"Kind-specific fields. persona: name, slug, wants, convincedBy (list), objections (list; put the answer in the line as objection: answer), pains (list), jobs (list: jobs to be done), language (list: phrases the customer uses, in their words). pillar: name, slug, formats (list), notes. angle: name, slug, personaId, pillarId. Lists and notes are optional on create. market: name, country (ISO code such as US), timezone (IANA, such as America/New_York), priority (lower comes first; optional on create), locationCode and languageCode (from list_market_locations; null clears them). buyer_question: question, topic (optional; a short label, max 60 characters; empty clears it), marketIds (optional; ids of this workspace's markets from get_brand_context to ask it in; empty or missing asks it in every market). kpi_target: metric (posts_per_week | impressions | engagement_rate | leads | qualified | rejection_rate | cost_per_lead), month (YYYY-MM), value (zero or more, up to 4 decimal places; engagement_rate in percent, so 4.5 means 4.5%)."New value: +"Kind-specific fields. persona: name, slug, wants, convincedBy (list), objections (list; put the answer in the line as objection: answer), pains (list), jobs (list: jobs to be done), language (list: phrases the customer uses, in their words). pillar: name, slug, formats (list), notes. angle: name, slug, personaId, pillarId. Lists and notes are optional on create. market: name, country (ISO code such as US), timezone (IANA, such as America/New_York), priority (lower comes first; optional on create), locationCode and languageCode (from list_market_locations; null clears them). buyer_question: question, topic (optional; a short label, max 60 characters; empty clears it), marketIds (optional; ids of this workspace's markets from get_brand_context to ask it in; empty or missing asks it in every market)."
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "persona",
      -  "pillar",
      -  "angle",
      -  "market",
      -  "buyer_question",
      -  "kpi_target"
      -]New value: +[
      +  "persona",
      +  "pillar",
      +  "angle",
      +  "market",
      +  "buyer_question"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / fields / description
      Previous value: -"Kind-specific fields. persona: name, slug, wants, convincedBy (list), objections (list; put the answer in the line as objection: answer), pains (list), jobs (list: jobs to be done), language (list: phrases the customer uses, in their words). pillar: name, slug, formats (list), notes. angle: name, slug, personaId, pillarId. Lists and notes are optional on create. market: name, country (ISO code such as US), timezone (IANA, such as America/New_York), priority (lower comes first; optional on create), locationCode and languageCode (from list_market_locations; null clears them). buyer_question: question, topic (optional; a short label, max 60 characters; empty clears it). kpi_target: metric (posts_per_week | impressions | engagement_rate | leads | qualified | rejection_rate | cost_per_lead), month (YYYY-MM), value (zero or more, up to 4 decimal places; engagement_rate in percent, so 4.5 means 4.5%)."New value: +"Kind-specific fields. persona: name, slug, wants, convincedBy (list), objections (list; put the answer in the line as objection: answer), pains (list), jobs (list: jobs to be done), language (list: phrases the customer uses, in their words). pillar: name, slug, formats (list), notes. angle: name, slug, personaId, pillarId. Lists and notes are optional on create. market: name, country (ISO code such as US), timezone (IANA, such as America/New_York), priority (lower comes first; optional on create), locationCode and languageCode (from list_market_locations; null clears them). buyer_question: question, topic (optional; a short label, max 60 characters; empty clears it), marketIds (optional; ids of this workspace's markets from get_brand_context to ask it in; empty or missing asks it in every market). kpi_target: metric (posts_per_week | impressions | engagement_rate | leads | qualified | rejection_rate | cost_per_lead), month (YYYY-MM), value (zero or more, up to 4 decimal places; engagement_rate in percent, so 4.5 means 4.5%)."
  3. Changed1 schema field changed
    • changedInput schema / properties / fields / description
      Previous value: -"Kind-specific fields. persona: name, slug, wants, convincedBy (list), objections (list). pillar: name, slug, formats (list), notes. angle: name, slug, personaId, pillarId. Lists and notes are optional on create. market: name, country (ISO code such as US), timezone (IANA, such as America/New_York), priority (lower comes first; optional on create), locationCode and languageCode (from list_market_locations; null clears them). buyer_question: question, topic (optional; a short label, max 60 characters; empty clears it). kpi_target: metric (posts_per_week | impressions | engagement_rate | leads | qualified | rejection_rate | cost_per_lead), month (YYYY-MM), value (zero or more, up to 4 decimal places; engagement_rate in percent, so 4.5 means 4.5%)."New value: +"Kind-specific fields. persona: name, slug, wants, convincedBy (list), objections (list; put the answer in the line as objection: answer), pains (list), jobs (list: jobs to be done), language (list: phrases the customer uses, in their words). pillar: name, slug, formats (list), notes. angle: name, slug, personaId, pillarId. Lists and notes are optional on create. market: name, country (ISO code such as US), timezone (IANA, such as America/New_York), priority (lower comes first; optional on create), locationCode and languageCode (from list_market_locations; null clears them). buyer_question: question, topic (optional; a short label, max 60 characters; empty clears it). kpi_target: metric (posts_per_week | impressions | engagement_rate | leads | qualified | rejection_rate | cost_per_lead), month (YYYY-MM), value (zero or more, up to 4 decimal places; engagement_rate in percent, so 4.5 means 4.5%)."
  4. Changed3 schema fields changed
    • changedInput schema / properties / fields / description
      Previous value: -"Kind-specific fields. persona: name, slug, wants, convincedBy, objections. pillar: name, slug, formats, notes. angle: name, slug, personaId, pillarId. market: name, country, timezone, priority (locationCode and languageCode optional). buyer_question: question, topic (optional). kpi_target: metric, month, value."New value: +"Kind-specific fields. persona: name, slug, wants, convincedBy (list), objections (list). pillar: name, slug, formats (list), notes. angle: name, slug, personaId, pillarId. Lists and notes are optional on create. market: name, country (ISO code such as US), timezone (IANA, such as America/New_York), priority (lower comes first; optional on create), locationCode and languageCode (from list_market_locations; null clears them). buyer_question: question, topic (optional; a short label, max 60 characters; empty clears it). kpi_target: metric (posts_per_week | impressions | engagement_rate | leads | qualified | rejection_rate | cost_per_lead), month (YYYY-MM), value (zero or more, up to 4 decimal places; engagement_rate in percent, so 4.5 means 4.5%)."
    • addedOutput schema / properties / appUrl
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "item",
      -  "kind"
      -]New value: +[
      +  "appUrl",
      +  "item",
      +  "kind"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / fields / description
      Previous value: -"Kind-specific fields. persona: name, slug, wants, convincedBy, objections. pillar: name, slug, formats, notes. angle: name, slug, personaId, pillarId. market: name, country, timezone, priority (locationCode and languageCode optional). buyer_question: question. kpi_target: metric, month, value."New value: +"Kind-specific fields. persona: name, slug, wants, convincedBy, objections. pillar: name, slug, formats, notes. angle: name, slug, personaId, pillarId. market: name, country, timezone, priority (locationCode and languageCode optional). buyer_question: question, topic (optional). kpi_target: metric, month, value."
  6. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnly=false, destructive=false, idempotent=true), but the description adds substantial behavior: unspecified fields and the active flag keep saved values on update, a new market without priority appends to the end, an invalid locationCode/languageCode pair or foreign market id is refused, and market changes affect only future checks and AI search volume. It stops short of permissions or error/rate-limit behavior, but the mutation semantics are unusually well disclosed.

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?

Front-loaded with what the tool does and the kind-to-page mapping before the conditional rules, and essentially every sentence carries a rule an agent needs. It is dense though: a long block of prose with long compound sentences (buyer question topic/market rules) that would be easier to scan as short bullets.

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?

Covers all five kinds, create versus update versus retire, field immutability, and the key return values (appUrl, item.firstCheck), so an agent has enough to call it correctly for any kind. Minor gaps remain, such as what happens to buyer question answers tied to a cleared topic or how conflicting updates are resolved, but an output schema exists to absorb the return-value side.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, yet the description still adds semantics the schema cannot: id means update versus omit means create, active-only payload means toggle, fields.topic with an empty value clears, fields.marketIds empty or missing means every market, and slug immutability after creation. It goes well beyond restating property descriptions.

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?

States a specific verb pair (creates or updates) and a single resource (one strategy item), then enumerates the five kinds and maps each to its page (/messaging, /markets). An agent can distinguish this from save_claim, save_idea or delete_strategy_item without opening any schema.

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 routing rules: pass id to update, pass id plus active only to deactivate/reactivate, use set_up_market to resolve location codes, use suggest_buyer_questions for starter questions, and use delete_strategy_item or a new item when buyer question text must change. When-not rules are stated (slugs cannot change, buyer question text cannot be edited in place), not merely implied.

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