Skip to main content
Glama

Export one person's data

export_person
Read-only

Export 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. Each part has its own limit (10,000 notes, 10,000 error examples, 1,000 conversations, 1,000 usage profiles, 2,000 browser ids, the newest 1,000 visits and 10,000 events) and a flag that says when it is partial. Past 50,000 visits plus events, no visits or events are read, and sessionsTruncated, eventsTruncated and trackerTruncated are true. Calling again returns the same data, not the next part. It holds what the stored links reach, not proof it is everything about the person. 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": "export_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.8/5.0
Behavior5/5

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

Annotations already declare a non-destructive read, but the description adds the operationally important facts an agent cannot infer: per-part limits with partial flags, the 50,000 visits+events ceiling and which truncation flags flip, non-pagination semantics ("Calling again returns the same data, not the next part"), audit logging, a shared 100/day quota, and the epistemic caveat that results are link-reachable rather than a full person profile.

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 correctly, with purpose then identifier rule then link semantics then limits. But it is a single undivided block of roughly 300 words, and the email reach rules are stated twice (once in prose, once again nearly verbatim in the email parameter's schema description), so not every sentence earns its place.

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?

For a high-complexity export across seven linked entity types with no output schema, the description covers identifier selection, link traversal rules, per-part caps, truncation signals, idempotency, quota and permissions. Nothing an agent needs to call it correctly or interpret a partial result is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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; the description earns above that by adding cross-parameter semantics the schema cannot express — exactly-one-of the three identifiers, the fan-out rule requiring separate calls per anonymousId, and the dependency of email reach on whether the id came from a matched usage profile. These are selection rules, not restatements of field docs.

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?

States a specific verb and resource ("Export one person's data") and immediately enumerates the data classes reached (feedback, error examples, conversations, usage profiles, browser ids, visits, events). It also fixes the invocation contract ("Pass exactly one of user, anonymousId or email"), so an agent can distinguish this from find_person or erase_person 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 Guidelines5/5

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

Gives explicit positive and negative routing: email reaches only notes with that address, a typed-on-note address never expands reach, server-sent errors carry only user so the agent must call once per known anonymousId. It also names the hard exclusion ("Conversations without a stored link to that person can't be found") and the permission floor (MANAGER+), which is unusually complete when-to/when-not guidance.

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