Skip to main content
Glama

Save keywords

save_keywords
Destructive

Save keywords to a project's saved-keywords list. Uses no credits — does not call DataForSEO. Idempotent: re-saving an existing keyword is a no-op. If tags are provided, missing tags may be created. By default tags are appended; set tagMode=replace to remove existing tags from these saved keywords before applying the provided tags, which is useful for reorganizing keywords into page/topic clusters. Ask the user for confirmation before applying or replacing tags broadly.

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": "save_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoOptional tags to attach to every saved keyword. Ask the user for explicit confirmation before using this, especially when saving many keywords or creating new tag names.
metricsNoOptional metrics for the saved keywords. Copy keyword, searchVolume, keywordDifficulty, cpc, competition, and intent from research_keywords or get_keyword_metrics rows. monthlySearches is optional. Match each metric using its keyword field.
tagModeNoHow to apply tags. Defaults to append. Use replace to remove existing tags from these saved keywords before applying the provided tags.
keywordsYesKeywords to save (1-100).
projectIdYesRequired. The FastestRank project ID to scope this call to. Get one from list_projects.
languageCodeNoLanguage code (e.g. 'en', 'es', 'vi'). Defaults to the project's default market language (see list_projects).
locationCodeNoDataForSEO location code. Defaults to the project's default market (see list_projects; editable in project settings). See dataforseo.com/help-center/locations. Some countries (e.g. Iceland, 2352) are served from Google Ads data: keyword volume/CPC/trends work, but keyword difficulty, search intent, and domain analytics are unavailable.

Output Schema

NameRequiredDescriptionDefault
metaNo
tagsYes
tagModeYes
keywordsYes
projectIdYes
savedCountYes
languageCodeYes
locationCodeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavior: no credits/DataForSEO calls, idempotent re-saves, possible creation of missing tags, and the destructive effect of tagMode=replace removing existing tags before applying new ones. It also instructs the agent to ask the user for confirmation before broad tag application or replacement, which is valuable safety context for a destructive mutation.

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?

The description is compact and front-loaded: purpose first, then cost, idempotency, tag creation, tagMode behavior, and confirmation guidance. Each sentence adds useful operational or safety context without unnecessary repetition.

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 7-parameter mutation tool with rich annotations and a full output schema, the description covers the key behavioral risks: cost, idempotency, tag side effects, replace behavior, and user-confirmation guidance. Parameter-level details are fully documented in the schema, so the description is complete enough to support correct invocation.

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 already 100%, so the schema carries most parameter documentation. The description still adds meaning beyond the schema by explaining that missing tags may be created and that replace mode is useful for reorganizing keywords into page/topic clusters, though it does not discuss the metrics, projectId, languageCode, or locationCode parameters.

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?

The description states a specific verb and resource: save keywords to a project's saved-keywords list. It also distinguishes this from DataForSEO-backed research tools by saying it uses no credits and does not call DataForSEO, so an agent can tell why it should use this rather than a keyword-research tool.

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?

The description gives clear context for saving existing keywords and explains the specific use case for tagMode=replace when reorganizing keywords into clusters. It does not explicitly name alternatives such as research_keywords or add_rank_tracking_keywords or state when not to use this tool, so it stops short of full when/when-not 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.