Skip to main content
Glama

minerva_login

Read-only

Signs in to Minerva or refreshes an expired session, opening the university sign-in page when user action is needed; users enter passwords only in their browser or terminal.

Instructions

Sign in to Minerva or refresh an expired session. Call this whenever a Minerva tool says the session expired or you are not signed in. Each saved account has its own sign-in; with several, pass account (the user is asked when you leave it out). It first refreshes silently (a few seconds, no window). If the user has to sign in, it opens the University sign-in page in their default browser: tell the user a browser window opened and ask them to sign in there. If the result says waitingForUser, call again after the user says they are done. On a machine with no display it returns the terminal command the user should run to sign in there. Never ask the user for their password; they type it in the browser or their own terminal.

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

Input Schema

NameRequiredDescriptionDefault
accountNoSaved account to use (see minerva_list_accounts). Only needed when several accounts are saved and the user has not chosen one yet.
newAccountNoSign in someone else and save them as another account
waitSecondsNoHow long to wait for the sign-in to finish before returning (default 45, which fits the 60 s default tool timeout of Codex)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

The description adds substantial behavior beyond the annotations: silent refresh with no window, opening the University sign-in page, telling the user a browser window opened, retrying after waitingForUser, headless terminal fallback, and never asking for the password. These details directly address authentication side effects and user interaction requirements.

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 purpose and primary trigger are front-loaded, and the remaining sentences cover browser flow, waitingForUser retries, headless fallback, and password safety. The description is dense but well structured, with every sentence supporting correct invocation or user handling.

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?

Although there is no output schema, the description explains the important result state waitingForUser and the no-display fallback command. It covers the decision points an agent needs for this authentication tool, including session-expiry triggers and user-facing instructions.

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?

All three parameters already have schema descriptions, so the baseline is 3, but the description adds meaning by explaining that account selects among saved accounts and that the user is prompted when account is omitted. It does not add comparable detail for waitSeconds or newAccount in the main description, so it is not fully comprehensive.

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 states a specific action and resource: sign in to Minerva or refresh an expired session. It also makes clear that this is the authentication entry point for Minerva tools and references saved accounts, which distinguishes it from sibling account-listing and account-selection tools.

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 explicitly says to call this whenever a Minerva tool reports that the session expired or the user is not signed in. It also explains multiple-account handling, what to do when the result is waitingForUser, and how to notify the user about the browser sign-in flow.

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