Skip to main content
Glama

lethe_login_finish

Completes the Microsoft 365 sign-in flow started by the login step so mailbox header scanning can proceed; safe to call repeatedly.

Instructions

Microsoft 365 only: complete the sign-in started by lethe_login. Safe to call repeatedly.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, but 'Safe to call repeatedly' is a genuinely useful idempotency disclosure that an agent could not infer elsewhere. It stops short of describing what happens if no login was started, whether the call blocks or waits, or what failure states look like for an auth-mutating operation.

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?

Two short sentences, front-loaded with the provider restriction and the flow dependency. Nothing is padded or 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?

An output schema exists, so return values need no explanation, and the description covers scope, prerequisite, and repeat-safety. The remaining gap is failure and pending behavior for an auth step with no annotation coverage, which matters for an agent deciding whether to retry.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. No syntax or argument detail is required.

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?

Names a specific action ('complete the sign-in') and ties it to the sibling that starts the flow ('started by lethe_login'), so an agent can distinguish it from the initiation tool. The 'Microsoft 365 only' qualifier adds useful scoping, though the description never says what 'complete' concretely produces.

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?

'Microsoft 365 only' and 'started by lethe_login' give clear preconditions and identify the tool this must follow, which is the key when-guidance for a flow step. There are no explicit when-not conditions or pointers to lethe_auth_status for checking state afterward.

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