Skip to main content
Glama

hub_sign_in

Read-onlyIdempotent

Sign in to MOGA Hub to publish content; searching and importing require no account. Opens a verification page, then optionally waits for confirmation to keep the session active.

Instructions

Sign in to MOGA Hub to publish (searching and importing need no account). Returns a code and the page to confirm it on (verification_uri_complete: open it; the person signs in with Google or GitHub there). With wait (the CLI default when run in a terminal), it waits for the confirmation and keeps the session in the MOGA home; otherwise finish with hub_sign_in_check.

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": "hub_sign_in"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNoWait here until the code is confirmed (up to its expiry)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare a safe, idempotent, non-destructive read; the description adds real behavior beyond that: it returns a code plus verification_uri_complete, the human authenticates with Google or GitHub in the browser, and with wait the session is persisted in the MOGA home. It omits edge behavior such as code expiry handling and re-invocation semantics (and local session persistence is worth flagging against readOnlyHint), so it is strong but not complete.

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?

Front-loaded with purpose and eligibility, then return shape, then branching behavior; every clause carries information. The nested parentheses around verification_uri_complete and the wait default make it denser than it needs to be, but nothing is wasted.

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?

No output schema exists, and the description covers the return contract (code plus confirmation page) and the two completion paths, which is exactly what an agent needs to call it and know what to do next. Nothing essential for correct invocation is missing.

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

Parameters4/5

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

Schema coverage is 100% and the single wait parameter is already documented as blocking up to expiry, so the baseline is high. The description adds genuine meaning by noting that wait is the CLI default when run in a terminal, which the schema does not convey.

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?

Specific verb plus resource ('Sign in to MOGA Hub') immediately scoped by what it unlocks ('to publish') and what does not need it ('searching and importing need no account'). An agent can distinguish this from hub_sign_out, hub_me and the rest of the hub_* family without opening the 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?

Explicitly states the condition for use (publishing), the exclusion (search and import need no account), and routes the two flows: with wait, block; without wait, finish via hub_sign_in_check. The alternative tool is named with the condition that selects it.

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

Deploy Server

Other Tools