Skip to main content
Glama

Erase member data

erase_member
DestructiveIdempotent

Erase a member completely (the site owner's side of a data-deletion request): signed out at once, their address, password and groups are deleted. Unlike remove_member, the address can then join again. Cannot be undone. With email in place of memberId: erase a buyer (Shop › Orders › Erase a buyer's details): their finished orders' details, member account, reviews and form messages (include: each on by default); orders not finished are listed back untouched; done:false answers a cursor to send back.

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>"
    },
    "name": "erase_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoA buyer's email, as given at checkout (in place of memberId)
cursorNoWith email: cursor from the previous answer
siteIdYesSite id (from list_sites)
includeNoWith email: what goes (each true by default)
memberIdNoMember id (from list_members)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/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 description doesn't need to re-state danger — yet it adds real value beyond them: immediate sign-out, exactly which data goes (address, password, groups), irreversibility ('Cannot be undone'), and that unfinished orders are returned untouched. It doesn't say what happens for an unknown member or whether the second mode also force-signs-out, so not a full 5.

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?

Front-loaded with the primary action and clause-efficient, with every sentence carrying substance (scope, contrast, safety, second mode). The nested parentheticals ('(the site owner's side of a data-deletion request)', '(Shop › Orders › Erase a buyer's details)') and the trailing run-on slightly tax readability without adding much for an agent.

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?

No output schema exists, and the description compensates by explaining the cursor/done:false return and the untouched-orders outcome. For a destructive dual-mode tool this is largely complete, though it omits behavior on a missing member and whether the email mode also signs the buyer out.

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 the baseline is 3, but the description meaningfully adds to it: 'include' flags are each on by default, cursor comes 'from the previous answer' and is sent back on done:false, and email substitutes for memberId. That explains the pagination loop and defaults, which the schema alone does not convey.

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?

Uses a specific verb and resource ('Erase a member completely') and immediately contrasts it with the named sibling remove_member. It also clearly delineates a second mode (buyer erasure by email) so an agent can tell this apart from other member tools without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly names the alternative (remove_member) and the deciding consequence: the address can rejoin after erase, which it cannot after remove. It also states the condition that selects the email mode ('in place of memberId') and the pagination follow-up via cursor, leaving little to inference.

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