Skip to main content
Glama
LaLiga Fantasy MCP

LaLiga Fantasy MCP

by odoral

fantasy_login_complete

Convert a login redirect URL or authorization code into session tokens to complete LaLiga Fantasy app authentication.

Instructions

Canjear el código de redirección del login por tokens de sesión.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "redirectUrlOrCode": "<redirectUrlOrCode>"
    },
    "name": "fantasy_login_complete"
  }
}

Input Schema

NameRequiredDescriptionDefault
redirectUrlOrCodeYesURL authredirect://... o código suelto

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false with destructiveHint=false, consistent with the description's implication that this establishes a session rather than destroying data. The description adds that the exchange yields session tokens, but says nothing about token lifetime, where they are stored, whether an existing session is replaced, or what errors a bad code produces.

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?

One short sentence, front-loaded with the action and the payload it produces, with zero filler. It is efficient but borders on under-specification given the authentication context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter authentication step with no output schema, the definition is minimally adequate, but an agent gets no statement of the flow order (after fantasy_login_start), no indication that a failure here means re-running the start step, and no hint of what the returned tokens look like.

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 100% and the single parameter already documents that it accepts an 'authredirect://...' URL or a bare code. The description restates that it is the login redirect code but adds no format, parsing, or matching detail beyond the schema, so the schema carries the weight.

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?

The description states a specific verb and resource: redeeming ('Canjear') the login redirect code in exchange for session tokens. That is clearly distinguishable from fantasy_login_start (which presumably issues the redirect) and fantasy_auth_status, though the description never names those siblings explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The phrase 'del login' implies this belongs to an authentication flow and should follow fantasy_login_start, but the description never states when to call it, when not to, or what happens if a stale/expired code is supplied. Usage is inferable rather than stated.

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