Skip to main content
Glama

Edit Saved Keyword Tags

saved_keyword_update
DestructiveIdempotent

Replaces the tags of one saved keyword: tags is the complete list it should have afterwards (up to 10, each one line of up to 40 characters; [] removes them all), so tags you leave out are removed. Tags are all a saved keyword's edit changes; its keyword, market and saved metrics stay as saved. Give the revision you read, or leave it out to edit the current version; if the keyword changed since that revision the call fails with a conflict (read it again with saved_keyword_get). Free.

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": {
      "project_id": "<project_id>",
      "saved_keyword_id": "<saved_keyword_id>",
      "tags": "<tags>"
    },
    "name": "saved_keyword_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsYes
revisionNoThe revision of the saved keyword you read (keyword.revision of saved_keyword_get, or revision in saved_keywords_list). Leave it out to use the current one. If it changed since, the call fails with a conflict and changes nothing.
verbosityNoconcise: short summary of the answer; full: the whole answer. Only shapes the output.
project_idYesProject ID, as listed by projects_list; it must belong to the authenticated organization.
idempotency_keyNoOptional and ignored: this call never charges, and a key does not make a repeated call safe.
saved_keyword_idYesID of the saved keyword, from saved_keywords_list.

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?

Annotations already flag destructive=true and idempotent=true, and the description adds the concrete mechanics behind that: omitted tags are deleted, limits are 10 tags of 40 characters, a conflict 'changes nothing', and the call is free. The note that idempotency_key is 'ignored' explains a parameter the agent would otherwise misread as a safety guarantee, which is valuable transparency rather than a contradiction of idempotentHint.

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?

The replacement semantics is front-loaded and every clause carries information, but the single dense paragraph runs several ideas together without breaks, and the parenthetical about re-reading is embedded mid-sentence. It is efficient, though slightly harder to scan than it could be.

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 six-parameter mutation tool with no output schema, the definition covers mutation semantics, limits, conflict handling, and cost. The only gap is that it does not sketch what the answer looks like beyond the verbosity parameter ('concise: short summary; full: the whole answer'), leaving the return shape largely unspecified.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 83%, but the description still adds semantics the schema cannot express: replacement rather than merge for tags, the effect of an empty array, and the optimistic-concurrency meaning of revision including the failure mode. These are the details an agent needs to call the tool correctly on the first try.

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 opens with a precise verb and resource: 'Replaces the tags of one saved keyword.' It immediately delimits scope by naming what is NOT touched ('its keyword, market and saved metrics stay as saved'), which separates it from sibling mutation tools like research_document_update or saved_keywords_save.

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?

It states the editing contract ('tags is the complete list it should have afterwards'), the removal cases ('[] removes them all'), and when to supply vs. omit revision ('Give the revision you read, or leave it out to edit the current version'). It also routes the agent to a named sibling, saved_keyword_get, when a conflict occurs, so the recovery path is explicit.

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.

Resources