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 offers across brands

sightglass_find_offers
Read-onlyIdempotent

Offer campaigns across brands. With no companyRefs, mode is 'top': the offers running across every tracked brand (or one categoryId's brands) in the trailing window, sorted by how many ads carry them, how long they have run, or how deep the discount is. With companyRefs, mode is 'calendar': those brands' campaigns in a date window, side by side, for comparing promo timing. Either way offers carried by ads come first, each brand's offer appears once, and at most limit come back. Use it for 'what offers are working in this market' and 'when do these brands run sales'. 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

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

Input Schema

NameRequiredDescriptionDefault
toNoCalendar only. YYYY-MM-DD; defaults to a week ahead
daysNoTop offers only. Trailing window; defaults to 30.
fromNoCalendar only. YYYY-MM-DD; defaults to six weeks back
sortNoTop offers only. ads = most ads carrying it, running = longest running, depth = deepest discount.
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.
categoryIdNoTop offers only. Scope to one industry category's subtree, e.g. the user's brand's: a brand's `category.id` from sightglass_get_company, or an id from sightglass_get_rankings.
companyRefsNoCompany ids or slugs: returns the promo calendar for these brands. Omit for the top offers across every tracked brand.
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. Changed2 schema fields changed
    • addedInput schema / properties / categoryId
      Added value: +{
      +  "description": "Top offers only. Scope to one industry category's subtree, e.g. the user's brand's: a brand's `category.id` from sightglass_get_company, or an id from sightglass_get_rankings.",
      +  "format": "uuid",
      +  "type": "string"
      +}
    • addedInput schema / properties / limit / description
      Added value: +"Most results to return: 20 by default, up to 50. Ones carried by ads come first."
  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.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description still adds real behavioral detail the annotations cannot: ads-carried offers sort first, each brand's offer is deduplicated to one, locked fields return null and are named in `locked`, capped lists set `planLimit` with no next page, and omitted values must never be estimated. These are output/behavior semantics rather than annotation restatement.

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?

Every sentence carries distinct information and the mode split is front-loaded, but it is one dense paragraph that mixes ranking semantics, lock semantics, plan limits, resultId handoff, and skill routing in a single block. It is efficiently written but would scan better as short labeled clauses.

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 9-parameter tool with no output schema, the description covers the return shape (per-brand dedup, ordering, `locked`, `planLimit`/`hiddenResults`), the absence of pagination on capped lists, and the follow-up display path via sightglass_show. Nothing an agent needs in order to invoke it correctly is missing.

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 coverage is 100%, so the schema carries the per-field definitions and the baseline is 3. The description still earns above-baseline credit by explaining the implicit mode switch (companyRefs present or absent changes the entire semantics of to/from/days/sort/categoryId) — an interaction the schema does not spell out.

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 names a specific resource and verb ('Offer campaigns across brands') and immediately splits into two clearly delineated behaviors driven by companyRefs: 'top' (market-wide offers ranked by ads/running/depth) and 'calendar' (per-brand promo timing side by side). An agent can distinguish this from sightglass_find_campaigns or sightglass_find_ads without opening any 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 gives explicit triggering questions ('what offers are working in this market', 'when do these brands run sales') plus an explicit handoff rule: call sightglass_show once with the resultId rather than re-searching, and route multi-step competitor research to skills with name 'replo'. When-to-use, what-not-to-do, and the alternative path are all stated.

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