Skip to main content
Glama

Revoke app access

revoke_app_access
DestructiveIdempotent

Takes back one person's invitation to an app, by the subject_or_email get_access lists under grants: their invite address, or their account id once they have signed in. A revoked account stays refused on this app, even when it is public or reached by link, until it is invited again.

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": {
      "app_id": "<app_id>",
      "subject_or_email": "<subject_or_email>"
    },
    "name": "revoke_app_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesthe app to take access back on, from a reply or list_apps
subject_or_emailYesthe invite address or account id exactly as get_access lists it under grants

Output Schema

NameRequiredDescriptionDefault
accessYesthe change this call made, not the app's state; get_access reports the state

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: revocation persists across public visibility and link access and is lifted only by a new invitation. It says nothing, however, about what happens if the subject is not present in grants or what the response contains.

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 action, with no filler. The first sentence is somewhat dense ('by the subject_or_email get_access lists under grants'), but every clause carries 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?

With rich annotations and an output schema, the description only needs to establish the action, the identifier source, and the persistence behavior, and it does all three. Minor gaps remain around failure modes for unknown subjects, which is acceptable given the structured data already supplied.

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 both parameters are already documented, and the description largely echoes the schema ('invite address or account id exactly as get_access lists it'). The only added nuance is that the account-id form applies after the person has signed in, which is marginal over the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource ('takes back one person's invitation to an app') and scopes it to a single subject, which implicitly separates it from link-wide revocation. It does not explicitly name revoke_app_link or get_access as the routing alternative, so the sibling differentiation is suggestive rather than stated.

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?

It gives concrete operational context: the subject must come from get_access's grants list, and the identifier form changes once the invitee has signed in. It stops short of explicit when-not-to-use guidance (e.g., 'to revoke link-based access, use revoke_app_link instead').

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.