Skip to main content
Glama

login

Read-only

Starts an ID-porten sign-in for Oslo's Skolemelding app by opening the browser, then returns instructions to check progress with auth_status.

Instructions

Start signing in to Skolemelding via ID-porten (opens the browser) and return immediately with instructions. Pass redirect_url only to finish a sign-in that could not be handed back automatically. Check progress with auth_status. It does not modify anything in the school system.

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

Input Schema

NameRequiredDescriptionDefault
redirect_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint and openWorldHint, so safety is partly covered; the description adds genuinely new behavior: it opens a browser, returns immediately rather than blocking, and is an asynchronous first step whose completion must be polled. It also reassures that nothing in the school system is modified, consistent with readOnlyHint. It stops short of covering already-signed-in behavior or session lifetime.

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?

Four short sentences, front-loaded with the action and its side effect, then the parameter rule, then the follow-up tool, then a safety note. No sentence is redundant.

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 explains that the call returns immediately with instructions, which is the key return-value fact. Combined with the sibling pointer and the non-mutation note, an agent can drive the flow; only edge cases like an existing session are unaddressed.

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 0% and the schema only names a nullable string, so the description carries the load — and does, by explaining the precise condition under which redirect_url should be supplied. It does not state the expected URL format or origin, which keeps it from a 5.

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 and resource ('Start signing in to Skolemelding via ID-porten'), names the mechanism, and flags the side effect of opening a browser. It is clearly distinct from auth_status, which it explicitly routes the agent toward for progress checks.

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?

Gives an explicit conditional for the single parameter ('Pass redirect_url only to finish a sign-in that could not be handed back automatically') and names the follow-up tool ('Check progress with auth_status'). The agent knows both when to call this and what to do next.

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