Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Replo. If you published it, claim ownership there.

Find a brand's offers

sightglass_find_campaigns
Read-onlyIdempotent

A brand's offer campaigns: what deal it ran (discount, bundle, free gift…), in plain English, from when to when, how deep, on how many ads and landing pages, with the exact quote it was read from. Grouped from the brand's ads and page captures; a deepening discount (5% → 10%) is one campaign with steps. Campaigns carried by ads come first, one per offer, up to limit; totalCount says how many there are. Use it to answer 'what is this brand running' or to compare two brands' promotions. Fields this workspace can't see are null and named in the item's locked list (estimates = sales, visits, traffic). A capped list sets planLimit (maxResults, hiddenResults) and has no next page. Never estimate omitted values. Returns data only, shown to no one. Once you know the answer, call sightglass_show once with this resultId to show it as cards; it doesn't search again. For multi-step competitor research, call skills with name "replo".

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": {
      "companyRef": "<companyRef>"
    },
    "name": "sightglass_find_campaigns"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoYYYY-MM-DD; defaults to a week ahead
fromNoYYYY-MM-DD; defaults to six weeks back
limitNoMost results to return: 20 by default, up to 50. Ones carried by ads come first.
projectIdNoReplo project id, from list_projects. Its workspace decides which Sightglass fields and history come back. Only tools that say they save something (an asset or a Canvas file) write to this project.
companyRefYesCompany id or slug. Users call companies 'brands'.
workspaceIdNoReplo workspace id, from list_workspaces. Decides which workspace's Sightglass fields and history come back; required when the user has more than one workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / projectId / description
      Previous value: -"Replo project id, from list_projects: where a saved asset or new file lands. Its workspace's access applies."New value: +"Replo project id, from list_projects. Its workspace decides which Sightglass fields and history come back. Only tools that say they save something (an asset or a Canvas file) write to this project."
    • changedInput schema / properties / workspaceId / description
      Previous value: -"Replo workspace id, from list_workspaces. Sets which workspace's access applies; required when the user has more than one workspace."New value: +"Replo workspace id, from list_workspaces. Decides which workspace's Sightglass fields and history come back; required when the user has more than one workspace."
  2. Changed2 schema fields changed
    • changedInput schema / properties / projectId / description
      Previous value: -"Replo project id, from list_projects: where the charge or the asset lands. Its workspace's plan applies."New value: +"Replo project id, from list_projects: where a saved asset or new file lands. Its workspace's access applies."
    • changedInput schema / properties / workspaceId / description
      Previous value: -"Replo workspace id, from list_workspaces. Sets which workspace's plan applies; required when the user has more than one workspace."New value: +"Replo workspace id, from list_workspaces. Sets which workspace's access applies; required when the user has more than one workspace."
  3. Changed1 schema field changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Most results to return: 20 by default, up to 50. Ones carried by ads come first.",
      +  "maximum": 50,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  4. Changed3 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / projectId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • removedInput schema / properties / workspaceId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  5. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  6. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare it is a safe idempotent read; the description adds the substantive behavior an agent can't get from those hints: hidden fields become null and appear in a `locked` list, a capped response sets `planLimit` with `maxResults`/`hiddenResults` and has no next page, and omitted values must never be estimated. It also clarifies the tool returns data only (not user-facing) and that a separate sightglass_show call is what renders it.

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?

Purpose is front-loaded in the first sentence and the later clauses are dense with operational facts rather than filler. A few items repeat structured data (limit defaults, ad-carried-first ordering) and the sightglass_show handoff is stated in two places, which costs some tightness.

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?

With no output schema and six parameters, the description carries the return-shape burden and does so: item contents, grouping semantics, ordering, `totalCount`, `planLimit` capping with no pagination, and the `locked` list with what `estimates` covers. That is enough for an agent to call it and interpret the response without further tools.

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 100%, so from/to defaults, limit bounds, companyRef and workspace/project rules are already documented in the schema. The description only restates the limit ordering ('campaigns carried by ads come first, one per offer, up to `limit`') and adds `totalCount` as a return-side count, which the schema's limit description also implies.

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 and resource (offer campaigns for a brand) and enumerates what each item contains — deal type, date span, depth, ad/landing-page counts, source quote — plus the grouping model where a deepening discount is one campaign with steps. It does not differentiate from the sibling sightglass_find_offers, which sounds adjacent, so an agent still has to guess which of the two fits.

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 use cases ('what is this brand running', compare two brands' promotions) and explicit routing: call sightglass_show with the resultId to render cards, and call skills named "replo" for multi-step competitor research. Missing an explicit when-not versus sightglass_find_offers, but the positive guidance is actionable.

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