Skip to main content
Glama

Take back paid content

revoke_access
DestructiveIdempotent

Take back paid content or a download the owner gave (grant_access, or set by hand): productId (the groups it unlocks, or its file) or groups. What the member BOUGHT stays unless includePurchases:true. The member is signed out at once; the answer names what was removed and what they still hold because they bought it. Full reference: get_reference {topic:"members"}.

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": {
      "siteId": "<siteId>",
      "memberId": "<memberId>"
    },
    "name": "revoke_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupsNoOr the group ids to take back
siteIdYesSite id (from list_sites)
memberIdYesMember id (from list_members)
productIdNoAn access or download product (from list_products)
includePurchasesNoAlso take back what they bought (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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, but the description adds real behavioral detail beyond them: purchases are preserved by default, the member is signed out immediately, and the response reports what was removed versus what the member still holds. That is meaningful context for a destructive mutation. It does not cover failure modes or reversibility of the sign-out.

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, front-loaded with the core action and the purchase caveat, then the side effect, then the reference pointer. Nothing is padding, though the parenthetical "(grant_access, or set by hand)" is slightly awkward and could be tighter.

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 destructive 5-parameter mutation with no output schema, the description covers the essential behavior: what is removed, what is retained, the immediate sign-out, and what the answer contains. Remaining gaps are minor, such as behavior when the grant does not exist or permission requirements.

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 the schema already documents every parameter, including defaults and id patterns. The description adds only modest extra meaning, chiefly how productId relates to groups ("the groups it unlocks, or its file") and the purchase-preservation semantics of includePurchases. Useful but largely restating what the schema conveys.

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 uses a concrete verb ("take back") and names the resource precisely: an access grant the owner gave, either via grant_access or set by hand. It also names the counterpart sibling grant_access, so the agent can infer the inverse relationship. Slightly loose phrasing ("paid content or a download") costs it a point versus a crisp statement of scope.

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 context for use: revoke a grant identified by productId or groups, with the important qualifier that purchased access survives unless includePurchases:true. It points to get_reference {topic:"members"} for the full picture. It stops short of stating exclusions, such as what happens when no matching grant exists.

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