Skip to main content
Glama
google-seo-mcp
by Akxan

Revoke an OAuth client's access

oauth_revoke_grant
Destructive

Revoke an OAuth client grant to immediately invalidate its access and refresh tokens, forcing reapproval on the next call. Use the grant id from oauth_list_grants.

Instructions

Cut off one OAuth client immediately: its access and refresh tokens stop working on the next call and it has to go through the approval page again. Take the id from oauth_list_grants. Never touches the operator's MCP_AUTH_TOKEN or a hosted user's own token.

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

Input Schema

NameRequiredDescriptionDefault
idYesGrant id as oauth_list_grants reports it.
dryRunNoReport which grant would be revoked, without revoking it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Addedv0.10.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description adds consequence-level detail that annotations cannot convey: access and refresh tokens die on the next call, and the client must re-enter the approval flow. It also carves out explicit safety boundaries (operator MCP_AUTH_TOKEN, hosted user's own token), which is exactly the context an agent needs before firing an irreversible call.

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?

Three short sentences with zero filler: effect first, identifier provenance second, safety boundary last. Each sentence carries distinct, load-bearing information.

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 full schema coverage and no output schema, the description supplies effect, source of the identifier, and non-targets. Nothing required 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%, so both id and dryRun are already documented, and the description's note that the id comes from oauth_list_grants largely restates the schema's "Grant id as oauth_list_grants reports it." The dryRun escape hatch is never mentioned in prose, so no meaningful semantic value is added beyond the schema baseline.

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?

"Cut off one OAuth client" names a specific verb and resource, and the following clause pins the exact scope to a single client rather than all grants. That scope statement is what separates it from the sibling oauth_list_grants, so an agent can choose between them 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Take the id from oauth_list_grants" gives an explicit precondition and routes the agent to the correct sibling for obtaining the identifier. The "Never touches..." sentence establishes a clear exclusion boundary against the operator token and hosted user tokens. It stops short of saying when to prefer dryRun first or when revocation is inappropriate, so it is not a full when/when-not map.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.