Skip to main content
Glama

Get the status of an MCP OAuth sign-in

get_mcp_oauth_status
Read-onlyIdempotent

Poll a sign-in started by start_mcp_oauth: pending, ready, failed (with an error code), or expired (the time ran out or a monitor already used it).

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": {
      "connection": "<connection>"
    },
    "name": "get_mcp_oauth_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
connectionYesConnection id from start_mcp_oauth.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety profile is covered. The description adds real behavioral detail beyond them: the four terminal/intermediate states and, critically, that 'expired' covers both timeout and the case where a monitor already consumed the result — a single-use semantics quirk an agent could not infer. Polling cadence or whether 'pending' can transition is not stated.

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?

A single sentence that is front-loaded with the action and then lists the possible outcomes with parenthetical clarifications. Every clause carries information; nothing is redundant with the title.

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 correctly takes on the burden of describing return values by enumerating the states, and the annotations cover safety. The one remaining gap is operational — no guidance on polling interval or what an agent should do on 'pending' — which keeps it short of full completeness for a polling tool.

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?

There is only one parameter and schema coverage is 100%, with the schema itself already noting it is the connection id from start_mcp_oauth. The description reinforces the provenance ('started by start_mcp_oauth') but adds no format, validation, or error semantics beyond what the schema states, so the baseline of 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?

States a specific verb (poll) and resource (an MCP OAuth sign-in) and enumerates the exact result states: pending, ready, failed, expired. It also anchors itself to the sibling that produces the input ('started by start_mcp_oauth'), so the agent can place it in the flow without opening another 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?

The description makes the usage context unambiguous: this is the polling counterpart to start_mcp_oauth, so an agent knows to call it after starting a sign-in. It does not offer exclusions or compare against any alternative path, but there is no obvious sibling it needs to be routed away from.

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