Skip to main content
Glama

Remove hosted app guest

remove_app_guest
Destructive

Remove a guest from a hosted app: their access ends within the hour, and their email, phone and PIN are erased; the name stays in the list. What they did stays too, unless undo is true: then their answers are withdrawn and, for each change they made through an action that another action undoes, that undo action is run where the item has not changed since; changes made by an action nothing undoes stay. If one of those undos is refused for another reason, the guest is NOT removed and the error says why. Not reversible. Takes the guest token from list_app_guests. Requires write scope and permission to edit the folder the app shows.

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": {
      "slug": "<slug>",
      "guest_token": "<guest_token>"
    },
    "name": "remove_app_guest"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesSlug of the app, from list_apps
undoNoAlso withdraw the guest's answers and run the undo actions for their changes
guest_tokenYesThe guest's `token`, from list_app_guests
organizationNoWorkspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, yet the description adds substantial detail beyond them: access ends within the hour, email/phone/PIN are erased while name and activity history persist, and the undo cascade has a precise partial-failure rule where a refused undo aborts the whole removal. That failure semantics is exactly the kind of behavior an agent cannot derive from structured fields.

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?

It is front-loaded with the user-visible consequences before the conditional undo machinery, and nearly every clause carries information. The undo sentence is long and clause-heavy, which costs some readability.

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?

With no output schema and a destructive, non-idempotent operation, the description supplies the missing pieces: what data is destroyed, what survives, the failure/abort path, permission requirements, and where each parameter value comes from. Nothing needed to invoke it correctly is absent.

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 adds real meaning: `undo` is not merely 'also undo' but triggers withdrawal of answers plus per-action undo runs constrained by whether the item changed since, and `guest_token` is sourced from list_app_guests.

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?

The opening clause names a specific verb and resource (remove a guest from a hosted app) and immediately scopes what is destroyed versus retained, so it is unmistakable against siblings like list_app_guests and create_app_guest.

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 explicitly routes the agent to list_app_guests for the guest token and states the required `write` scope plus folder-edit permission, and it explains when to set `undo` versus leaving it off. It stops short of naming an alternative removal tool or stating when not to remove at all.

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