Skip to main content
Glama

Mencoro

Biggest tracked-query movers

get_query_movers
Read-onlyIdempotent

Ranks a project's tracked queries by how much a metric changed between two snapshots — the biggest gainers and losers. Each query is read through its latest check on or before dateTo (an archived project's archive day when earlier) and compared with its latest check on or before the day before dateFrom; a check that came back empty, or a query not active that day, has no figures in that snapshot, and a deleted query has no row at all. asOf.date and asOf.previousDate name the two days. Each row is one tracked query (a single engine + country) with its current position/share/sentiment and the signed trend delta (positive = improved). Sort by one of the trend keys; sortOrder desc = top gainers, asc = top losers. Dates must fall within the data retention window. A call whose reads run past their time budget is refused; narrow the range or filters instead of retrying as is. Answers questions like "which queries moved the most" or "my biggest gains and drops versus last period".

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": {
      "organizationId": "<organizationId>",
      "projectId": "<projectId>",
      "dateFrom": "<dateFrom>",
      "dateTo": "<dateTo>"
    },
    "name": "get_query_movers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
dateToYes
offsetNo
sortByNowhich trend delta to rank bytrend_share_of_voice
enginesNoallowed values: chatgpt, claude, perplexity, google_ai_overview, google_ai_mode, google_serp, google_shopping
dateFromYes
countriesNoISO-3166 alpha-2 country codes (e.g. "US", "GB", "DE"); a project's configured codes are listed by get_available_filters
projectIdYes
sortOrderNodesc for top gainers, asc for top losersdesc
organizationIdYes

Output Schema

NameRequiredDescriptionDefault
asOfYes
rowsYes
totalYes
dataDirtySinceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / asOf
      Added value: +{
      +  "properties": {
      +    "date": {
      +      "format": "date",
      +      "type": "string"
      +    },
      +    "previousDate": {
      +      "format": "date",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "date",
      +    "previousDate"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "rows",
      -  "total"
      -]New value: +[
      +  "rows",
      +  "total",
      +  "asOf"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / engines / description
      Previous value: -"allowed values: chatgpt, perplexity, google_ai_overview, google_ai_mode, google_serp, google_shopping"New value: +"allowed values: chatgpt, claude, perplexity, google_ai_overview, google_ai_mode, google_serp, google_shopping"
    • changedInput schema / properties / engines / items / enum
      Previous value: -[
      -  "chatgpt",
      -  "perplexity",
      -  "google_ai_overview",
      -  "google_ai_mode",
      -  "google_serp",
      -  "google_shopping"
      -]New value: +[
      +  "chatgpt",
      +  "claude",
      +  "perplexity",
      +  "google_ai_overview",
      +  "google_ai_mode",
      +  "google_serp",
      +  "google_shopping"
      +]
  3. Changed2 schema fields changed
    • addedOutput schema / properties / dataDirtySince / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / dataDirtySince / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
  4. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the read-only, idempotent annotations, the description explains snapshot inclusion rules, handling of empty checks, inactive queries, deleted queries, and how archived projects affect dateTo. It also discloses retention constraints and timeout-refusal behavior, which are operationally important.

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?

The description is long but front-loaded with the core operation and ranking behavior. Most sentences carry useful semantic or behavioral detail, though the snapshot explanation is dense and the final example sentence is somewhat redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex ranked-analysis tool with an output schema and helpful annotations, the description covers the important comparison semantics, edge cases, sorting, retention, and timeout behavior. Minor gaps remain around pagination parameters and identifier scoping, but the output schema likely covers returned fields.

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 description coverage is only 40%, so the description must add meaning. It clarifies dateFrom/dateTo as snapshot comparison dates, sortBy as a trend key, and sortOrder as gainers versus losers, but it does not explain limit, offset, organizationId, or projectId semantics.

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 states a specific verb and resource: it ranks a project's tracked queries by metric movement between two snapshots, returning biggest gainers and losers. It clearly distinguishes the tool's role from time-series or single-query siblings by focusing on ranked cross-query movement.

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?

It gives clear usage guidance, including example questions, how to use sortOrder for gainers versus losers, and that dates must fall within retention. It also warns not to retry timeout-refused calls unchanged, though it does not explicitly name alternative tools for related analyses.

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.