Skip to main content
Glama

Delete document user

delete-document-user
DestructiveIdempotent

Removes a user from a document entirely, revoking their access to it.

Use this tool when:

  • Someone should no longer have access to a document, e.g. a collaborator who has left the project

  • A user was added to a document by mistake

Identify the user by document_uuid plus email; the document_users section of get-document-info lists everyone with access.

This also removes the user as a signatory, if they are one. To only stop an owner or collaborator from signing, use delete-document-signatory instead. A document always keeps at least one owner, so removing its last owner is refused. Removing yourself ends your own access to the document.

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": {
      "document_uuid": "<document_uuid>",
      "email": "<email>"
    },
    "name": "delete-document-user"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesEmail address of the document user to remove
document_uuidYesUUID of the document to remove the user from. If you don't already have the document's UUID, use the list-documents tool to find it.

Output Schema

NameRequiredDescriptionDefault
removed_document_userNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds genuinely new behavior: removal cascades to signatory status, a document always retains at least one owner so the last-owner case is refused, and removing yourself terminates your own access. None of that is in the annotations or schema.

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

Conciseness5/5

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

Front-loaded with the core action, followed by scannable when-to-use bullets, then edge cases in a compact trailing paragraph. Every sentence carries either selection guidance or a behavioral constraint; nothing is filler.

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 destructive two-parameter tool with an output schema, this covers what an agent needs: how to identify the target, where to look up valid values, the sibling to use instead for the narrower case, and the failure condition. Return values are handled by the output schema, so no gap remains.

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 both parameters are already documented, establishing a baseline of 3. The description adds value by naming the pairing ('document_uuid plus email') and by pointing to the document_users section of get-document-info as the place to obtain valid values, which is discovery guidance the schema does not provide.

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 description opens with a specific verb and resource — 'Removes a user from a document entirely, revoking their access to it' — and immediately distinguishes the operation from its nearest sibling, delete-document-signatory, which only stops signing. An agent can tell which of the two to call without opening either 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?

Two explicit when-to-use bullets cover the realistic cases (offboarded collaborator, mistakenly added user), and an explicit exclusion routes the agent to delete-document-signatory when only signing rights should be revoked. It also states the guardrail (last owner removal is refused) and the self-removal consequence, so the agent knows the failure mode before calling.

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