Skip to main content
Glama

Pin rank tracking keywords

pin_rank_tracking_keywords
Destructive

Pin or unpin tracked keywords by their trackingKeywordId. Pinned keywords stay at the top of the tracker's keyword table for everyone in the project, and get_rank_tracker lists them first. Uses no credits. Missing, stale, foreign, and repeated IDs are ignored; updated is the number of keywords actually changed in this tracker.

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 NameIO 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
requestedYes
trackerIdYes
updatedIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With destructiveHint=true already declared, the description adds substantial context beyond annotations: pinning is project-wide ('for everyone in the project'), the call consumes no credits, and invalid IDs (missing, stale, foreign, repeated) are silently ignored rather than erroring. The only notable omission is the auth/permission requirement for mutating a shared project state.

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?

Three dense sentences with the action front-loaded, followed by effect, cost, and edge-case behavior in that order. The final clause explaining `updated` slightly overlaps with the existing output schema, but it is one short phrase and not wasteful padding.

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 four-parameter mutation with an output schema, the description covers everything an agent needs: what changes, who is affected, cost, error tolerance, and how the result count should be read. No material gap remains.

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 100%, so per-parameter definitions are already supplied; the description nonetheless adds meaningful semantics, clarifying that keywordIds must be trackingKeywordId values and that unrecognized or duplicate IDs are tolerated rather than rejected. It also ties the `pinned` boolean to the pin/unpin duality described in the first sentence.

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 pair and resource: 'Pin or unpin tracked keywords by their trackingKeywordId,' and adds the observable effect ('stay at the top of the tracker's keyword table'). It also names the sibling get_rank_tracker and how pinning changes its output, so an agent can distinguish this from add/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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied through the effect description (ordering in the tracker table and in get_rank_tracker) and the 'uses no credits' note, which helps an agent decide it is cheap to call. However, there is no explicit when-to-use vs. when-not guidance relative to alternatives such as add_rank_tracking_keywords, and no stated prerequisites beyond the schema-required IDs.

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