Skip to main content
Glama

MCP OAuth 2.1 Authorization Auditor

audit_mcp_oauth
Read-onlyIdempotent

Audit OAuth 2.1 authorization for MCP servers by validating RFC 9728 metadata, checking RFC 8707 audience binding, and assessing token-passthrough and confused-deputy risks.

Instructions

Audit MCP OAuth 2.1 authorization: validate RFC 9728 protected-resource-metadata, check RFC 8707 audience binding, and assess token-passthrough / confused-deputy risk. Use when a developer is securing an MCP server's authorization. Renders the interactive AINumbers tool as a widget; inputs are applied via the AIN Bridge and the tool runs client-side (zero PII, zero network).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsNoMap of tool input element IDs to values (see manifest input_schema). Applied via AIN Bridge prefill.
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds valuable behavioral context: the tool 'renders the interactive AINumbers tool as a widget, runs client-side (zero PII, zero network).' This explains execution model and security properties beyond annotations.

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?

The description is two sentences. The first sentence conveys the core purpose and technical specifics. The second adds behavioral and privacy details. No unnecessary words; information is front-loaded.

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 could be more explicit about what the audit produces (e.g., a report, risk score). However, it covers purpose, usage, behavioral traits, and privacy. The input schema is simple, and context signals indicate low complexity, so the description is mostly complete.

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% for the single 'inputs' parameter, which is described as a map of IDs to values applied via AIN Bridge prefill. The description adds context about the interactive widget but does not further clarify the parameter's meaning beyond the schema.

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 clearly states the tool audits MCP OAuth 2.1 authorization, specifying validations for RFC 9728, RFC 8707, and token-passthrough/confused-deputy risk. It distinguishes itself from sibling tools (e.g., scan_tool_poisoning, validate_mcp_server_json) by focusing on OAuth audit.

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?

The description explicitly says 'Use when a developer is securing an MCP server's authorization,' providing clear context. However, it does not mention when not to use the tool or suggest alternatives among sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PostOakLabs/ainumbers-mcp-apps'

If you have feedback or need assistance with the MCP directory API, please join our Discord server