Skip to main content
Glama

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 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. Use it for 'what offers are working in this market' and 'when do these brands run sales'. Fields the user's Replo plan doesn't include come back null and are named in that item's locked list (estimates = sales, visits and traffic); lockedCount is how many more results a higher plan shows. Say the data is on a higher plan; never estimate it yourself. Returns data only: nothing is shown to the user yet. Once you know the answer, call sightglass_show once with this call's resultId to show it as cards; the show call does not search again.

Input Schema

TableJSON 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.
limitNo
projectIdNoReplo project id, from list_projects: where the charge or the asset lands. Its workspace's plan applies.
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. Sets which workspace's plan applies; required when the user has more than one workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the read-only/idempotent/non-destructive safety profile, and the description adds substantial behavior beyond that: plan-gated fields return null and are named in the item's `locked` list, `lockedCount` counts additional higher-plan results, and the caller must not estimate locked data. It also discloses that the tool returns data only ('nothing is shown to the user yet'), which is critical workflow context.

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?

Dense but nearly every sentence carries required information (mode logic, sort options, plan-locking, show workflow, resultId). It is front-loaded with the resource and mode split, though the single flat block could be broken into clearer segments.

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?

There is no output schema, so the description must explain results — and it does, covering the locked/lockedCount fields, the null-for-unauthorized-plan behavior, and the resultId handoff to sightglass_show. For an 8-parameter research tool with no required params and zero annotation-sourced return info, this is complete enough to invoke correctly.

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 88%, so most parameters are documented in the schema; the description adds cross-parameter semantics the schema cannot express — that presence/absence of companyRefs toggles mode between 'top' and 'calendar' — plus the plan-gating/`locked` semantics tied to projectId/workspaceId. This is meaningful added value over the per-field descriptions.

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 resource (offer campaigns across brands) and clearly delineates two distinct behaviors: 'top' mode without companyRefs and 'calendar' mode with companyRefs. An agent can tell this is an offer-discovery tool, distinct from sibling ad/angle/campaign finders.

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?

Names two concrete user intents it serves ('what offers are working in this market', 'when do these brands run sales') and maps each to the mode selected by whether companyRefs is supplied. It also explicitly routes the follow-up step to sightglass_show with resultId, so the agent knows the full call sequence.

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