Skip to main content
Glama

analyze_ad_image

Read-only

Analyze a Google ad image to view the creative and get a checklist covering text, hooks, people, brand elements, composition, and colors from a single ad image URL.

Instructions

Analyze a Google ad image: returns the image itself so you can see it, plus a checklist (text, hooks, people, brand elements, composition, colors). Pass one imageUrl from a get_google_ad_details variation. Downloads are cached locally.

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": {
      "media_url": "<media_url>"
    },
    "name": "analyze_ad_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idNo
media_urlYes
brand_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety and network profile is covered structurally. The description adds genuinely useful behavior: the tool returns the actual image for visual inspection plus a structured checklist across six dimensions, and it notes that downloads are cached locally. It stops short of covering cost, rate limits, failure modes for inaccessible URLs, or how large the image payload is, so a 3 is fair.

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

Conciseness5/5

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

A single dense sentence with the return payload front-loaded and the input-source instruction trailing it, no filler and no restatement of the tool name. Every clause carries information an agent needs: what comes back, what the checklist covers, where to get the URL, and the caching behavior.

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?

For a three-parameter read-only tool with no output schema, the description is close to sufficient: it explains what the response contains (image plus checklist), where the required input comes from, and the caching side effect that a sibling cache tool manages. The remaining gap is the two optional parameters and the imageUrl/media_url naming mismatch, which could cause an agent to pass the wrong field name.

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

Parameters4/5

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

With schema description coverage at 0% and three parameters, the description carries the burden of explaining inputs, and it only partially does so: it references 'one imageUrl' that must come from a get_google_ad_details variation, which clarifies intent for the required media_url. However, the label 'imageUrl' does not match the schema's 'media_url', and the optional ad_id and brand_name parameters are never mentioned or explained at all, leaving an agent to guess whether brand_name sharpens the brand-element analysis.

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+resource combination ('Analyze a Google ad image') and then details the actual payload returned: the image itself plus a checklist of text, hooks, people, brand elements, composition, and colors. That level of specificity separates it from analyze_ad_video and from the fetch-only get_google_ad_details siblings, though the verb 'Analyze' itself is generic and the description never explicitly contrasts with the video variant.

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 concrete routing guidance by telling the agent to 'Pass one imageUrl from a get_google_ad_details variation', which establishes the prerequisite step and the correct input source. It does not state when NOT to use it (e.g., for video assets, which a sibling covers) or what to do if the ad has no image, leaving a small gap but no ambiguity about the intended workflow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.