Skip to main content
Glama

Search ads

search_ads
Read-onlyIdempotent

Search the SwipeHarbor ad library: NewsBreak, Rumble and YouTube ads. platform=all (default) searches the three platforms; select one platform for a faster, narrower search. Results contain at most 12 ads. sort=newest (default) orders by the date the ad was last seen; sort=longest_running orders by the number of whole days between the first and the last time the ad was seen. sort=most_seen orders by the number of times the ad was seen (highest first), then newest. minDays=7|30|90 keeps ads seen over at least that many days. minSightings=2|5|10|25|50|100 requires at least that many times seen; these are sightings in our library, not impressions. Counts and day spans do not prove continuous runtime or spend. searchIn=transcript searches the spoken words of Rumble video ads only; the sort, minDays and minSightings filters do not apply to it. Follow nextCursor with the same query, sort and filters.

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": "search_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
sortNo
queryNo
cursorNo
formatNo
minDaysNo
categoryNo
platformNo
searchInNo
subcategoryNo
minSightingsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / sort / enum
      Previous value: -[
      -  "newest",
      -  "longest_running"
      -]New value: +[
      +  "newest",
      +  "longest_running",
      +  "most_seen"
      +]
  2. Changed2 schema fields changed
    • addedInput schema / properties / minSightings
      Added value: +{
      +  "enum": [
      +    "all",
      +    "2",
      +    "5",
      +    "10",
      +    "25",
      +    "50",
      +    "100"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "all",
      -  "newsbreak",
      -  "rumble"
      -]New value: +[
      +  "all",
      +  "newsbreak",
      +  "rumble",
      +  "youtube"
      +]
  3. Changed2 schema fields changed
    • addedInput schema / properties / minDays
      Added value: +{
      +  "enum": [
      +    "all",
      +    "7",
      +    "30",
      +    "90"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / sort
      Added value: +{
      +  "enum": [
      +    "newest",
      +    "longest_running"
      +  ],
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, yet the description still adds real behavior: results are capped at 12 ads, pagination must reuse the same query/sort/filters via nextCursor, and day-span/sighting counts do not prove continuous runtime or spend. It also explains that minSightings counts library sightings rather than impressions, which is exactly the kind of interpretation trap an agent would otherwise fall into.

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 purpose, then defaults, then filter semantics, then caveats, then pagination — a logical progression with no filler sentences. It is a dense single paragraph, and the default values could be visually separated from the explanations, but every clause carries information.

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 an 11-parameter search tool with no output schema and no schema descriptions, the definition covers the behaviors that would cause wrong calls: result cap, cursor reuse contract, sort ordering, and filter applicability. The omission of 'days' vs 'minDays' disambiguation and of the category/subcategory/format semantics keeps it from being complete.

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?

Schema description coverage is 0% across 11 parameters, so the description carries the burden and does so well for the hardest ones: platform scope, all three sort modes with their exact ordering semantics, minDays, minSightings, and searchIn with its filter exclusions. Gaps remain: 'days' is undocumented and its ambiguity against minDays (same enum values) is never resolved, and format, category and subcategory get no explanation at all.

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 concrete verb and resource ("Search the SwipeHarbor ad library") and scopes it to three named platforms, which is far beyond a restatement of the name. It also signals that transcript search lives inside this tool via searchIn=transcript, mildly separating it from the get_transcript sibling. It stops short of explicitly contrasting with compare_ads or list_saved_ads, so sibling routing is only partial.

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 actionable selection guidance: platform=all is the default, and picking a single platform yields a "faster, narrower search"; it also states the filter-exclusion rule that sort/minDays/minSightings do not apply to searchIn=transcript. That is a genuine when/when-not statement. What is missing is guidance on when to reach for this tool versus siblings like compare_ads or list_saved_ads.

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