Skip to main content
Glama

Erase one person's data

erase_person
Destructive

Delete one person's data that their stored ids or email link to: their feedback, saved error examples, support conversations, usage profiles, linked browser ids, visits and events. Pass exactly one of user, anonymousId or email. An email finds the notes with that address. It follows a user or browser id to other notes and error examples only when the id comes from a usage profile with that email or from a note your server or a signed-in browser sent with it. An address someone typed on a note never leads to other notes or conversations. Errors a server sends carry only user, so call again with user and with each anonymousId you know, one id per call. A browser id never brings a note or visit another signed-in user made from the same browser. A browser id linked to a matched usage profile also brings that browser's notes and error examples sent without a user id. One found only on a note covers its anonymous visits and events, never the account it is linked to. Conversations without a stored link to that person can't be found. Returns deleted-record counts, not proof every identity was found. A company record another user still names stays. Daily totals, which name nobody, stay; the recent ones are recalculated without this person in the nightly rollup (rollupsPending says one is waiting). Delayed feedback and contact writes using erased identities are blocked for 30 days, and delayed usage writes for 2 days. A person is refused when they have more than 50,000 visits plus events or 2,000 notes, and nothing is erased: featury support can erase them. This can't be undone. Each call is audited. You can make 100 export or erase calls a day in total (UTC), across the app, the API and AI apps. MANAGER+ required.

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": {
      "workspace": "<workspace>",
      "project": "<project>"
    },
    "name": "erase_person"
  }
}

Input Schema

NameRequiredDescriptionDefault
userNoYour app's own user id, exactly as your server sent it with feedback or signed it for the browser
emailNoThe person's email: the one they left to hear back, or the one their profile was signed with. It also reaches the other notes and error examples of a user or browser id, but only one that comes from a usage profile with this email or from a note your server or a signed-in browser sent with it. Send user in a separate call to reach the rest
projectYesProject slug or id
workspaceYesWorkspace slug or id
anonymousIdNoThe anonymous id (a UUID) the person's browser or app sent

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only flag destructive/not-readOnly; the description adds the consequential behaviour an agent must know: irreversible, each call audited, MANAGER+ required, 100 export/erase calls per day across app/API/AI, 30-day and 2-day blocking of delayed writes, and delayed rollup recalculation with rollupsPending. It also discloses the 50,000 visits-plus-events / 2,000 notes refusal threshold and that nothing is erased when refused.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with what gets deleted, but the definition is a single dense block of edge-case prose that would be far more scannable as bullets, and some identity-resolution rules recur in both description and schema. Most sentences do carry operational weight, so it is dense rather than padded.

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?

No output schema exists, yet the description states the return (deleted-record counts, explicitly not proof every identity was found) and caveats about surviving company records and daily totals. For a destructive, multi-identity, rate-limited tool this covers the permission, limit and irreversibility facts an agent needs before calling.

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 baseline is 3, but the description adds real semantics beyond the schema: the exactly-one-of constraint, the asymmetry between user, email and anonymousId resolution, and the limits on id-chaining across notes and browser ids. The email path's propagation rules are genuinely clarifying rather than restated schema text.

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?

Opening clause names a specific verb (Delete) plus the exact resource set erased: feedback, saved error examples, support conversations, usage profiles, linked browser ids, visits and events. That enumeration also separates it from read-only siblings like find_person and export_person, so an agent can route without opening the schema.

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?

Gives explicit operating conditions: pass exactly one of user, anonymousId or email, and for server errors 'call again with user and with each anonymousId you know, one id per call'. It also states what cannot be reached (conversations without a stored link, notes reached by a typed address). It stops short of naming a sibling alternative such as find_person for the lookup-first case, which keeps it at 4.

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