Skip to main content
Glama

Update document user

update-document-user
DestructiveIdempotent

Changes a document user's access level (role), party or details, or sends them their invitation email.

Use this tool when:

  • Someone's access to a document should change, e.g. a viewer who should now be able to edit becomes a collaborator

  • A document user should be moved to a different party on the document

  • An external document user's name or title is wrong or missing

  • A document user who was added without an invitation email should now be invited (mode send_invitation)

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

With mode update (the default), send only the arguments that should change. Changing the role never changes whether the user signs: a signatory demoted to viewer remains a signatory, so use the signatory tools to manage signing. Only users with a fynk account in this account (internal_user true) can be owners, and a document always keeps at least one owner. The name and title of an internal user come from their fynk profile and cannot be changed here.

With mode send_invitation, the user is emailed an invitation to the document straight away, optionally with an invitation_message; no other arguments are accepted. Confirm with the user before sending it. Each document user can be sent an invitation via this tool or create-document-user only once: a user who has already been invited (by email, or by fynk when signing started) is refused, and there is no way to resend it here. A user without a fynk account user in this account (internal_user false) cannot be invited while the document is in the draft or approved_draft stage.

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": "update-document-user"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoWhat the call does. "update" changes the user with the arguments sent. "send_invitation" emails the user an invitation to the document, and accepts only invitation_messageupdate
roleNoThe user's new access level on the document. Only users with internal_user true can be owners
emailYesEmail address of the document user to update
titleNoNew job title. Cannot be changed if internal_user is true
last_nameNoNew last name. Cannot be changed if internal_user is true
first_nameNoNew first name. Cannot be changed if internal_user is true
document_uuidYesUUID of the document the user belongs to. If you don't already have the document's UUID, use the list-documents tool to find it.
party_identifierNoIf given, moves the user to this party. Must be a ref_uuid, reference, or entity_name of an existing party in the document
invitation_messageNoAn extra note shown in the invitation email, up to 2000 characters and without links. The email presents it as a message from the user (or from the account, if it hides who sent an email), so write it in the user's voice. Only with mode send_invitation. Without it, a person without a fynk user in this account gets the document's external_reviewer_invitation_message (in the document_users section of get-document-info), if one is set: read it before writing your own

Output Schema

NameRequiredDescriptionDefault
nameNoName of the document user
roleNoThe user's access level on the document. Independent of is_signatory: a viewer may also be a signatory
uuidNoDo not show to the user unless they ask for it
emailNoEmail of the document user
party_uuidNoUUID of the party this user belongs to. Absent when they belong to none. Do not show to the user (as the raw UUID) unless they ask for it
_entity_typeNoOnly relevant for tooling. Do not show to the user
is_signatoryNotrue if the user is also a signatory of the document
internal_userNotrue if the user has a fynk user in this account
invitation_statusNoWhether the user has been invited to the document, as prose that can be presented to the user

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, idempotentHint=true) by explaining consequences: a demoted signatory remains a signatory, a document always keeps at least one owner, internal users' name/title come from their fynk profile and cannot be changed here. It also discloses the one-shot invitation rule (no resend), the draft/approved_draft restriction for external users, and the requirement to confirm with the user before sending.

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-loads the one-line purpose, then organizes guidance into scannable bullets and separates mode-specific behavior into distinct paragraphs. The closing paragraphs are dense and could be tightened, but nearly every sentence carries operational constraints an agent needs.

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 9-parameter mutation tool with an output schema and destructive annotations, the definition covers permissions, invariants (one owner minimum), mode restrictions, discovery tooling, and confirmation requirements. Nothing an agent needs to call it correctly is missing.

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 meaning: with mode=update send only the arguments that should change, and with mode=send_invitation no arguments beyond invitation_message are accepted. It also explains how party_identifier and invitation_message interact with document state, which the schema only partially conveys.

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?

Names a specific verb and resource ("Changes a document user's access level (role), party or details") and enumerates the distinct operations covered, including the send_invitation mode. An agent can separate this from create-document-user and update-document-party without opening any 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?

Provides an explicit "Use this tool when:" list of four concrete situations, names get-document-info as the discovery path for document_uuid and email, and tells the agent that invitations can also arrive via create-document-user. It also states an exclusion: use the signatory tools to manage signing rather than this tool.

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