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.

Search brands

sightglass_search_companies
Read-onlyIdempotent

Search Sightglass companies, what users call brands: the business behind one or more Meta advertiser pages, keyed on its domain. search is semantic: describe what the business sells and to whom. similarToCompanyId finds a company's nearest competitors. domainSearch looks a brand up by website; when it finds nothing the brand isn't tracked, so write one sentence on what it sells and to whom and pass that as search to get tracked brands competing for the same customers. Results carry store facts (platform, estimated monthly sales, products, employees, followers with 30-day change; all vendor estimates, never reported revenue), rank by active ads, and momentum, a 0-100 score whose components[].text say why a brand is growing. Sort by momentum for who is blowing up, most_estimated_sales for the biggest, most_active_ads for who runs the most ads. Trends cover only ads Sightglass has seen. 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. Works without a Replo account: call it before asking the user to sign in. 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_search_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo
limitNoResults per page: 20 by default, up to 40. Use the user's number when they give one; for more than 40, page with cursor.
cursorNonextCursor from the previous page of this same call, to get the next page. Keep every other argument the same.
searchNoSemantic by default: describe the business (what it sells, to whom), not one keyword.
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.
searchModeNo
categoryIdsNoCSV of category ids from sightglass_search_companies results; a node matches its whole subtree.
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.
domainSearchNoA brand's website, e.g. example.com or a full URL, to find that brand when Sightglass tracks it.
activeAdsCountGteNo
similarToCompanyIdNoFind the nearest competitors of this company instead of searching.

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
    • changedInput schema / properties / search / maxLength
      Previous value: -200New value: +1000
  4. Changed4 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 / similarToCompanyId / 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.6/5.0
Behavior4/5

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

Goes well past the readOnly/idempotent annotations: store facts are vendor estimates and never reported revenue, trends cover only ads Sightglass has seen, invisible fields come back null and are listed in `locked`, capped lists set `planLimit` with no next page, and omitted values must not be estimated. The one gap is that it never characterizes result volume outside a capped list (only the limit param implies 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 and mode selection are front-loaded before output semantics and cross-tool instructions, so a reader can stop early. It is dense and runs long, mixing result-interpretation rules, plan-limit behavior, and hand-off instructions into one block, but nearly every sentence carries actionable content.

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 an 11-parameter tool with no output schema, it covers what the agent needs: what the results contain (store facts, rank, momentum components), what is missing and why (locked, null), how paging terminates, and how to surface results through sightglass_show. Nothing material about correct invocation is left unstated.

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 73%, and the description still adds real meaning: `search` is semantic rather than keyword, `similarToCompanyId` replaces searching entirely, `domainSearch` accepts a site or full URL, and three sort enum values are given intent (momentum = who is blowing up, most_estimated_sales = biggest, most_active_ads = most ads). `searchMode`, `activeAdsCountGte`, and `categoryIds` get no elaboration beyond their schema text.

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?

Names a specific verb and resource ('Search Sightglass companies, what users call brands') and pins the resource down as the business behind Meta advertiser pages keyed on domain. It also distinguishes its own modes (semantic `search`, `similarToCompanyId`, `domainSearch`) so an agent knows which lever to pull instead of guessing.

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?

Explicit routing rules: use `search` to describe what a business sells, `similarToCompanyId` for nearest competitors, `domainSearch` for a website lookup, and when domain lookup returns nothing, write one sentence and pass it as `search`. It further tells the agent to call sightglass_show once with the resultId, that no sign-in is needed, and to use skills name "replo" for multi-step competitor research.

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