Skip to main content
Glama

Apply keyword rank competitor replacement

apply_keyword_rank_competitor_replacement
Destructive

Executes only a confirmed plan matching this tool in the authorized tool4seller account; rejects other operation groups. Replaces the full associated competitor set of one existing owned-product tracker. An empty set clears associations. Does not create independent competitor tracking or change keyword status. Requires the plan's one-time confirmation receipt and idempotency key; rechecks applicable eligibility and quota before applying. Revalidates applicable competitor Catalog relationships. Review Sandbox simulates execution.

Input Schema

NameRequiredDescriptionDefault
planIdYesConfirmed immutable keyword-rank tracking plan ID. On timeout, query get_workflow_plan or retry this exact plan with the same idempotency key.
idempotencyKeyYesClient-generated key unique to this plan. Generate a new key for every newly prepared plan; include the planId or another random value. Reuse the exact key only when retrying apply for this same plan; never reuse it for a newly prepared plan.
confirmationReceiptYesOne-time receipt returned by confirm_workflow_plan for this exact plan. A receipt for the current plan does not confirm subsequent plans.

Output Schema

NameRequiredDescriptionDefault
itemsNo
planIdNo
statusNo
storeIdNo
summaryNo
planHashNo
policyIdNo
warningsNo
createdAtNo
expiresAtNo
simulatedNo
parametersNo
confirmedAtNo
nextActionsNo
planVersionNo
continuationNo
workflowTypeNo
executionModeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the destructive/openWorld annotations, it discloses that an empty set clears all associations, that eligibility and quota are rechecked before applying, that Catalog relationships are revalidated, and that the receipt is one-time and single-plan. These are substantive behavioral facts an agent would otherwise have to guess.

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?

It is front-loaded with the core action and scope, then the exclusions, then the preconditions. Sentences are dense but each carries distinct information; only the Sandbox sentence is tangential filler.

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?

With an output schema, full parameter coverage, and annotations covering safety, the description adds the mutation consequences, eligibility rechecks, and retry/uncertainty handling an agent needs. Nothing essential for correct invocation is missing.

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%, and each parameter already documents its role, retry semantics, and reuse rules in detail. The description only restates that the confirmation receipt and idempotency key are required, adding no syntax or format detail beyond the schema, so the baseline 3 applies.

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 states a precise verb and resource: 'Replaces the full associated competitor set of one existing owned-product tracker', including the empty-set case. It distinguishes itself from the sibling prepare_keyword_rank_competitor_replacement and from apply_keyword_rank_tracking_changes by explicitly ruling out creating competitor tracking or changing keyword status.

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 clear preconditions — only a confirmed plan matching this tool, with a one-time confirmation receipt and idempotency key, and it 'rejects other operation groups'. Exclusions ('does not create independent competitor tracking or change keyword status') further scope usage. It stops short of naming the exact prepare/confirm sibling sequence, so it is not a full 5.

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