Skip to main content
Glama

Revoke profile access

revoke_profile_access
DestructiveIdempotent

Remove a member's granted access to a profile; they stop seeing it and its jobs. Admins keep seeing every profile regardless. Admins, and managers on profiles they reach — confirm with the user first. Succeeds even if no grant existed. For a pending invitee use revoke_profile_access_from_invitation. Returns {revoked: userId}.

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>",
      "userId": "<userId>"
    },
    "name": "revoke_profile_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProfile id, from list_profiles.
userIdYesThe member's user id, from list_profile_access.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint and idempotentHint, and the description goes beyond them: it explains that admins retain visibility regardless, that the operation is a no-op success when no grant existed, and what the response contains (`{revoked: userId}`). The confirmation guidance for privileged roles is behavioral context annotations cannot express.

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?

Effect, side effect, alternative, and return shape are all packed into a few front-loaded sentences with no filler. The clause "Admins, and managers on profiles they reach — confirm with the user first" is grammatically tangled and forces a re-read, which keeps it off a 5.

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 mutation with no output schema, the description covers the effect, the no-op behavior, the role-based exception, the confirmation requirement, and the return value. Nothing an agent needs in order 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.

Parameters3/5

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

Schema description coverage is 100% and both parameters carry their own descriptions and provenance hints (list_profiles, list_profile_access). The description adds no further meaning about id or userId, 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 ("Remove a member's granted access to a profile") and immediately describes the observable effect ("they stop seeing it and its jobs"). It explicitly distinguishes itself from the sibling revoke_profile_access_from_invitation, so an agent can separate the two 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?

Names the alternative tool and the condition that selects it ("For a pending invitee use revoke_profile_access_from_invitation"), and adds a confirmation precondition for admins and managers. It also tells the agent the call is safe to make when no grant exists, which removes a common hesitation about calling it.

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