Skip to main content
Glama
FPL Assistant

FPL Assistant

by mpvii

optimize_lineup

Generate a valid Fantasy Premier League starting XI, bench order, captain, and vice for the next gameweek from your saved squad and transfer data.

Instructions

Best valid starting XI, bench order, captain and vice for the next gameweek.

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

Input Schema

NameRequiredDescriptionDefault
horizonNo
entry_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it. It does not say whether the result is read-only, whether it mutates the user's saved lineup, what happens when entry_id is omitted, or which leagues/rules the 'valid' constraint enforces.

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?

A single front-loaded sentence with no filler; the output elements are enumerated compactly. It is efficient, though the brevity is partly the source of the missing parameter and behavior detail.

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

Completeness2/5

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

No annotations, no output schema, and two undocumented parameters with non-obvious semantics. For an optimization tool whose results depend on entry_id and horizon, the definition leaves an agent without enough to invoke it confidently.

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

Parameters2/5

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

Schema description coverage is 0% for both parameters and the description compensates for neither. Crucially, horizon defaults to 5 while the description promises a lineup for 'the next gameweek', leaving an agent unable to tell whether horizon truncates or extends the optimization window, and silent on whether entry_id is required or defaulted.

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 names the concrete output set: starting XI, bench order, captain and vice, scoped to 'the next gameweek'. That is specific enough for an agent to know it produces a full lineup recommendation rather than analysis (analyze_my_squad) or a transfer plan (suggest_transfers), though it never explicitly contrasts with the similarly named draft_lineup sibling.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives. An agent must infer from the name alone that this is the 'pick my team' tool rather than the drafting or squad-analysis siblings.

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