# Get Performance Roles And Leaderboards (`get_performance_roles_and_leaderboards`)

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

Lists performance roles with their leagues (gold, silver and bronze leaderboards) and reward pools, flagging the caller's own role and league.

List performance roles and their leagues (gold/silver/bronze leaderboards) for the current user's enterprise. Each role includes id, name, and is_my_performance_role. Nested leagues include id, name, first_quarter_date, and is_my_league. Nested reward_pools include id, name, cadence, and pool_type. Use is_my_performance_role and is_my_league to answer "Which league am I in?" or "What is my performance role?". Pass a returned league id to get_user_matchups as league_id to load only that league's matchups, to get_user_leaderboards as league_id to rank that league by total performance points, or to get_user_calendar_quarter_rankings as league_id for that league's Standings. Pass a returned reward pool id to get_user_reward_pool_credit_rankings as pool_id; use cadence to choose the right pool for a period (monthly + period_offset 1 for last month). Users with only_my_performance_role see only their own role; others see all non-deleted roles in the enterprise.

- Scopes: `ai:read`
- Requires: AI, not available to Viewer users
- Access: Users restricted to their own performance role see only that role. Everyone else sees all roles in the enterprise.
- Example prompts: "Which league am I in?"

### Parameters

This tool takes no parameters.

### Notes

- Start here to get the league_id and pool_id values the other league-play tools accept.

### Example request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_performance_roles_and_leaderboards",
    "arguments": {}
  }
}
```

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

```json
{
  "performance_roles": [
    {
      "id": 5,
      "name": "Field Rep",
      "is_my_performance_role": true,
      "leagues": [
        {
          "id": 10,
          "name": "Gold League",
          "first_quarter_date": "2026-09-29",
          "is_my_league": true
        }
      ],
      "reward_pools": [
        {
          "id": 42,
          "name": "Monthly Reward Pool",
          "cadence": "monthly",
          "pool_type": "league"
        }
      ]
    }
  ]
}
```

### Response fields

- `performance_roles` (object[])
  - `id` (integer)
  - `name` (string | null)
  - `is_my_performance_role` (boolean)
  - `leagues` (object[])
    - `id` (integer)
    - `name` (string)
    - `first_quarter_date` (string | null): ISO8601 started_at of the league's earliest matchup
    - `is_my_league` (boolean)
  - `reward_pools` (object[])
    - `id` (integer)
    - `name` (string | null)
    - `cadence` (string): daily, weekly, monthly, quarterly, or yearly
    - `pool_type` (string): percentage_split, winner_take_all, or ranked_split

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