Skip to main content
Glama

ADS MCP

Upload Image to Google Ads

create_image_asset

Actually uploads an image into this Google Ads account as a real ImageAsset, usable in PMax asset groups, Display ads, etc. Pass the filename returned by get_image_upload_url after the file has been POSTed there — this reads those bytes server-side, so no base64 ever needs to pass through a tool call. Returns the asset resource_name. ALWAYS confirm the filename and asset name with the user before calling this.

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": {
      "filename": "<filename>",
      "user_intent": "<user_intent>"
    },
    "name": "create_image_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesThe filename returned by get_image_upload_url (the uploaded copy, not a local path).
asset_nameNoOptional display name for the asset in Google Ads. Defaults to the filename.
customer_idNoGoogle Ads customer ID (no dashes) of the client account the image should be created in. Omit to use the MCC/login account — almost never what you want when working on a specific client; pass the same customer_id used for create_asset_group / add_asset_group_assets on that campaign.
user_intentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds that real bytes are read server-side (no base64 through tool calls) and that an asset resource_name is returned. It also imposes a confirm-with-user gate, which is meaningful behavioral context for a write. It does not cover failure modes (e.g. what happens if the upload expired) or idempotency.

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 the core action and purpose, followed by the workflow prerequisite and the confirmation rule; every sentence carries operational value. Minor slack from filler like 'Actually' and the trailing 'etc.'

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?

With no output schema, the description correctly states the return value (asset resource_name) and explains the two-step upload handoff, which is the main thing an agent could get wrong. The unexplained user_intent parameter is the only notable omission for a 4-parameter write tool.

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 coverage is 75% and the schema already documents filename, asset_name defaults, and detailed customer_id guidance, so the description's restatement of the filename workflow adds little new meaning. The required 'user_intent' parameter is undocumented in both schema and description, leaving a small gap.

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 ('actually uploads an image ... as a real ImageAsset') and immediately distinguishes itself from the sibling that only produces a filename by clarifying it operates on the already-POSTed copy. The downstream uses (PMax asset groups, Display ads) tell an agent exactly what class of object is being produced.

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 an explicit precondition and ordering ('pass the filename returned by get_image_upload_url after the file has been POSTed there') plus a mandatory confirmation step with the user before calling. It does not name alternatives for creating images from scratch (e.g. generate_image / generate_image_styled), so the exclusion side is only implicit.

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.