Skip to main content
Glama

Register Tracked SEO Keywords

add_keywords
Idempotent

Register a single keyword or batch and map each to a site path and search intent to start tracking new terms in PrismUV.

Instructions

Register one keyword (via top-level fields) or a batch (via items) mapped to target_path and intent on a site. Use to start tracking new terms; to auto-import ranked Google keywords from DataForSEO, use pull_ranked_keywords. Requires a write token (HTTP 403 if read-only); persists keywords safely in DB.

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": {
      "site_id": "<site_id>"
    },
    "name": "add_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNoBatch array of keyword definitions; overrides top-level single-keyword fields when supplied.
intentNoSearch intent classification for the single keyword (default "commercial").commercial
keywordNoSingle target search term to track when items array is omitted.
site_idYesPrismUV site slug identifier (e.g. "prismuv-abc123") returned by list_sites.
target_pathNoSite route path mapped to this keyword (default "/")./

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changedv0.1.1
    • addedInput schema / properties / intent / default
      Added value: +"commercial"
    • addedInput schema / properties / intent / description
      Added value: +"Search intent classification for the single keyword (default \"commercial\")."
    • addedInput schema / properties / items / description
      Added value: +"Batch array of keyword definitions; overrides top-level single-keyword fields when supplied."
    • addedInput schema / properties / items / items / properties / intent / default
      Added value: +"commercial"
    • addedInput schema / properties / items / items / properties / intent / description
      Added value: +"Search intent classification."
    • addedInput schema / properties / items / items / properties / intent / enum
      Added value: +[
      +  "commercial",
      +  "informational",
      +  "transactional",
      +  "navigational"
      +]
    • addedInput schema / properties / items / items / properties / keyword / description
      Added value: +"Target search term to track."
    • addedInput schema / properties / items / items / properties / target_path / default
      Added value: +"/"
    • addedInput schema / properties / items / items / properties / target_path / description
      Added value: +"Site route path mapped to this keyword."
    • addedInput schema / properties / keyword / description
      Added value: +"Single target search term to track when items array is omitted."
    • addedInput schema / properties / site_id / description
      Added value: +"PrismUV site slug identifier (e.g. \"prismuv-abc123\") returned by list_sites."
    • addedInput schema / properties / target_path / default
      Added value: +"/"
    • addedInput schema / properties / target_path / description
      Added value: +"Site route path mapped to this keyword (default \"/\")."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is known; the description still adds real value by stating a write token is required and read-only tokens get HTTP 403, and that keywords are persisted to the DB. The only weak spot is the vague "persists keywords safely," which asserts durability without saying what happens to duplicates or failures (the idempotent hint implies dedupe but the prose doesn't).

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?

Three dense sentences, correctly front-loaded with what the tool does, then the sibling alternative, then the operational constraint. Minor waste in "persists keywords safely in DB," where "safely" carries no verifiable meaning.

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 5-parameter mutation tool with full schema coverage, no output schema and informative annotations, the description covers mode selection, the competing sibling, and the auth requirement, which is what an agent needs to call it correctly. Only the duplicate-keyword behavior is left implicit through the idempotent hint rather than stated outright.

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, but the description earns a bump by framing the key parameter decision: one keyword via top-level fields versus a batch via items, both carrying target_path and intent. That either/or relationship is the main source of misuse risk, and the prose makes it explicit rather than leaving the agent to reconcile items and keyword on its own.

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 (register) and resource (SEO keywords) plus the two modes of operation: single via top-level fields or batch via items, each mapped to target_path and intent on a site. It also explicitly separates itself from pull_ranked_keywords, so an agent can route correctly without inspecting schemas.

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?

"Use to start tracking new terms" gives the when, and "to auto-import ranked Google keywords from DataForSEO, use pull_ranked_keywords" names the alternative and the condition that selects it. This is close to the ideal when/when-not pairing.

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