Skip to main content
Glama

create_content_brief

Generate an evidence-grounded content brief for one tracked prompt: it reads the recent answers for the prompt, the pages the engines cited and the searches they ran, checks the brand's own Search Console (when connected) for a page already within Google's top 20 for those searches, and writes a page plan (target question, recommendations, structure, schema to add, and proof to include: the kind of proof and its genuine source, never a figure to publish) with the evidence and a refresh-or-new verdict. When the recent answers show no real gap, it says so instead of writing a brief. It spends AI on the workspace's own key or Managed AI, not against the scan allowance. Requires write actions and "Allow actions that spend AI"; counts toward 20 assistant-started scans, briefs and rankings refreshes per workspace per day. Without confirm:true it returns a preview.

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": {
      "promptId": "<promptId>"
    },
    "name": "create_content_brief"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoWith search: only answers of prompts carrying this tag.
daysNoWith search: the window in whole UTC days (default 30).
engineNoWith search: only that engine's answers (the channel id get_ai_visibility_metrics names).
searchNoScope the brief to ONE fan-out search of that prompt (a search the engines ran for it, as get_query_fanouts lists them): it is built on the answers that ran that search in the window, saved beside the prompt's own brief (one open brief per search and page), and read back with get_content_brief's search. Omit for the prompt's own brief over every answer.
confirmNotrue generates the brief. Omit to preview. With confirm:true, also pass the preview's previewToken.
newPageNotrue writes the brief for a NEW page and ignores Search Console's refresh-first verdict. Not with targetUrl.
promptIdYesThe tracked prompt to write a brief for (id from list_prompts or get_content_gaps).
targetUrlNoWrite the brief as a refresh of THIS page: an absolute http(s) address on one of the project's own domains (the page is fetched and diffed; nothing is spent when it cannot be read). Omit for the automatic choice: the page the AI surfaced from the site, else the page Search Console shows in Google's top 20 that matches the prompt itself, else a new page; a homepage is never rewritten for a list or comparison question (except in a Local GEO project). Not with newPage.
promptTypeNoWith search: only answers of shopping prompts, or only of the others (the fan-outs page's type filter).
previewTokenNoWith confirm:true: the previewToken from this tool's preview (valid 15 minutes, once, for exactly the previewed arguments).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / newPage
      Added value: +{
      +  "description": "true writes the brief for a NEW page and ignores Search Console's refresh-first verdict. Not with targetUrl.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / search / description
      Previous value: -"Scope the brief to ONE fan-out search of that prompt (a search the engines ran for it, as get_query_fanouts lists them): it is built on the answers that ran that search in the window, saved beside the prompt's own brief (one open brief per search), and read back with get_content_brief's search. Omit for the prompt's own brief over every answer."New value: +"Scope the brief to ONE fan-out search of that prompt (a search the engines ran for it, as get_query_fanouts lists them): it is built on the answers that ran that search in the window, saved beside the prompt's own brief (one open brief per search and page), and read back with get_content_brief's search. Omit for the prompt's own brief over every answer."
    • addedInput schema / properties / targetUrl
      Added value: +{
      +  "description": "Write the brief as a refresh of THIS page: an absolute http(s) address on one of the project's own domains (the page is fetched and diffed; nothing is spent when it cannot be read). Omit for the automatic choice: the page the AI surfaced from the site, else the page Search Console shows in Google's top 20 that matches the prompt itself, else a new page; a homepage is never rewritten for a list or comparison question (except in a Local GEO project). Not with newPage.",
      +  "maxLength": 2000,
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  3. Changed1 schema field changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true to generate the brief. Omit to preview. With confirm:true, also pass the preview's previewToken."New value: +"true generates the brief. Omit to preview. With confirm:true, also pass the preview's previewToken."
  4. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Although annotations already declare a non-read-only, open-world, non-destructive operation, the description adds substantial context: AI spend comes from the workspace key or Managed AI rather than the scan allowance, required 'Allow actions that spend AI' permission, a 20-per-workspace-per-day cap on assistant-started scans/briefs/refreshes, no spend when a target page cannot be fetched, and the preview→confirm:true two-step flow with a 15-minute single-use previewToken.

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?

Purpose is front-loaded in the first clause and the sentences are information-dense with no filler. It is, however, a long run-on chain of clauses (spend policy, permission, rate limit, preview) that would scan better as separate sentences or a short list.

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?

For a ten-parameter mutation tool with no output schema, the description covers cost, permissions, quotas, preview semantics, the no-gap outcome, and the shape of the produced brief, which is close to enough. A little more on what the caller receives back from the preview versus the generated brief would close the remaining gap.

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 description coverage is 100%, so each of the ten parameters is already documented in the schema, including the search scoping, newPage vs targetUrl mutual exclusion, and previewToken lifetime. The description only reinforces confirm:true and the automatic URL-selection logic at a high level, adding little meaning beyond the schema, so the baseline of 3 applies.

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 and resource ('Generate an evidence-grounded content brief for one tracked prompt') and immediately enumerates the inputs it reads (recent answers, cited pages, searches run, Search Console top-20 check) plus the artifact it produces (page plan with target question, recommendations, structure, schema, proof, verdict). An agent can distinguish this write operation from read-only siblings like get_content_brief and get_content_gaps.

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?

Gives clear conditions: scoped to one tracked prompt, skip-brief behavior ('when the recent answers show no real gap, it says so'), preview unless confirm:true, and pointer that IDs come from list_prompts or get_content_gaps. It does not explicitly compare itself to siblings for the 'should I generate a brief at all' decision, which keeps it below a 5.

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