Skip to main content
Glama
LaLiga Fantasy MCP

LaLiga Fantasy MCP

by odoral

fantasy_login_start

Starts the LALIGA Fantasy OAuth (PKCE) login flow and returns a URL to open in the browser, so you can authenticate your account before completing sign-in.

Instructions

Iniciar login OAuth (PKCE) con la cuenta de LALIGA. Devuelve una URL para abrir en el navegador. Tras iniciar sesión, abre DevTools > Network (Preserva el registro), copia la URL 'authredirect://com.lfp.laligafantasy?code=...' de la petición cancelada y pásala a fantasy_login_complete.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and openWorldHint=false, so the agent knows this is a non-read, local operation, but they do not convey that the tool is only the first half of a two-step manual browser flow. The description adds substantive behavioral context: the result is a URL requiring human browser interaction and a DevTools workaround to capture the redirect code. It does not disclose code expiry, whether partial state is stored server-side, or what happens on repeated invocation.

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?

Three sentences, front-loaded with the action and result before the operational instructions. The DevTools/Network/Preserve-log detail is somewhat dense but is necessary for the agent to guide the user through capturing the redirect code, so it earns its place. Slightly tighter phrasing could reduce the procedural bulk.

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-parameter tool with no output schema, the description covers what is returned (an auth URL), what the human must do, and where the flow continues. Remaining gaps are edge behavior: handling of an already-authenticated state, authorization-code lifetime, and failure modes. Given the low complexity, those omissions are minor.

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 no parameter meaning to add and the baseline for an empty schema applies. Nothing in the description misleads about inputs, and it correctly frames the tool as argument-free.

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 names a specific verb and resource ('Iniciar login OAuth (PKCE) con la cuenta de LALIGA') and states the immediate output ('Devuelve una URL para abrir en el navegador'). It also names the sibling fantasy_login_complete as the follow-up step, so an agent can distinguish this initiation tool from the completion tool without consulting either 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?

The description gives explicit sequencing: start here, open the returned URL, then capture the 'authredirect://...code=...' URL from the cancelled request and pass it to fantasy_login_complete. That routes the agent correctly between the two login siblings. It stops short of stating prerequisites or when-not-to-use conditions (e.g., if a session already exists, or how fantasy_auth_status relates), which keeps it from a 5.

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