Skip to main content
Glama

Mencoro

Get a tracked query

get_tracked_query
Read-onlyIdempotent

One tracked query's settings: its text, engine, country, status, check frequency, passes per check, clusters and when it was last checked. Find ids with search_tracked_queries.

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>",
      "trackedQueryId": "<trackedQueryId>"
    },
    "name": "get_tracked_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYes
organizationIdYes
trackedQueryIdYes

Output Schema

NameRequiredDescriptionDefault
idYes
engineYes
localeNoLanguage tag the query is asked in. Null when the engine is asked without one.
statusYes
countryYesISO-3166 alpha-2 country the query is asked from
nPassesYesPasses run per check. Greater than 1 only for AI engines.
locationNoThe city a Google SERP or Shopping query is located in. Null at country level and for AI queries.
projectIdYesThe project this tracked query belongs to
queryTextYesThe prompt or keyword sent to the engine
lastCheckedAtNoWhen a check last completed. Null means no check has completed yet, which is not the same as a check that found nothing.
checkFrequencyYesHow often the query is checked while active
queryClusterIdsYesClusters (groups) this query belongs to. Empty when it is ungrouped.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / location
      Added value: +{
      +  "description": "The city a Google SERP or Shopping query is located in. Null at country level and for AI queries.",
      +  "properties": {
      +    "canonicalName": {
      +      "type": "string"
      +    },
      +    "countryCode": {
      +      "type": "string"
      +    },
      +    "displayName": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "description": "Google geotarget id of the city, the value the locations filter and locationId take",
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "displayName",
      +    "canonicalName",
      +    "countryCode"
      +  ],
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / engine / 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. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is supplied. The description adds that the call is scoped to one query and lists the setting fields surfaced, though an output schema exists and the field enumeration overlaps it. No error behavior (e.g., unknown id) or scoping semantics are described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler, with the resource identity and field scope front-loaded before the id-discovery pointer. Every clause contributes to deciding whether to call the tool.

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 simple read-only getter with annotations and an output schema covering return shape, the description supplies what remains: single-record scope, field coverage and id sourcing. The only omission is parameter scoping detail, which the empty schema coverage leaves to guesswork.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three required parameters, so the description must carry parameter meaning and largely does not. It only hints that trackedQueryId comes from search_tracked_queries; organizationId and projectId scoping are left entirely undefined.

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 names the exact resource (a single tracked query's settings) and enumerates the returned fields (text, engine, country, status, check frequency, passes per check, clusters, last-check time). It also distinguishes the tool from the bulk-listing sibling search_tracked_queries by telling the agent where ids come from.

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 clearly explains the prerequisite of obtaining an id via search_tracked_queries, which is the key routing decision for this family. It stops short of stating when not to use it (e.g., versus get_tracked_query_matches or get_tracked_query_time_series), but the single-record scope makes the intent unambiguous.

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.