Skip to main content
Glama

Pin rank tracking keywords

pin_rank_tracking_keywords
Idempotent

Pin or unpin keywords in a rank tracker so pinned keywords appear at the top of get_rank_tracker, get_rank_history, and the rank tracking table. Pass trackingKeywordId values from get_rank_tracker. Missing or foreign-tracker IDs are ignored. Uses no credits.

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>",
      "keywordIds": "<keywordIds>",
      "pinned": "<pinned>"
    },
    "name": "pin_rank_tracking_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinnedYestrue pins the keywords to the top. false unpins them.
projectIdYesRequired. The FastestRank project ID to scope this call to. Get one from list_projects.
trackerIdYesRank tracker ID from get_rank_tracker.
keywordIdsYesTracking keyword IDs to pin or unpin. Use `trackingKeywordId` values returned by get_rank_tracker.

Output Schema

NameRequiredDescriptionDefault
metaNo
pinnedYes
updatedYes
trackerIdYes
updatedIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false), yet the description still adds real value: the cross-tool ordering side effect on three surfaces, silent tolerance of invalid IDs, and zero credit cost. The one gap is that it doesn't say whether pinning replaces or appends to an existing pinned set, which matters for a batch of up to 1000 IDs.

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?

Four short sentences, front-loaded with the effect and followed by the ID-sourcing rule, the error tolerance, and the cost note. No filler and nothing buried.

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?

An output schema exists, so return values need no prose. Given a fully described 4-parameter schema, an annotation-backed safety profile, and explicit guidance on ID provenance and edge-case behavior, an agent has everything needed to call it correctly.

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 description coverage is 100%, so all four parameters including the `pinned` boolean are already documented in structured form. The description only reinforces the provenance rule for keywordIds (use `trackingKeywordId` from get_rank_tracker), which is already in the schema, so it adds little beyond the baseline.

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?

States a specific verb pair (pin/unpin) plus the resource (rank tracking keywords) and the observable effect: pinned keywords appear at the top of get_rank_tracker, get_rank_history, and the rank tracking table. That effect-based framing cleanly separates it from add_rank_tracking_keywords and remove_rank_tracking_keywords.

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 the prerequisite chain explicitly: keywordIds must be `trackingKeywordId` values returned by get_rank_tracker, scoped by trackerId. It also sets expectations for bad input ('Missing or foreign-tracker IDs are ignored'), but never contrasts itself with add/remove_rank_tracking_keywords for an agent deciding between pinning and adding.

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.