# Get User Matchups (`get_user_matchups`)

Part of the [Outfield MCP Server](https://run.outfieldapp.com/docs/mcp) docs. All tools: [llms.txt](https://run.outfieldapp.com/docs/mcp/llms.txt). Server URL: https://run.outfieldapp.com/mcp

League-play matchups for the current week (or the week containing matchup_date) with teams, points and nested user names.

List league-play matchups for the current week (or a given date), including each matchup's league, performance role, teams, points, and nested user names. User roles see matchups in their performance-role leagues; admins see all enterprise leagues unless they have only_my_performance_role, in which case they see only their role. Omit matchup_date for today's matchups; pass an ISO date to select matchups whose started_at/ended_at window contains that date. Pass league_id from get_performance_roles_and_leaderboards to return only that league's matchups; omit it to keep the default league set. Returns up to 15 matchups per call, ordered by matchup ID. When meta.has_more is true, call again with cursor set to meta.next_cursor to fetch the next page. Use a nested user ID with get_user_matchup_detail for KPIs and daily hustle/diligence/preparation/leadership totals.

- Scopes: `ai:read`
- Requires: AI, not available to Viewer users
- Access: User roles see matchups in their performance-role leagues. Admins see all enterprise leagues unless restricted to their own role.
- Example prompts: "How are the matchups looking this week?"

### Parameters

- `matchup_date` (string; optional; YYYY-MM-DD): ISO date (YYYY-MM-DD) selecting matchups whose started_at/ended_at window contains this date. Omit for the current date's matchups.
- `league_id` (integer; optional): League id from get_performance_roles_and_leaderboards. When set, only matchups in that league are returned. Omit to include all leagues the user can access.
- `limit` (integer; optional): Max matchups returned per page. Default 15, max 15
- `cursor` (string; optional): Opaque pagination cursor from a previous response's meta.next_cursor. Pass this to fetch the next page when meta.has_more is true.

### Notes

- Returns up to 15 matchups per page, ordered by matchup id.

### Example request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_user_matchups",
    "arguments": {
      "matchup_date": "2026-09-24",
      "league_id": 10
    }
  }
}
```

### Example response (`structuredContent`, illustrative data)

```json
{
  "matchups": [
    {
      "id": 6120,
      "calendar_quarter": "2026 Q3",
      "week": 39,
      "started_at": "2026-09-29T14:30:00-05:00",
      "ended_at": "2026-09-29T15:30:00-05:00",
      "league_id": 10,
      "league_name": "Gold League",
      "performance_role_name": "Field Rep",
      "is_final": false,
      "teams": [
        {
          "id": 3,
          "name": "Jordan Rivera",
          "title": "Field Representative",
          "performance_efficiency_rating": 1,
          "win_loss_tie_record": "4-1-0",
          "points": 12.0,
          "is_shadow": false,
          "users": [
            {
              "id": 7311,
              "name": "Jordan Rivera",
              "role": "user"
            }
          ]
        }
      ]
    }
  ],
  "meta": {
    "limit": 25,
    "has_more": false,
    "next_cursor": null,
    "matchup_count": 1,
    "matchup_date": "2026-09-24"
  }
}
```

### Response fields

- `matchups` (object[])
  - `id` (integer)
  - `calendar_quarter` (string)
  - `week` (integer)
  - `started_at` (string): ISO8601 matchup start
  - `ended_at` (string): ISO8601 matchup end
  - `league_id` (integer)
  - `league_name` (string)
  - `performance_role_name` (string | null)
  - `is_final` (boolean)
  - `teams` (object[])
    - `id` (integer)
    - `name` (string | null)
    - `title` (string | null)
    - `performance_efficiency_rating` (integer | null)
    - `win_loss_tie_record` (string | null)
    - `points` (number)
    - `is_shadow` (boolean)
    - `users` (object[])
      - `id` (integer)
      - `name` (string | null)
      - `role` (string)
- `meta` (object)
  - `limit` (integer)
  - `has_more` (boolean)
  - `next_cursor` (string | null): Opaque cursor for the next page; null when has_more is false
  - `matchup_count` (integer)
  - `matchup_date` (string): ISO8601 date used to select matchups

Related tools: [get_performance_roles_and_leaderboards](https://run.outfieldapp.com/docs/mcp/tools/get_performance_roles_and_leaderboards.md), [get_user_matchup_detail](https://run.outfieldapp.com/docs/mcp/tools/get_user_matchup_detail.md)
