Skip to main content
Glama

Draft marketing content

gtm_generate_content

Generate and persist a new GTM content draft for the authenticated user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoNumber of variants to generate (1-20)
channelNoDelivery channel. One of: x|linkedin|facebook|instagram|youtube|email|webx
languageNoOptional language
appSourceNopromptui | custom session idpromptui
_confirmedNoSet to true only after the user has explicitly approved this exact write or credit-spending action.
campaignIdNoOptional campaign id
contentClassNoContent class. One of: product_led|brand_led|domain_led|offer_ledproduct_led
operatorPromptNoOptional operator instruction for the generator
deliverableTypeNoDeliverable type. One of: post|thread|launch_pack|bio|promo_campaign|educational_series|landing_copy|visual_brief|seo_blog_post|seo_landing_page|llms_txtpost

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / deliverableType / description
      Previous value: -"Deliverable type. One of: post|thread|launch_pack|bio|promo_campaign|educational_series|landing_copy|cinematic_video_teaser|visual_brief|seo_blog_post|seo_landing_page|llms_txt"New value: +"Deliverable type. One of: post|thread|launch_pack|bio|promo_campaign|educational_series|landing_copy|visual_brief|seo_blog_post|seo_landing_page|llms_txt"
  2. Changed1 schema field changed
    • addedInput schema / properties / _confirmed
      Added value: +{
      +  "default": false,
      +  "description": "Set to true only after the user has explicitly approved this exact write or credit-spending action.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the write profile is covered structurally. The description adds only 'persist', and omits the two traits an agent most needs here: that this is a credit-spending action and that the _confirmed flag must be true before invoking it. Those critical behaviors live only in 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.

Conciseness4/5

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

A single front-loaded sentence with no filler, and the write semantics appear immediately. It is efficient, though at this brevity it borders on under-specification for a 9-parameter mutation rather than being optimally structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter, credit-spending, non-idempotent generation tool with no output schema, one sentence is insufficient. The description never explains the confirmation requirement, cost implications, or what a 'draft' produces, leaving the agent to reconstruct the invocation contract from schema fields alone.

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 every one of the 9 parameters is already documented, including enum-like value lists and the _confirmed gate. The description adds no syntax, defaults, or interaction detail beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb pair (generate and persist), the resource (GTM content draft), and the ownership scope (authenticated user). It is clearly distinguishable from gtm_list_content and gtm_get_analytics, but it never contrasts itself with the nearest sibling, gtm_publish_content, so an agent must infer that this creates a draft rather than publishing one.

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

Usage Guidelines2/5

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

The description gives no when-to-use context, no prerequisites, and no alternatives. It does not mention that generation consumes credits or that the action must be gated on explicit user approval, both of which are decision-relevant to an agent choosing between this tool and gtm_publish_content.

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