Skip to main content
Glama
FPL Assistant

FPL Assistant

by mpvii

login

Signs in to FPL through a real browser to pass bot checks, then stores the refresh token in Keychain so authenticated team tools can work.

Instructions

Sign in to FPL for you, by driving a real browser window.

FPL's login sits behind a bot check that rejects a hidden browser, so this opens Chromium in your desktop session and drives the real sign-in: if your FPL password is already in the Keychain it is filled and submitted for you, otherwise you type it in the window (and clear any check FPL asks for). The refresh token it captures is stored in the Keychain, which is what the authenticated tools read - so the team tools go live afterwards. This never writes to your FPL account; it only signs in.

Normally takes 15-30 seconds (longer if FPL asks for a check). If it reports already_signed_in and you want a fresh session, pass force=true. headless stays off because the bot check fails a hidden browser. To save a password you would type, run fpl login --save-password once in a terminal - the tool cannot capture what you type into the window.

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
emailNo
forceNo
timeoutNo
headlessNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/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 so thoroughly: it discloses the visible-browser side effect, the 15-30s duration, why headless fails (bot check), where the captured refresh token is stored (Keychain), and explicitly that nothing is written to the FPL account. These are exactly the behavioral traits an agent needs before triggering a GUI-driven flow.

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 the purpose and mechanism, then progressively adds operational detail. Most sentences earn their place, though the closing note about `fpl login --save-password` is somewhat tangential and could be trimmed.

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?

For a zero-annotation, no-output-schema tool with 4 parameters, the description covers mechanism, timing, token storage, failure signals, and account safety. It stops short of explaining the timeout parameter or what a successful return value contains.

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

Parameters3/5

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

Schema coverage is 0%, so the description must compensate. It adds real meaning for force (overrides already_signed_in) and headless (must stay off due to bot check), but email and timeout (default 120s) are never explained, leaving half the parameters undocumented anywhere.

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 ("Sign in to FPL") and immediately explains the mechanism (driving a real browser window), which distinguishes it from auth_status and logout among the siblings. The agent can tell exactly what this tool accomplishes 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 Guidelines4/5

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

Gives concrete conditional guidance: pass force=true when it reports already_signed_in, keep headless off, and use `fpl login --save-password` in a terminal to persist a password. It does not explicitly name auth_status as the cheaper check-first alternative, but the conditions for invoking this tool are clear.

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