Skip to main content
Glama
Unilytics MCP Server

Unilytics MCP Server

Official

add_tracked_keywords

Idempotent

Add keywords, competitor domains, or target locations to a project's tracking lists without duplicates, enforcing per-list limits and roles. Use it to grow a project's tracked items in one call.

Instructions

Add tracked keywords, competitors, and/or target locations to a project.

Appends to the project's existing lists (no duplicates, ignoring letter case; nothing removed),
with the same checks as the project's Settings in the Unilytics app: at most 500 keywords, 200
competitors and 200 locations per project, each item up to 200 characters (a competitor 2,048).
A refusal names the list and the limit, and nothing is saved. At least one of keywords,
competitors or locations is required. Changing a project takes the owner, an admin or an editor
role on it; a viewer's call changes nothing.

The result has `changed` (false when every item was already tracked), the number of items now
in each list (`keywords_tracked`, `competitors_tracked`, `locations_tracked`) and
`settings_rev`, the version of the project's settings after the change.

Args:
    project_id: The project UUID (from list_projects or create_project).
    keywords: Keywords to add — a list, a JSON list as text, or a comma-separated string.
    competitors: Competitor domains to add — a list, a JSON list as text, or a comma-separated string.
    locations: Target locations to add — a list, a JSON list as text, or a comma-separated string.

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>"
    },
    "name": "add_tracked_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordsNo
locationsNo
project_idYes
competitorsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.0
    • removedInput schema / properties / config
      Removed value: -{
      -  "default": null,
      -  "title": "config",
      -  "type": "string"
      -}
  2. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Substantially enriches the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) by stating that lists are appended with no duplicates regardless of case and nothing is removed, and by spelling out the exact caps (500 keywords, 200 competitors, 200 locations, 200/2,048 char limits). It also discloses atomic refusal behavior ('A refusal names the list and the limit, and nothing is saved') and the permission model, which annotations alone cannot convey.

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?

Behavior and constraints come first, then the return shape, then an Args block; each sentence carries distinct information (limits, atomicity, permissions, formats) with no repetition of the schema. Length is justified by the amount of non-obvious behavior disclosed.

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?

With no output schema, the description compensates by documenting the return keys (changed, keywords_tracked, competitors_tracked, locations_tracked, settings_rev), and it covers requirements, limits and input formats for a 4-parameter mutation. The only remaining gap is the absence of any pointer to related add_* siblings for agents uncertain which list to extend.

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 0% and the schema only says string|array|null, so the description carries the load and does: project_id is identified as a UUID sourced from list_projects or create_project, and each of the three item parameters accepts a list, a JSON list as text, or a comma-separated string. That accepted-format detail is meaningfully beyond the schema.

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?

The description opens with a specific verb plus resource set: adding tracked keywords, competitors and/or target locations to a project. That is unambiguous, but it never names or contrasts a sibling (e.g. add_tracked_prompts), so differentiation is left to inference from the resource nouns.

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 usable preconditions rather than alternatives: at least one of the three item lists is required, and the caller must hold owner/admin/editor on the project ('a viewer's call changes nothing'). It does not explicitly say when to reach for this versus another add_* tool, so it stops short of full routing guidance.

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