Skip to main content
Glama
Mencoro MCP server

Mencoro MCP server

Create tracked queries

create_tracked_queries

Create monitored queries for each query, engine, and country combination, with scheduled checks, cost preview, and skipped duplicate or unsupported cases before confirmation.

Instructions

Start tracking queries: every combination of queryTexts x engines x countries (at most 100) becomes a tracked query, checked now and then on checkFrequency with nPasses passes, each check spending budget. Combinations the project already tracks, repeated ones and Google AI Mode in unsupported countries are skipped and reported. Requires a confirmationToken: call preview_operation with tool "create_tracked_queries" and these arguments first, show the returned plan (what is created, what it costs) to the user, and call this tool only after the user explicitly agrees. Pass a fresh requestId and reuse it if you retry.

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>",
      "queryTexts": "<queryTexts>",
      "engines": "<engines>",
      "countries": "<countries>",
      "checkFrequency": "<checkFrequency>",
      "nPasses": "<nPasses>",
      "confirmationToken": "<confirmationToken>"
    },
    "name": "create_tracked_queries"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoOptional two-letter language the engines should answer in
enginesYes
nPassesYesAnswers captured per check; more than 1 only for AI engines. Each pass counts as one check against your plan; a Claude pass counts as five.
countriesYesISO 3166-1 alpha-2 codes, e.g. ["US", "ES"]
projectIdYes
requestIdNoOptional idempotency key, 8-255 printable characters. Reuse it only to retry this same call.
queryTextsYes
checkFrequencyYes
organizationIdYes
queryClusterIdsNo
confirmationTokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.0.0
    • 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"
      +]
    • changedInput schema / properties / nPasses / description
      Previous value: -"Answers captured per check; more than 1 only for AI engines. Each pass costs one check."New value: +"Answers captured per check; more than 1 only for AI engines. Each pass counts as one check against your plan; a Claude pass counts as five."
  2. Addedv1.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond annotations: discloses budget spend per check, the 100-combination cap, duplicate/skip behavior with reporting, and the confirmation-token gate. The idempotentHint=false annotation plus the requestId retry instruction is complementary rather than contradictory, though it could state more explicitly whether reuse of requestId with changed args is rejected.

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 the core semantics, then skip rules, then the confirmation workflow — logical ordering with no filler. Sentences are dense and long, but each carries load-bearing information.

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 nontrivial mutating, cost-incurring operation with no output schema, the description covers the creation semantics, cost implications, skip/report behavior, and the safety workflow. Remaining gaps (locale, queryClusterIds, project scoping) are secondary but real for an 11-parameter call.

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 only 36% across 11 params, and the description compensates for the important ones: it defines queryTexts/engines/countries as a cross-product with a 100 cap, ties nPasses and checkFrequency to checking behavior and budget, and explains confirmationToken and requestId. It says nothing about locale, queryClusterIds, or organizationId/projectId, leaving a meaningful gap.

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?

"Start tracking queries: every combination of queryTexts x engines x countries (at most 100) becomes a tracked query" states a specific verb, resource, and the exact construction semantics. An agent can distinguish this from add_tracked_queries_to_clusters or preview_operation without opening the 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?

Explicit prerequisite chain is spelled out: call preview_operation with this tool name and arguments, show the plan and cost to the user, call only after explicit agreement. It also names what is skipped, so the agent knows when combinations will not be created.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.