Skip to main content
Glama

Compare players

compare_players
Read-onlyIdempotent

Use this for any Fantasy Premier League (FPL) question between two or three players, however it is written: 'Saka vs Palmer', 'Saka or Palmer?', 'who is better', one transfer for another, or whether a -4 hit is worth it. Expected points over the coming gameweeks, form, price and ownership side by side.

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

Input Schema

NameRequiredDescriptionDefault
namesNo2-3 player names
horizonNoHow many gameweeks ahead to count (1-8).
playersNoSame as names

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / names / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "maxLength": 60,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "maxLength": 200,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / names / default
      Added value: +null
    • removedInput schema / properties / names / items
      Removed value: -{
      -  "maxLength": 60,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedInput schema / properties / names / maxItems
      Removed value: -10
    • removedInput schema / properties / names / type
      Removed value: -"array"
    • addedInput schema / properties / players
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "maxLength": 60,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "maxLength": 200,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Same as names",
      +  "title": "Players"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "names"
      -]
  2. Changed5 schema fields changed
    • removedInput schema / properties / horizon / maximum
      Removed value: -8
    • removedInput schema / properties / horizon / minimum
      Removed value: -1
    • changedInput schema / properties / names / items / maxLength
      Previous value: -40New value: +60
    • changedInput schema / properties / names / maxItems
      Previous value: -3New value: +10
    • removedInput schema / properties / names / minItems
      Removed value: -2
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered; the description adds what the operation actually surfaces (side-by-side expected points, form, price, ownership). It does not discuss ambiguous input handling or failure modes, but for a read-only comparison the remaining behavioral gap is small.

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 routing condition, then illustrative phrasings, then the outputs. The quoted example variants earn their place by signaling natural-language tolerance, though the list of paraphrases is slightly longer than strictly necessary.

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?

There is no output schema, so the description's enumeration of returned fields is genuinely valuable and makes the tool callable without guessing. However, it leaves a real ambiguity unresolved: both 'names' and 'players' exist in the schema marked 'Same as names,' and the description gives no guidance on which to use, what happens outside the 2-3 range, or how the horizon default of 5 affects results.

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 description coverage is 100%, so the baseline is 3. The description corroborates the input shape by stating 'two or three players' and implying that the horizon drives the 'coming gameweeks' window, but it adds no format or disambiguation detail beyond the schema and never addresses the redundant names/players duo.

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?

Names a specific verb and resource (compare two or three players) and enumerates the comparison dimensions returned: expected points over the coming gameweeks, form, price and ownership side by side. This clearly separates it from single-player siblings like get_player or find_players, which an agent can tell apart without opening any 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?

Strong trigger guidance: 'Use this for any Fantasy Premier League (FPL) question between two or three players, however it is written,' followed by concrete phrasings including transfer swaps and -4 hit evaluation. The 'two or three' bound implicitly excludes single-player or squad-wide questions, but no alternative sibling is named explicitly for those cases.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources