Skip to main content
Glama

Get market rankings

sightglass_get_rankings
Read-onlyIdempotent

The market view: who holds what share of active ads, week by week. pulse is the headline numbers for the scope (brands, active ads, launches, video and advertorial share). share is the weekly share of the top groups, grouped by company (default), category, platform, country or plan. categories lists the categories under the scope so you can drill in with categoryId; with a categoryId, leaders is that category's top companies. Share is share of ads Sightglass has seen, not spend or revenue. 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. Works without a Replo account: call it before asking the user to sign in.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
weeksNo
groupByNoWhat to rank by share of active ads: company (default), category, platform, country or plan.
projectIdNoReplo project id, from list_projects: where the charge or the asset lands. Its workspace's plan applies.
categoryIdNoScope to one category's subtree; ids come from the `categories` in this tool's result. With a category, `leaders` lists its top companies.
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?

Beyond the readOnly/idempotent annotations, it discloses plan-gated behavior (locked fields return null and are named in the `locked` list, `lockedCount` shows how many more results a higher plan reveals), instructs the agent to say data is on a higher plan and never estimate it, and clarifies that results are not yet shown to the user. This is unusually rich behavioral 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?

Front-loaded with purpose and organized into output sections, semantics, plan behavior, and handoff. Nearly every sentence carries weight, though the density is high and it takes effort to parse compared to a truly lean definition.

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 a fairly complex tool, the description compensates by describing the result sections, entitlement/locked behavior, the resultId handoff to sightglass_show, and the account requirement. An agent has everything needed to call and route it 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 67% and the description adds real meaning: groupBy defaults to company, categoryId drives the categories-to-leaders drill-down and comes from this tool's own `categories` result. The `limit` and `weeks` params are left to the schema, so it stops short of full coverage.

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 verb and resource (the market view: who holds what share of active ads, week by week) and enumerates the returned sections (pulse, share, categories, leaders). It clearly distinguishes itself from siblings like sightglass_show (display) and sightglass_find_ads (ad-level search).

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?

Explicitly names the follow-up: call sightglass_show once with the resultId to render cards, and notes show does not search again. Also states it works without a Replo account and should be called before asking the user to sign in, giving clear ordering guidance.

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