Skip to main content
Glama

Draft library image assets

draft_library_image_assets

Draft uploading images and logos to the asset library, linked to nothing — returns a PREVIEW.

Unlike draft_image_assets, the images are not attached to a campaign or the account: they only become assets whose ids an ad can use, e.g. draft_demand_gen_ad. The preview gives each image's size and ratio class (landscape 1.91:1, square 1:1, portrait 4:5, tall_portrait 9:16, other) and warns about ratios or sizes Demand Gen does not accept. The applied result lists each asset's resource_name and asset_id. A dry run has Google validate the upload and returns placeholder ids only.

Google Ads API: https://developers.google.com/google-ads/api/docs/start

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "draft_library_image_assets"
  }
}

Input Schema

NameRequiredDescriptionDefault
image_urlsNoPublic http(s) image links.
upload_idsNoUpload ids (up_...) from upload_images / list_uploads.
customer_idNoGoogle Ads customer ID (digits, dashes optional). Defaults to the configured account.
image_pathsNoLocal PNG/JPEG/GIF files (not on a hosted server).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false and openWorldHint=true; the description goes well beyond that by explaining that the first call only returns a PREVIEW, that the preview includes size and ratio class with warnings for ratios Demand Gen rejects, that the applied result lists resource_name and asset_id, and that a dry run returns placeholder ids only. The only gap is that it does not say the draft is reversible or how to discard a drafted asset, which matters for a non-read-only tool.

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 definition is front-loaded: purpose, then sibling contrast, then preview contents, then applied result, then dry run. Each sentence carries distinct information, though the trailing Google Ads API documentation URL is filler and the dense prose could be broken up for faster scanning.

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

Completeness5/5

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

For a four-parameter drafting tool with an output schema and full schema coverage, the description supplies everything needed to call it correctly: the difference from its sibling, what the preview versus applied result returns, and the dry-run behavior. Return-value detail is redundant with the output schema but harmless.

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 all four parameters (image_urls, upload_ids, customer_id, image_paths) are already documented in the schema with formats such as up_... ids and local PNG/JPEG/GIF files. The description adds no parameter-level meaning beyond what the schema provides, so the baseline 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?

The description opens with a specific verb and resource: "Draft uploading images and logos to the asset library, linked to nothing — returns a PREVIEW." It immediately distinguishes this tool from draft_image_assets (assets not attached to a campaign or account), so an agent can separate the two without opening either schema.

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

Usage Guidelines5/5

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

It names the alternative explicitly ("Unlike draft_image_assets, the images are not attached to a campaign or the account") and states the condition that selects this tool: assets whose ids an ad can use, e.g. draft_demand_gen_ad. It also flags the dry-run mode, so the agent knows the two operating modes before calling.

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.