Skip to main content
Glama

AdsAgent — Meta Ads MCP

templates_create

Destructive

Create a saved launch template

Input Schema

NameRequiredDescriptionDefault
requestYes

Output Schema

NameRequiredDescriptionDefault
messageNo
retryableNo
support_refNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / connection_context
      Removed value: -{
      -  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      -  "type": "string"
      -}
  2. Changed1 schema field changed
    • addedInput schema / properties / request / properties / targeting
      Added value: +{
      +  "$ref": "#/$defs/TargetingIntent",
      +  "description": "Use language and country names, for example {\"languages\": [\"英语\"], \"countries\": [\"美国\"]}."
      +}
  3. Changed1 schema field changed
    • addedOutput schema / else / else / properties / content_updated_at
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  4. Changed6 schema fields changed
    • addedOutput schema / else / then / properties / category
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / expected
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / else / then / properties / failure_kind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / responsibility_hint
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / route
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / user_visible
      Added value: +{
      +  "type": "boolean"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  6. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the description's only job is added context, and it adds none: nothing about what 'overwrite' does when a template with that name exists, whether template_name must be unique, or that omitting source IDs requires a full manual spec. For a mutating tool with a 20-property nested payload this is a substantial gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

One short, front-loaded sentence with zero waste, but the brevity is a symptom of under-specification rather than economy. There is no structural scaffolding for a tool whose payload is this complex.

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?

An output schema exists so return values need not be explained, and annotations cover the safety profile. But a destructive create call with a large, undocumented nested object and no coverage of the source-based vs manual construction paths leaves the agent without enough to call this correctly.

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

Parameters1/5

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

Schema description coverage is 0% and the schema is a single nested 'request' object with roughly twenty properties whose relationships (source_ad_id vs source_adset_id mutual exclusion, template_kind affecting partnership_* fields, creative_distribution default) are completely undocumented. The description supplies no parameter meaning at all, so the agent must reverse-engineer semantics from field names.

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 ('Create') and resource ('saved launch template'), which is clearer than the bare tool name. It does not differentiate from adjacent siblings such as templates_reverse_engineer, templates_update, or setup_ensure_baseline_templates, leaving the agent to infer where template creation belongs in the workflow.

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?

No guidance on when to create a template versus reverse-engineering one, updating an existing one, or using setup_ensure_baseline_templates. No prerequisites, no note about which source fields must accompany each other despite the schema's 'not both' constraint on source_ad_id/source_adset_id.

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