Skip to main content
Glama

AdsAgent — Meta Ads MCP

templates_get

Read-only

Read a template by exact name

Input Schema

NameRequiredDescriptionDefault
cursorNo
sectionNo
template_nameNo

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. Changed3 schema fields changed
    • removedOutput schema / $defs
      Removed value: -{
      -  "s0": {
      -    "properties": {
      -      "configuration_coverage": {
      -        "properties": {
      -          "ad_params": {
      -            "type": "string"
      -          },
      -          "adset_params": {
      -            "type": "string"
      -          },
      -          "campaign_params": {
      -            "type": "string"
      -          },
      -          "complete": {
      -            "type": "boolean"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "contract_version": {
      -        "type": "integer"
      -      },
      -      "launch_critical_coverage": {
      -        "properties": {
      -          "complete": {
      -            "type": "boolean"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "launch_readiness": {
      -        "properties": {
      -          "reason_codes": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "status": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "normalization": {
      -        "properties": {
      -          "rejected_paths": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "rejected_paths_complete": {
      -            "type": "boolean"
      -          },
      -          "status": {
      -            "type": "string"
      -          },
      -          "version": {
      -            "type": "integer"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "persisted": {
      -        "type": "boolean"
      -      },
      -      "snapshot_ref": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "snapshot_revision": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "source_kind": {
      -        "type": "string"
      -      },
      -      "source_provenance": {
      -        "type": "string"
      -      },
      -      "write_bound_revision": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "s4": {
      -    "properties": {
      -      "bid_strategy": {
      -        "type": "string"
      -      },
      -      "daily_budget": {
      -        "type": [
      -          "number",
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "lifetime_budget": {
      -        "type": [
      -          "number",
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "objective": {
      -        "type": "string"
      -      },
      -      "optimization_goal": {
      -        "type": "string"
      -      },
      -      "status": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -}
    • changedOutput schema / else / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "ad_params": {
      -        "$ref": "#/$defs/s4"
      -      },
      -      "adset_naming": {
      -        "type": "string"
      -      },
      -      "adset_params": {
      -        "$ref": "#/$defs/s4"
      -      },
      -      "applied_at": {
      -        "type": "string"
      -      },
      -      "audit_status": {
      -        "type": "string"
      -      },
      -      "campaign_naming": {
      -        "type": "string"
      -      },
      -      "campaign_params": {
      -        "$ref": "#/$defs/s4"
      -      },
      -      "content_updated_at": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "created_at": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "creative_distribution": {
      -        "type": "string"
      -      },
      -      "effective_creation_defaults": {
      -        "properties": {
      -          "bid_strategy": {
      -            "type": "string"
      -          },
      -          "budget_amount": {
      -            "type": [
      -              "number",
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "budget_level": {
      -            "type": "string"
      -          },
      -          "budget_type": {
      -            "type": "string"
      -          },
      -          "creative_distribution": {
      -            "type": "string"
      -          },
      -          "preflight_tool": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "interest_pack_name": {
      -        "type": "string"
      -      },
      -      "migration_state": {
      -        "properties": {
      -          "envelope_schema_version": {
      -            "type": "integer"
      -          },
      -          "persisted": {
      -            "type": "boolean"
      -          },
      -          "provenance": {
      -            "type": "string"
      -          },
      -          "rejected_paths": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "rejected_paths_complete": {
      -            "type": "boolean"
      -          },
      -          "storage_schema_version": {
      -            "type": "integer"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "mutation_ref": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "outcome": {
      -        "type": "string"
      -      },
      -      "read_back": {
      -        "properties": {
      -          "arguments": {
      -            "properties": {
      -              "product_ref": {
      -                "type": "string"
      -              },
      -              "task_ref": {
      -                "type": "string"
      -              },
      -              "template_name": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "name": {
      -            "type": "string"
      -          },
      -          "tool": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "rejected_paths": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "rejected_paths_complete": {
      -        "type": "boolean"
      -      },
      -      "segmented_required": {
      -        "type": "boolean"
      -      },
      -      "segments": {
      -        "additionalProperties": {
      -          "properties": {
      -            "encoding": {
      -              "type": "string"
      -            },
      -            "sha256": {
      -              "type": "string"
      -            },
      -            "total_bytes": {
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "encoding",
      -            "total_bytes",
      -            "sha256"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "object"
      -      },
      -      "source": {
      -        "properties": {
      -          "ad_account_id": {
      -            "type": "string"
      -          },
      -          "ad_id": {
      -            "type": "string"
      -          },
      -          "adset_id": {
      -            "type": "string"
      -          },
      -          "adset_name": {
      -            "type": "string"
      -          },
      -          "campaign_name": {
      -            "type": "string"
      -          },
      -          "kind": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "tags": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": [
      -          "array",
      -          "null"
      -        ]
      -      },
      -      "template_kind": {
      -        "type": "string"
      -      },
      -      "template_name": {
      -        "type": "string"
      -      },
      -      "template_snapshot": {
      -        "$ref": "#/$defs/s0"
      -      },
      -      "updated_at": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "verification_status": {
      -        "type": "string"
      -      },
      -      "warnings": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "template_name",
      -      "name",
      -      "tags",
      -      "template_kind",
      -      "template_snapshot",
      -      "effective_creation_defaults"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "byte_length": {
      -        "type": "integer"
      -      },
      -      "byte_offset": {
      -        "type": "integer"
      -      },
      -      "complete": {
      -        "type": "boolean"
      -      },
      -      "data_base64url": {
      -        "type": "string"
      -      },
      -      "encoding": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "next_cursor": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "section": {
      -        "type": "string"
      -      },
      -      "segment_sha256": {
      -        "type": "string"
      -      },
      -      "segmented_required": {
      -        "type": "boolean"
      -      },
      -      "sha256": {
      -        "type": "string"
      -      },
      -      "template_name": {
      -        "type": "string"
      -      },
      -      "template_snapshot": {
      -        "$ref": "#/$defs/s0"
      -      },
      -      "total_bytes": {
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "template_name",
      -      "name",
      -      "template_snapshot",
      -      "segmented_required",
      -      "section",
      -      "encoding",
      -      "data_base64url",
      -      "byte_offset",
      -      "byte_length",
      -      "total_bytes",
      -      "sha256",
      -      "segment_sha256",
      -      "next_cursor",
      -      "complete"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "complete": {
      -        "const": true
      -      },
      -      "found": {
      -        "const": false
      -      },
      -      "selector_field": {
      -        "type": "string"
      -      },
      -      "status": {
      -        "const": "not_found"
      -      }
      -    },
      -    "required": [
      -      "complete",
      -      "found",
      -      "selector_field",
      -      "status"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "required": [
      +      "effective_creation_defaults",
      +      "name",
      +      "tags",
      +      "template_kind",
      +      "template_name",
      +      "template_snapshot"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "byte_length",
      +      "byte_offset",
      +      "complete",
      +      "data_base64url",
      +      "encoding",
      +      "name",
      +      "next_cursor",
      +      "section",
      +      "segment_sha256",
      +      "segmented_required",
      +      "sha256",
      +      "template_name",
      +      "template_snapshot",
      +      "total_bytes"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "complete": {
      +        "const": true
      +      },
      +      "found": {
      +        "const": false
      +      },
      +      "status": {
      +        "const": "not_found"
      +      }
      +    },
      +    "required": [
      +      "complete",
      +      "found",
      +      "selector_field",
      +      "status"
      +    ]
      +  }
      +]
    • addedOutput schema / else / properties
      Added value: +{
      +  "ad_params": {
      +    "properties": {
      +      "bid_strategy": {
      +        "type": "string"
      +      },
      +      "daily_budget": {
      +        "type": [
      +          "number",
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "lifetime_budget": {
      +        "type": [
      +          "number",
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "objective": {
      +        "type": "string"
      +      },
      +      "optimization_goal": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "adset_naming": {
      +    "type": "string"
      +  },
      +  "adset_params": {
      +    "properties": {
      +      "bid_strategy": {
      +        "type": "string"
      +      },
      +      "daily_budget": {
      +        "type": [
      +          "number",
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "lifetime_budget": {
      +        "type": [
      +          "number",
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "objective": {
      +        "type": "string"
      +      },
      +      "optimization_goal": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "applied_at": {
      +    "type": "string"
      +  },
      +  "audit_status": {
      +    "type": "string"
      +  },
      +  "byte_length": {
      +    "type": "integer"
      +  },
      +  "byte_offset": {
      +    "type": "integer"
      +  },
      +  "campaign_naming": {
      +    "type": "string"
      +  },
      +  "campaign_params": {
      +    "properties": {
      +      "bid_strategy": {
      +        "type": "string"
      +      },
      +      "daily_budget": {
      +        "type": [
      +          "number",
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "lifetime_budget": {
      +        "type": [
      +          "number",
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "objective": {
      +        "type": "string"
      +      },
      +      "optimization_goal": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "complete": {
      +    "type": "boolean"
      +  },
      +  "content_updated_at": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "created_at": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "creative_distribution": {
      +    "type": "string"
      +  },
      +  "data_base64url": {
      +    "type": "string"
      +  },
      +  "effective_creation_defaults": {
      +    "properties": {
      +      "bid_strategy": {
      +        "type": "string"
      +      },
      +      "budget_amount": {
      +        "type": [
      +          "number",
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "budget_level": {
      +        "type": "string"
      +      },
      +      "budget_type": {
      +        "type": "string"
      +      },
      +      "creative_distribution": {
      +        "type": "string"
      +      },
      +      "preflight_tool": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "encoding": {
      +    "type": "string"
      +  },
      +  "found": {
      +    "const": false
      +  },
      +  "interest_pack_name": {
      +    "type": "string"
      +  },
      +  "migration_state": {
      +    "properties": {
      +      "envelope_schema_version": {
      +        "type": "integer"
      +      },
      +      "persisted": {
      +        "type": "boolean"
      +      },
      +      "provenance": {
      +        "type": "string"
      +      },
      +      "rejected_paths": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "rejected_paths_complete": {
      +        "type": "boolean"
      +      },
      +      "storage_schema_version": {
      +        "type": "integer"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "mutation_ref": {
      +    "type": "string"
      +  },
      +  "name": {
      +    "type": "string"
      +  },
      +  "next_cursor": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "outcome": {
      +    "type": "string"
      +  },
      +  "read_back": {
      +    "properties": {
      +      "arguments": {
      +        "properties": {
      +          "product_ref": {
      +            "type": "string"
      +          },
      +          "task_ref": {
      +            "type": "string"
      +          },
      +          "template_name": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "tool": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "rejected_paths": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "rejected_paths_complete": {
      +    "type": "boolean"
      +  },
      +  "section": {
      +    "type": "string"
      +  },
      +  "segment_sha256": {
      +    "type": "string"
      +  },
      +  "segmented_required": {
      +    "type": "boolean"
      +  },
      +  "segments": {
      +    "additionalProperties": {
      +      "properties": {
      +        "encoding": {
      +          "type": "string"
      +        },
      +        "sha256": {
      +          "type": "string"
      +        },
      +        "total_bytes": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "encoding",
      +        "total_bytes",
      +        "sha256"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "object"
      +  },
      +  "selector_field": {
      +    "type": "string"
      +  },
      +  "sha256": {
      +    "type": "string"
      +  },
      +  "source": {
      +    "properties": {
      +      "ad_account_id": {
      +        "type": "string"
      +      },
      +      "ad_id": {
      +        "type": "string"
      +      },
      +      "adset_id": {
      +        "type": "string"
      +      },
      +      "adset_name": {
      +        "type": "string"
      +      },
      +      "campaign_name": {
      +        "type": "string"
      +      },
      +      "kind": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "status": {
      +    "const": "not_found"
      +  },
      +  "tags": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": [
      +      "array",
      +      "null"
      +    ]
      +  },
      +  "template_kind": {
      +    "type": "string"
      +  },
      +  "template_name": {
      +    "type": "string"
      +  },
      +  "template_snapshot": {
      +    "properties": {
      +      "configuration_coverage": {
      +        "properties": {
      +          "ad_params": {
      +            "type": "string"
      +          },
      +          "adset_params": {
      +            "type": "string"
      +          },
      +          "campaign_params": {
      +            "type": "string"
      +          },
      +          "complete": {
      +            "type": "boolean"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "contract_version": {
      +        "type": "integer"
      +      },
      +      "launch_critical_coverage": {
      +        "properties": {
      +          "complete": {
      +            "type": "boolean"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "launch_readiness": {
      +        "properties": {
      +          "reason_codes": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "status": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "normalization": {
      +        "properties": {
      +          "rejected_paths": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "rejected_paths_complete": {
      +            "type": "boolean"
      +          },
      +          "status": {
      +            "type": "string"
      +          },
      +          "version": {
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "persisted": {
      +        "type": "boolean"
      +      },
      +      "snapshot_ref": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "snapshot_revision": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "source_kind": {
      +        "type": "string"
      +      },
      +      "source_provenance": {
      +        "type": "string"
      +      },
      +      "write_bound_revision": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "total_bytes": {
      +    "type": "integer"
      +  },
      +  "updated_at": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "verification_status": {
      +    "type": "string"
      +  },
      +  "warnings": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  }
      +}
  3. Changed1 schema field changed
    • changedOutput schema / else / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "ad_params": {
      -        "$ref": "#/$defs/s4"
      -      },
      -      "adset_naming": {
      -        "type": "string"
      -      },
      -      "adset_params": {
      -        "$ref": "#/$defs/s4"
      -      },
      -      "applied_at": {
      -        "type": "string"
      -      },
      -      "audit_status": {
      -        "type": "string"
      -      },
      -      "campaign_naming": {
      -        "type": "string"
      -      },
      -      "campaign_params": {
      -        "$ref": "#/$defs/s4"
      -      },
      -      "created_at": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "creative_distribution": {
      -        "type": "string"
      -      },
      -      "effective_creation_defaults": {
      -        "properties": {
      -          "bid_strategy": {
      -            "type": "string"
      -          },
      -          "budget_amount": {
      -            "type": [
      -              "number",
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "budget_level": {
      -            "type": "string"
      -          },
      -          "budget_type": {
      -            "type": "string"
      -          },
      -          "creative_distribution": {
      -            "type": "string"
      -          },
      -          "preflight_tool": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "interest_pack_name": {
      -        "type": "string"
      -      },
      -      "migration_state": {
      -        "properties": {
      -          "envelope_schema_version": {
      -            "type": "integer"
      -          },
      -          "persisted": {
      -            "type": "boolean"
      -          },
      -          "provenance": {
      -            "type": "string"
      -          },
      -          "rejected_paths": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "rejected_paths_complete": {
      -            "type": "boolean"
      -          },
      -          "storage_schema_version": {
      -            "type": "integer"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "mutation_ref": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "outcome": {
      -        "type": "string"
      -      },
      -      "read_back": {
      -        "properties": {
      -          "arguments": {
      -            "properties": {
      -              "product_ref": {
      -                "type": "string"
      -              },
      -              "task_ref": {
      -                "type": "string"
      -              },
      -              "template_name": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "name": {
      -            "type": "string"
      -          },
      -          "tool": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "rejected_paths": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "rejected_paths_complete": {
      -        "type": "boolean"
      -      },
      -      "segmented_required": {
      -        "type": "boolean"
      -      },
      -      "segments": {
      -        "additionalProperties": {
      -          "properties": {
      -            "encoding": {
      -              "type": "string"
      -            },
      -            "sha256": {
      -              "type": "string"
      -            },
      -            "total_bytes": {
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "encoding",
      -            "total_bytes",
      -            "sha256"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "object"
      -      },
      -      "source": {
      -        "properties": {
      -          "ad_account_id": {
      -            "type": "string"
      -          },
      -          "ad_id": {
      -            "type": "string"
      -          },
      -          "adset_id": {
      -            "type": "string"
      -          },
      -          "adset_name": {
      -            "type": "string"
      -          },
      -          "campaign_name": {
      -            "type": "string"
      -          },
      -          "kind": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "tags": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": [
      -          "array",
      -          "null"
      -        ]
      -      },
      -      "template_kind": {
      -        "type": "string"
      -      },
      -      "template_name": {
      -        "type": "string"
      -      },
      -      "template_snapshot": {
      -        "$ref": "#/$defs/s0"
      -      },
      -      "updated_at": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "verification_status": {
      -        "type": "string"
      -      },
      -      "warnings": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "template_name",
      -      "name",
      -      "tags",
      -      "template_kind",
      -      "template_snapshot",
      -      "effective_creation_defaults"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "byte_length": {
      -        "type": "integer"
      -      },
      -      "byte_offset": {
      -        "type": "integer"
      -      },
      -      "complete": {
      -        "type": "boolean"
      -      },
      -      "data_base64url": {
      -        "type": "string"
      -      },
      -      "encoding": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "next_cursor": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "section": {
      -        "type": "string"
      -      },
      -      "segment_sha256": {
      -        "type": "string"
      -      },
      -      "segmented_required": {
      -        "type": "boolean"
      -      },
      -      "sha256": {
      -        "type": "string"
      -      },
      -      "template_name": {
      -        "type": "string"
      -      },
      -      "template_snapshot": {
      -        "$ref": "#/$defs/s0"
      -      },
      -      "total_bytes": {
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "template_name",
      -      "name",
      -      "template_snapshot",
      -      "segmented_required",
      -      "section",
      -      "encoding",
      -      "data_base64url",
      -      "byte_offset",
      -      "byte_length",
      -      "total_bytes",
      -      "sha256",
      -      "segment_sha256",
      -      "next_cursor",
      -      "complete"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "complete": {
      -        "const": true
      -      },
      -      "found": {
      -        "const": false
      -      },
      -      "selector_field": {
      -        "type": "string"
      -      },
      -      "status": {
      -        "const": "not_found"
      -      }
      -    },
      -    "required": [
      -      "complete",
      -      "found",
      -      "selector_field",
      -      "status"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "ad_params": {
      +        "$ref": "#/$defs/s4"
      +      },
      +      "adset_naming": {
      +        "type": "string"
      +      },
      +      "adset_params": {
      +        "$ref": "#/$defs/s4"
      +      },
      +      "applied_at": {
      +        "type": "string"
      +      },
      +      "audit_status": {
      +        "type": "string"
      +      },
      +      "campaign_naming": {
      +        "type": "string"
      +      },
      +      "campaign_params": {
      +        "$ref": "#/$defs/s4"
      +      },
      +      "content_updated_at": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "created_at": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "creative_distribution": {
      +        "type": "string"
      +      },
      +      "effective_creation_defaults": {
      +        "properties": {
      +          "bid_strategy": {
      +            "type": "string"
      +          },
      +          "budget_amount": {
      +            "type": [
      +              "number",
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "budget_level": {
      +            "type": "string"
      +          },
      +          "budget_type": {
      +            "type": "string"
      +          },
      +          "creative_distribution": {
      +            "type": "string"
      +          },
      +          "preflight_tool": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "interest_pack_name": {
      +        "type": "string"
      +      },
      +      "migration_state": {
      +        "properties": {
      +          "envelope_schema_version": {
      +            "type": "integer"
      +          },
      +          "persisted": {
      +            "type": "boolean"
      +          },
      +          "provenance": {
      +            "type": "string"
      +          },
      +          "rejected_paths": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "rejected_paths_complete": {
      +            "type": "boolean"
      +          },
      +          "storage_schema_version": {
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "mutation_ref": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "outcome": {
      +        "type": "string"
      +      },
      +      "read_back": {
      +        "properties": {
      +          "arguments": {
      +            "properties": {
      +              "product_ref": {
      +                "type": "string"
      +              },
      +              "task_ref": {
      +                "type": "string"
      +              },
      +              "template_name": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "tool": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "rejected_paths": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "rejected_paths_complete": {
      +        "type": "boolean"
      +      },
      +      "segmented_required": {
      +        "type": "boolean"
      +      },
      +      "segments": {
      +        "additionalProperties": {
      +          "properties": {
      +            "encoding": {
      +              "type": "string"
      +            },
      +            "sha256": {
      +              "type": "string"
      +            },
      +            "total_bytes": {
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "encoding",
      +            "total_bytes",
      +            "sha256"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "object"
      +      },
      +      "source": {
      +        "properties": {
      +          "ad_account_id": {
      +            "type": "string"
      +          },
      +          "ad_id": {
      +            "type": "string"
      +          },
      +          "adset_id": {
      +            "type": "string"
      +          },
      +          "adset_name": {
      +            "type": "string"
      +          },
      +          "campaign_name": {
      +            "type": "string"
      +          },
      +          "kind": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "tags": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": [
      +          "array",
      +          "null"
      +        ]
      +      },
      +      "template_kind": {
      +        "type": "string"
      +      },
      +      "template_name": {
      +        "type": "string"
      +      },
      +      "template_snapshot": {
      +        "$ref": "#/$defs/s0"
      +      },
      +      "updated_at": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "verification_status": {
      +        "type": "string"
      +      },
      +      "warnings": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "template_name",
      +      "name",
      +      "tags",
      +      "template_kind",
      +      "template_snapshot",
      +      "effective_creation_defaults"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "byte_length": {
      +        "type": "integer"
      +      },
      +      "byte_offset": {
      +        "type": "integer"
      +      },
      +      "complete": {
      +        "type": "boolean"
      +      },
      +      "data_base64url": {
      +        "type": "string"
      +      },
      +      "encoding": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "next_cursor": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "section": {
      +        "type": "string"
      +      },
      +      "segment_sha256": {
      +        "type": "string"
      +      },
      +      "segmented_required": {
      +        "type": "boolean"
      +      },
      +      "sha256": {
      +        "type": "string"
      +      },
      +      "template_name": {
      +        "type": "string"
      +      },
      +      "template_snapshot": {
      +        "$ref": "#/$defs/s0"
      +      },
      +      "total_bytes": {
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "template_name",
      +      "name",
      +      "template_snapshot",
      +      "segmented_required",
      +      "section",
      +      "encoding",
      +      "data_base64url",
      +      "byte_offset",
      +      "byte_length",
      +      "total_bytes",
      +      "sha256",
      +      "segment_sha256",
      +      "next_cursor",
      +      "complete"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "complete": {
      +        "const": true
      +      },
      +      "found": {
      +        "const": false
      +      },
      +      "selector_field": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "not_found"
      +      }
      +    },
      +    "required": [
      +      "complete",
      +      "found",
      +      "selector_field",
      +      "status"
      +    ]
      +  }
      +]
  4. Changed6 schema fields changed
    • addedOutput schema / then / properties / category
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / expected
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / then / properties / failure_kind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / responsibility_hint
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / route
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / 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

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds only the exact-name lookup behavior and says nothing about pagination via cursor, section scoping, or error behavior when no match exists.

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 single sentence is front-loaded and contains no filler. It is perhaps too terse for a tool with three undocumented parameters, but the conciseness itself is strong.

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

Completeness3/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 described, and annotations cover the safety profile. Still, for a three-parameter read tool with zero schema coverage, the description omits important context about cursor pagination and the section enum.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for three undocumented parameters. It only clarifies that template_name is an exact match and leaves cursor and the section enum without any explanation of meaning or usage.

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?

The description states a specific verb and resource ('Read a template') and adds lookup semantics ('by exact name'), which helps distinguish it from templates_list. However, it does not explicitly distinguish itself from templates_reverse_engineer or cover the optional section/cursor scope.

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

Usage Guidelines3/5

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

Using an exact template name implies this tool is for known-name retrieval rather than browsing, which weakly points agents away from templates_list. But it never states when to choose it over templates_list, templates_reverse_engineer, or how to handle ambiguous or missing names.

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