Skip to main content
Glama

Revoke an invitee's profile access

revoke_profile_access_from_invitation
DestructiveIdempotent

Withdraw a profile prepared for a pending invitation, so the invitee will not get it on accepting; the invitation itself stays open. Admin only — confirm with the user first. Succeeds even if no grant existed. For a member who has already joined use revoke_profile_access. Returns {revoked: invitationId}.

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": {
      "id": "<id>",
      "invitationId": "<invitationId>"
    },
    "name": "revoke_profile_access_from_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProfile id, from list_profiles.
invitationIdYesThe pending invitation id, from list_profile_invited_access.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by clarifying what destructiveHint=true does not destroy (the invitation stays open), that the call is a safe no-op when no grant exists (succeeds even if no grant existed), and that admin authorization plus user confirmation are required. It also discloses the return payload, which no output schema provides.

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?

A single tight block that front-loads the action and outcome, then layers the sibling routing, authorization, idempotency, and return shape. Every clause carries distinct information with no redundant restatement of the tool name.

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 two-parameter destructive mutation with no output schema, the description covers authorization, confirmation, idempotent behavior, side-effect scope, sibling alternative, and return value. Nothing an agent needs before calling is missing.

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% and both UUID parameters are documented in the schema, including their provenance tools (list_profiles, list_profile_invited_access). The description adds no parameter-level meaning, so the baseline of 3 is appropriate.

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 ('withdraw a profile prepared for a pending invitation') and the precise outcome ('invitee will not get it on accepting; the invitation itself stays open'). It explicitly separates itself from the sibling revoke_profile_access by naming the joined-member case, so an agent can disambiguate 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?

Gives an explicit routing rule ('For a member who has already joined use revoke_profile_access'), a permission constraint ('Admin only'), and a procedural prerequisite ('confirm with the user first'). Nothing about when to select this tool is left to inference.

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