Skip to main content
Glama

Add keywords

add_keywords

Add search phrases to a project as listing targets or idea candidates, optionally localizing them for each tracked market before rank checks.

Instructions

Add one or more keywords (search phrases) to a project. section 'listing' = phrases the listing targets now; 'idea' = candidates to evaluate (default). localize=true asks the AI to translate each phrase into every tracked market's search language (otherwise the same phrase is used everywhere). New keywords have no ranks until run_rank_check. market (one of the project's markets) also tracks each phrase exactly as written there, e.g. a term from get_search_terms; an existing keyword then only gains that market's phrase.

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

Input Schema

NameRequiredDescriptionDefault
marketNoMarket = ISO 3166-1 alpha-2 country code, e.g. "us", "de".
sectionNoBoard section (default idea).
keywordsYesPhrases to add.
localizeNoTranslate per market with AI (default false).
projectIdYesProject id (from get_overview).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.3
    • addedInput schema / properties / market
      Added value: +{
      +  "description": "Market = ISO 3166-1 alpha-2 country code, e.g. \"us\", \"de\".",
      +  "pattern": "^[A-Za-z]{2}$",
      +  "type": "string"
      +}
  2. First observedv0.1.7

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly=false, destructive=false, idempotent=false), so the description's added value is the consequence model: no ranks exist until run_rank_check, and an existing keyword only gains the market's phrase rather than being duplicated. That merge behavior is exactly the non-obvious effect an agent needs for a non-idempotent write.

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?

Purpose is front-loaded in the first clause and every subsequent sentence carries operational detail. The final sentence about market is dense and slightly hard to parse on first read, but no filler is present.

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, annotations, and no output schema, the description covers the two behaviors an agent would otherwise get wrong: rank absence after adding, and per-market phrase tracking. Return value details are not needed since there is no output schema, though the max of 100 phrases is left entirely to the schema.

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

Parameters3/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, and the description does add real meaning for market (tracks the phrase exactly as written in that locale, and for an already-existing keyword only appends that market's phrase) plus the default for localize. However the localize semantics ('translate into every tracked market's search language') are partly duplicated by the schema text, so the gain is moderate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: "Add one or more keywords (search phrases) to a project," which is clearly distinct from remove_keywords, edit_keyword, and suggest_keywords. It does not explicitly name those siblings, but the mutating create-only framing is unambiguous.

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 usage context: section 'listing' vs 'idea' with the default stated, and tells the agent that new keywords have no ranks until run_rank_check, which implies the follow-up tool. It also points at get_search_terms as a source of market phrases. No explicit when-not-to-use guidance or contrast with suggest_keywords.

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

Deploy Server

Other Tools