Skip to main content
Glama

Repolog

run_keyword_research

Spend one of the workspace's monthly keyword research runs (pooled across every website) and write the results to the website's keyword list — at most 50 new keywords per run, shared across the seeds and ranked by how many words they share with a seed; results sharing no word with any seed are dropped, and so are results judged off-topic for the website's homepage (each candidate carries that relevance, 0-1; under 0.5 is dropped — skipped until the homepage has been scanned). Returns the run plus the keyword rows it wrote — no follow-up list_keywords needed. Pass dryRun: true to get the ranked candidates back without saving anything (the run is still spent), then track the ones you want with track_keyword, passing their metrics. suggestions (up to 5 seeds) only returns phrases containing a seed — the safe default for product-specific terms. ideas (up to 20 seeds) expands by topic category and drifts: generic seeds like "… app" pull in unrelated head terms, so use a few specific seeds and prefer dryRun. refresh re-prices what is already tracked (all of it, or just the seeds you name), pricing each keyword in the market it was tracked in, so a site with keywords in more than one market stays correct. The website must be DNS-verified. Search volume is country-specific: a country domain sets the market automatically, otherwise send country + language once and it sticks.

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>",
      "kind": "<kind>"
    },
    "name": "run_keyword_research"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesWhich kind of run to make.
seedsNoSeed keywords to expand from. Required unless kind is refresh, where it instead narrows the refresh to those already-tracked keywords (omit to re-price all of them).
dryRunNoReturn the ranked results as `candidates` instead of tracking them. Still spends the run. Ignored for refresh.
countryNoISO 3166-1 alpha-2 market to research in, e.g. HU. Required once for a generic domain like .com; stored on the website afterwards.
languageNoLanguage code served by that country, e.g. hu. Send together with country.
websiteIdYesUUID of a verified website in the 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?

With no annotations, the description carries the full burden and does so: it discloses the quota cost (one monthly run pooled across websites), that dryRun still spends the run, the 50-keyword cap with word-overlap ranking, the relevance<0.5 drop rule and its homepage-scan prerequisite, and the DNS-verification requirement. It also explains that country/language stick to the website after being sent once.

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?

Every sentence contributes unique behavioral information — quota, filtering, dryRun, mode selection, prerequisites — with no filler. The weakness is structure rather than length: it is one dense paragraph of nested parentheticals, and splitting the mode guidance and prerequisites into discrete lines would make it far easier to scan.

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?

For a costly, state-mutating tool with no output schema and no annotations, the description covers the return value ("Returns the run plus the keyword rows it wrote"), prerequisites, quota implications, filtering behavior, and market handling. Nothing an agent needs in order to decide whether and how to call it is missing.

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 100%, so the baseline is 3; the description adds real semantics on top, notably the seed-count ceilings for `suggestions` (5) and `ideas` (20) and how `seeds` changes meaning for `refresh` (filter vs. full re-price). It does not add much beyond the schema for `country`/`language` since the schema already documents the one-time-send behavior.

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?

Starts with a specific verb+resource ("Spend one of the workspace's monthly keyword research runs ... write the results to the website's keyword list") and immediately distinguishes the three modes (suggestions/ideas/refresh) so an agent can tell them apart without opening the schema. The scope (one pooled run, at most 50 new keywords) is stated up front.

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?

Gives explicit routing guidance: `suggestions` for product-specific terms, `ideas` for broader topic expansion with a warning about drift, `refresh` for re-pricing tracked keywords, and "prefer dryRun" for risky `ideas` runs. It also names the follow-up (track_keyword) and rules out a sibling ("no follow-up list_keywords needed").

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.