Skip to main content
Glama

Turn off a store link

revoke_store_link
DestructiveIdempotent

Use this when the brand wants to stop a store link. It turns the link off for good, and anyone who opens it is told the offer ended; the link is never deleted. Account owner only.

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": {
      "code": "<code>"
    },
    "name": "revoke_store_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe link’s code, from list_store_links.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds real value beyond that: the action is permanent, the link object survives, and end users see an "offer ended" message. It still says nothing about the response or error behavior for an already-revoked code.

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?

Three short sentences: trigger first, consequence second, permission constraint last. Every clause carries information an agent would otherwise have to guess, and nothing is repeated.

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?

For a one-parameter irreversible mutation, the definition covers the trigger, the permanence, the non-deletion semantics, the end-user effect, and the permission gate. The only gap is what a successful call returns, which is minor given there is no output schema.

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?

Only one parameter, and the schema fully documents it (100% coverage), including the pattern and the pointer to list_store_links for obtaining the code. The description adds no further meaning about the code, so the baseline 3 applies.

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?

"Stop a store link" / "turns the link off for good" names a specific verb and resource, and the clarifying "the link is never deleted" implicitly separates it from any delete-style operation. It does not name a sibling tool to route against, so it stops just short of a 5.

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?

"Use this when the brand wants to stop a store link" gives an explicit triggering condition, and "Account owner only" states a prerequisite the agent must check. There is no when-not guidance and no alternative named for cases where a link should be removed rather than disabled.

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