# Get User Matchup Detail (`get_user_matchup_detail`)

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

One user's current or historical matchup with points, KPIs and daily hustle, diligence, preparation and leadership totals.

Load a user's current or historical league-play matchup with points, KPIs, and daily hustle/diligence/preparation/leadership totals. Use get_user_matchups first when the user asks about matchups in general (for example, "How are the matchups looking this week?"). Omit user_id when the user asks about their own matchup (for example, "How am I doing in my current matchup?"). Pass user_id for another teammate in the same performance-role leagues; admins may load any enterprise performance-role matchup unless they have only_my_performance_role. Omit matchup_date for today's matchup; pass an ISO date to select the matchup whose started_at/ended_at window contains that date.

- Scopes: `ai:read`
- Requires: AI, not available to Viewer users
- Access: User roles can load teammates in their performance-role leagues. Admins can load any enterprise matchup unless restricted to their own role.
- Example prompts: "How am I doing in my current matchup?"

### Parameters

- `user_id` (integer; optional): User ID. Omit when the user asks about their own matchup. User roles can load teammates in their performance-role leagues; admins can load any enterprise matchup.
- `matchup_date` (string; optional; YYYY-MM-DD): ISO date (YYYY-MM-DD) selecting the matchup whose started_at/ended_at window contains this date. Omit for the current date's matchup.

### Example request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_user_matchup_detail",
    "arguments": {
      "user_id": 7311,
      "matchup_date": "2026-09-24"
    }
  }
}
```

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

```json
{
  "user": {
    "id": 7311,
    "name": "Jordan Rivera",
    "title": "Field Representative",
    "role": "user",
    "is_active": true
  },
  "matchup": {
    "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",
    "is_final": false,
    "teams": [
      {
        "id": 3,
        "name": "Jordan Rivera",
        "title": "Field Representative",
        "organization_name": "Acme Beverage Co.",
        "performance_efficiency_rating": 1,
        "win_loss_tie_record": "4-1-0",
        "points": 12.0,
        "is_shadow": false,
        "last_six_matchup_results": "WWLWWW",
        "users": [
          {
            "id": 7311,
            "name": "Jordan Rivera",
            "role": "user"
          }
        ],
        "KPIs": [
          {
            "name": "Check-ins",
            "value": 12.0
          }
        ],
        "days": [
          {
            "days": 1,
            "day_name": "Monday",
            "hustle": 12.0,
            "diligence": 12.0,
            "preparation": 12.0,
            "leadership": 12.0
          }
        ]
      }
    ]
  },
  "meta": {
    "matchup_date": "2026-09-24"
  }
}
```

### Response fields

- `user` (object)
  - `id` (integer)
  - `name` (string | null)
  - `title` (string | null)
  - `role` (string)
  - `is_active` (boolean | null)
- `matchup` (object | null)
  - `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)
  - `is_final` (boolean)
  - `teams` (object[])
    - `id` (integer)
    - `name` (string | null)
    - `title` (string | null)
    - `organization_name` (string | null)
    - `performance_efficiency_rating` (integer | null)
    - `win_loss_tie_record` (string | null)
    - `points` (number)
    - `is_shadow` (boolean)
    - `last_six_matchup_results` (string | null)
    - `users` (object[])
      - `id` (integer)
      - `name` (string | null)
      - `role` (string)
    - `KPIs` (object[])
      - `name` (string)
      - `value` (number)
    - `days` (object[])
      - `days` (integer)
      - `day_name` (string)
      - `hustle` (number)
      - `diligence` (number)
      - `preparation` (number)
      - `leadership` (number)
- `meta` (object)
  - `matchup_date` (string): ISO8601 date used to select the matchup
- `message` (string, optional): Present when no matchup exists for the user on the selected date

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