Skip to main content
Glama

oauth_login

Authorize the OAuth 2.1 PKCE bridge to hi3d.ai in your browser and store tokens securely, unlocking 2D/multi-view generation, exact quotes, and task history with your subscription credits.

Instructions

Authorize the official OAuth 2.1 PKCE bridge to https://agent.hi3d.ai/mcp in the browser and store tokens securely (macOS Keychain or ~/.config/hi3d-studio-mcp/oauth.json mode 0600). Unlocks 2D/multi-view generation, exact quotes, and task history using your website subscription credits.

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_login"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeout_sNo
open_browserNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that a browser flow is involved, that tokens are persisted to macOS Keychain or a 0600 file at ~/.config/hi3d-studio-mcp/oauth.json, and that website subscription credits are consumed. It omits failure/timeout behavior, whether an existing token is reused or overwritten, and token lifetime, which keeps it from 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?

Two dense sentences, front-loaded with the action and endpoint, followed by storage location and capability payoff. There is no filler, though the closing benefit list sits closer to marketing copy than to operational guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an unannotated, credential-establishing tool with no output schema, the description covers storage and payoff but leaves real gaps: the interactive/blocking nature, timeout semantics, overwrite-vs-reuse of existing tokens, and what the caller should expect on failure or user cancellation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for two parameters, so the description needed to compensate and largely does not. It never mentions timeout_s or what happens when the 180s default is exceeded, and 'in the browser' only obliquely gestures at open_browser without explaining the headless/no-browser case.

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?

States a specific verb and resource: 'Authorize the official OAuth 2.1 PKCE bridge to https://agent.hi3d.ai/mcp'. It also names what the authorization unlocks (2D/multi-view generation, quotes, task history), so an agent knows the downstream value. It does not explicitly contrast with the sibling auth_login_web, so it stops short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied: the 'Unlocks ...' clause tells the agent what becomes available after authorization, which indirectly signals when to call it. There is no explicit when-to-use/when-not, no mention of checking oauth_status first, and no statement about re-running when tokens already exist.

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