Skip to main content
Glama

Revoke Vendor Portal Access

revoke_vendor_portal_access
Destructive

Remove a supplier contact's vendor portal access: an active login can no longer sign in, and a pending invitation's emailed link stops working. Name the supplier (id or exact name) and the user by the id from list_vendor_portal_users or by email. Requires an operator (unpinned) credential and an Admin user.

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": {
      "supplier": "<supplier>",
      "user": "<user>"
    },
    "name": "revoke_vendor_portal_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesThe portal user: the id from list_vendor_portal_users, or their email.
previewNoStep 1 of the required two-step write: set true to validate and receive a structured preview plus a single-use previewReceipt. Nothing changes until the commit call.
supplierYesThe supplier's id (GUID) or exact name.
idempotencyKeyNoCaller-generated idempotency key; required with previewReceipt to commit.
previewReceiptNoStep 2 of the required two-step write: the receipt returned by the preview call. Supply together with a fresh idempotencyKey to commit; calls without it are refused.

Output Schema

NameRequiredDescriptionDefault
okNo
userNo
previewNo
emailSentNo
expiresAtNo
actionItemIdNo
confirmationNo
correlationIdNo
approvalResultNo
idempotencyKeyNo
previewReceiptNo
idempotentReplayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds real value on top: it says precisely what is destroyed (sign-in ability, pending invitation link) and states prerequisites the annotations cannot express — an operator (unpinned) credential and an Admin user. It does not say whether revocation is reversible or how access is restored, which is the remaining gap for a destructive write.

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?

Two sentences, front-loaded with the effect before the parameter and credential requirements; no filler. The credential sentence is slightly jargon-dense ('operator (unpinned) credential') but carries necessary information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive write with an output schema and fully-described parameters, the description covers outcome, identity of the target, and auth requirements adequately. The one notable omission is any reference to the required two-step preview/commit flow, which the agent must discover from the schema alone.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so supplier (id or exact name) and user (id or email) are already documented in the schema; the description only restates them plus the list_vendor_portal_users source. It says nothing about the preview/previewReceipt/idempotencyKey two-step commit parameters, leaving that entirely to the schema.

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?

Specific verb+resource ('Remove a supplier contact's vendor portal access') with the exact operational effect spelled out: an active login can no longer sign in, a pending invitation link stops working. It clearly distinguishes the tool from invite_vendor_user and list_vendor_portal_users, which it names as the source of the user id.

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?

Usage context is clear (revoking existing or pending portal access) and it explicitly routes the agent to list_vendor_portal_users for obtaining a user id. It stops short of an explicit when-not-to-use statement, e.g. preferring a different tool for suspending rather than revoking, or noting how access would be re-granted.

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