Skip to main content
Glama

Add rank tracking keywords

add_rank_tracking_keywords
Destructive

Add keywords to an existing rank tracker. The mutation itself uses no credits and does not start a check or fetch metrics, but scheduled trackers will spend credits on future recurring public Google searches. For a scheduled tracker, call estimate_rank_tracker_cost with additionalKeywords, show the recurring estimate to the user, and pass the approved per-check estimate as maxEstimatedScheduledCheckCredits. The estimate is the most a check can cost, including retries. Existing and repeated keywords are skipped, and added is the number actually inserted.

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>",
      "trackerId": "<trackerId>",
      "keywords": "<keywords>"
    },
    "name": "add_rank_tracking_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordsYesKeywords to track. Existing and repeated keywords are skipped.
matchCaseNoTrack the keywords exactly as typed instead of lowercasing them. Defaults to false. Use for brand names where Google's results differ by capitalization; a cased keyword is tracked and billed separately from its lowercase form.
projectIdYesRequired. The NameIO project ID to scope this call to. Get one from list_projects.
trackerIdYesRank tracker ID from get_rank_tracker.
maxEstimatedScheduledCheckCreditsNoMost credits per scheduled check, including retries, that the user approved after seeing estimate_rank_tracker_cost with additionalKeywords. Required for scheduled trackers.

Output Schema

NameRequiredDescriptionDefault
metaNo
addedYes
addedIdsYes
requestedYes
trackerIdYes
scheduledEstimateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the credit model (the mutation is free but scheduled trackers incur recurring search costs), that no check or metric fetch is triggered, that the estimate is a per-check ceiling including retries, and that duplicate keywords are silently skipped. These are exactly the behavioral facts an agent needs before committing a write on a destructive/open-world tool.

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 definition is front-loaded with the core action and then the cost-approval workflow, with essentially no filler. It is dense but every sentence contributes; the only slight redundancy is repeating the keyword-skip behavior already in the schema.

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 five-parameter mutation with an output schema, the description covers the mutation's side effects, credit implications, the approval gate, and idempotency, leaving nothing an agent would need to infer. Return values are correctly left to the output schema, with only the meaning of `added` clarified.

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 baseline is 3, but the description adds genuine meaning: it explains that maxEstimatedScheduledCheckCredits must be the user-approved figure derived from a prior cost estimate and that it represents a retry-inclusive maximum. It also restates the skip semantics of `keywords`, which is marginally redundant with 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?

The opening sentence states a specific verb and resource ('Add keywords to an existing rank tracker'), which is immediately distinguishable from the remove/pin/estimate siblings without opening a schema. It also scopes the operation to an existing tracker, ruling out creation.

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?

It gives an explicit prerequisite workflow for scheduled trackers: call estimate_rank_tracker_cost with additionalKeywords, show the recurring estimate to the user, and pass the approved figure as maxEstimatedScheduledCheckCredits. That is strong conditional guidance, though it never states when to prefer this tool over siblings like pin_rank_tracking_keywords or run_rank_tracker.

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