Skip to main content
Glama

Repolog

set_keyword_target_page

Point a tracked keyword at the page it should rank for: a registered page by targetPathId, or the homepage with targetRoot: true (the root is always scannable, so it has no page id). Omit both to clear the mapping. The next scan of that page grades it against this keyword. keywordId 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": {
      "keywordId": "<keywordId>"
    },
    "name": "set_keyword_target_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordIdYes
websiteIdNoUUID of a website in the workspace.
targetRootNoPoint the keyword at the site root (the homepage) instead of a registered page. Mutually exclusive with targetPathId.
targetPathIdNoUUID of a registered page. Omit (with targetRoot) to unmap the keyword entirely.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and discloses the important side effects: omitting both targets clears the mapping, the change takes effect on the next scan of that page, and array keywordId applies the same target to every keyword. It does not mention permissions, error behavior for unknown ids, or what the response looks like.

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?

Four dense sentences, front-loaded with the primary action and target choice, then clearing, then effect timing, then batching. No filler, and the parameter names are cited inline where they matter.

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 4-parameter mutation with no annotations and no output schema, the definition covers the risky parts (unmapping, batching, deferred grading). Return shape and failure modes are unspecified, but they are low-risk for this operation.

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 75% and already documents targetRoot/targetPathId mutual exclusivity, but the description adds real meaning: why the root has no page id, what 'omit both' does semantically, and that an array keywordId fans the other arguments out to every keyword (not stated in the schema).

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: point a tracked keyword at the page it should rank for, with the two target forms named. This is unmistakably the page-mapping operation, distinct from sibling operations like track_keyword or untrack_keyword.

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 explicit selection rules among the three modes: targetPathId for a registered page, targetRoot:true for the homepage, and omitting both to clear the mapping. It does not name an alternative tool for re-pointing or bulk editing, but the mode selection an agent needs is fully covered.

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.