Skip to main content
Glama

Get store ads

get_store_ads
Read-only

The store's advertising activity: per-platform ad presence (active, ad count, estimated monthly spend) and, when a platform is specified, the actual ads currently in that platform's public ad library — headline, body copy, CTA, landing page, first/last seen, and a link to the ad in the library. Each creative carries publicly-fetchable undercart.co imageUrl/videoUrl links serving the actual media (valid ~1 day), which show the ad itself. Creative lookups are cached ~1 day. Like get_store, a store Undercart hasn't researched yet is researched first (and a Shopify store it doesn't track is added), with the same wait, research block and daily allowance; until then it has no ad data. Metered like get_store (once per store per month).

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": {
      "domain": "<domain>"
    },
    "name": "get_store_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax creatives to return (default 6, max 24).
domainYesStore domain, e.g. "allbirds.com". Normalized automatically.
platformNoAd platform to fetch actual creatives from. Omit to get the cross-platform presence summary only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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=true, so the safety profile is covered and the bar is lower. The description adds genuinely useful behavior beyond that: ~1 day caching on creative lookups, ~1 day validity on media URLs, monthly metering, and the research-on-first-touch flow with wait and allowance limits. A 3 reflects that these are valuable but scattered details rather than a structured disclosure of cost, latency, and failure modes.

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?

Purpose is front-loaded, but the body is a single long run-on paragraph that strings together em-dash parentheticals across unrelated topics (payloads, URL lifetimes, caching, research flow, metering). Content mostly earns its place, yet phrases like 'which show the ad itself' and repeated day-validity notes could be trimmed or split for scannability.

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 carries the full burden of describing returns and does so thoroughly, including media link behavior and caching. It also covers metering and the first-touch research path. The only gap is that error or empty-result behavior for unresearched stores is implied rather than stated.

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%, with domain, platform enum, and limit all documented in-schema, so the baseline is 3. The description reinforces the platform switch (summary vs. creatives) but adds no new syntax, defaults, or edge-case semantics for domain normalization or the limit cap beyond what the schema already states.

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 ('the store's advertising activity') and explicitly delineates two modes: cross-platform ad presence versus actual creatives from a named platform's public ad library. The enumerated payload (headline, body copy, CTA, landing page, first/last seen, library link) leaves no ambiguity about what comes back, and the reference to get_store clarifies it is a distinct ad-focused lookup rather than a store profile.

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 a clear operating condition: omit platform for the presence summary, include platform to pull real creatives, and it warns that creative lookups are cached ~1 day. It also surfaces prerequisites (unresearched stores get researched first, with a wait, research block, and daily allowance). It stops short of naming when to use get_store or the email siblings instead, so alternatives are only partly addressed.

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