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

List OAuth clients connected to this server

oauth_list_grants
Read-onlyIdempotent

List OAuth clients connected to this MCP server with their scopes, approval dates, last call times, and call counts; run it before revoking access or to audit who is connected.

Instructions

Which clients hold an OAuth token for this MCP server: client name, scope (mcp:full = every tool including writes, mcp:read = read-only), when it was approved, when it last called and how many calls it made. Run it before oauth_revoke_grant, or whenever you want to know who is connected. Needs the HTTP instance with SEO_MCP_OAUTH=1; the operator's own MCP_AUTH_TOKEN is not a grant and never appears here.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "oauth_list_grants"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeRevokedNoAlso list grants that were revoked or whose refresh token expired.

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.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, but the description adds real context: the meaning of the scope values (mcp:full vs mcp:read), the environment prerequisite, and the important exclusion that the operator's own MCP_AUTH_TOKEN is not a grant and never appears. It does not say what happens if the OAuth prerequisite is unmet (empty list vs error), which keeps it short of a 5.

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?

It front-loads the purpose and packs scope semantics, ordering advice and the auth caveat into three sentences with no filler. The first sentence is dense with a comma series of return fields, but every element is informational rather than redundant.

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 no output schema, the description usefully compensates by listing the exact fields returned, and it covers prerequisites and the read-vs-write scope distinction. Gaps remain around result volume/pagination and error behavior when OAuth is disabled, but nothing essential to correct invocation 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 coverage is 100% and includeRevoked already carries a description covering revoked and expired-refresh-token grants. The prose never mentions this parameter or clarifies whether revoked grants are otherwise hidden, so it adds no meaning beyond the schema — the baseline 3 applies.

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?

The description names a precise resource (OAuth token holders for this MCP server) and enumerates exactly what is returned: client name, scope, approval time, last call, call count. It is readily distinguishable from oauth_revoke_grant 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?

It states two explicit use conditions — 'Run it before oauth_revoke_grant' and 'whenever you want to know who is connected' — and names the sibling tool it should precede. It also gives the deployment prerequisite (HTTP instance with SEO_MCP_OAUTH=1), so the agent knows when the tool is even applicable.

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