Skip to main content
Glama

Repolog

track_keyword

Track a keyword for a website. Metrics stay empty until a research run prices it. Pass targetPathId to map it to a page — or targetRoot: true for the homepage, which has no page id of its own — and the next scan of that page grades it against this keyword. The keyword inherits the website's market unless you pass country + language — do pass them for a term in a language the site serves but isn't its default: priced against the wrong market it comes back empty, which reads as no demand. keyword also takes an array to do several in one call; the other arguments then apply to every one of them.

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": {
      "websiteId": "<websiteId>",
      "keyword": "<keyword>"
    },
    "name": "track_keyword"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNo
countryNoISO 3166-1 alpha-2 market for this one keyword, e.g. US. Defaults to the website's market. Send with language.
keywordYes
metricsNo
languageNoLanguage code, e.g. en. Send together with country.
websiteIdYesUUID of a website in the workspace.
targetRootNoTarget the site root (the homepage) instead. It is always scannable and so has no page id — this is the only way to point a keyword at it.
targetPathIdNoOptional UUID of a registered page this keyword should rank for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

No annotations exist, so the description carries the load, and it does substantial work: newly tracked keywords return empty metrics until priced, they inherit the website's market by default, and a wrong market yields empty results that "read as no demand" — a genuinely non-obvious failure mode. It also discloses batch behavior where scalar arguments fan out across every keyword. It does not cover idempotency (re-tracking an existing keyword) or what happens when a keyword is already attached to a page.

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, then targeting, then market, then batching — a logical order with no filler sentences. The nested em-dash clauses make a few sentences denser than necessary, but each one carries distinct 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 no-annotation mutation tool with a nested metrics object and no output schema, the description covers the important unknowns: empty metrics until research, default market inheritance, targeting modes, and batch semantics. The one remaining gap is whether the metrics object is ever meant to be supplied by the caller or is server-populated only.

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?

With 63% schema coverage across 8 params, the description adds real meaning beyond the schema: the country + language pairing rule and its consequence, the targetPathId vs targetRoot distinction (homepage "has no page id of its own"), and that keyword accepts an array with shared arguments. It leaves metrics and source unexplained in prose, though metrics is partially addressed by the "stay empty until a research run prices it" note.

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 ("Track a keyword for a website") and immediately carves out its scope relative to research: "Metrics stay empty until a research run prices it." An agent can tell this apart from run_keyword_research and from the target-page setter because the description explains how targeting is done inline here.

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?

Gives concrete when-to conditions: pass targetPathId to rank against a page, targetRoot for the homepage, and country + language "for a term in a language the site serves but isn't its default." It also implies the ordering with run_keyword_research. It stops short of explicitly naming an alternative tool to use instead in any scenario, so it is clear context without full routing.

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.