# Get User Reward Pool Credit Rankings (`get_user_reward_pool_credit_rankings`)

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

Ranks users in a Reward Pool by estimated or distributed reward credits, the same ranking as Reward Pools in League Play.

Rank users in a Reward Pool by estimated or distributed reward credits. This is the same ranking as Reward Pools in League Play. Omit pool_id and period_offset to rank the requester's current default pool (the first active pool on their performance role) for the current period. Pass pool_id from get_performance_roles_and_leaderboards to rank a specific pool. period_offset is relative to the selected pool's cadence, not calendar months: 0 is the current in-progress period, 1 is the previous complete period. To answer "last month", choose a monthly pool from get_performance_roles_and_leaderboards (prefer is_my_performance_role) and pass period_offset 1. Users with only_my_performance_role can only rank pools on their own role; unrestricted admins can rank any enterprise pool they can see. Returns up to 25 users per call, ordered by estimated credits. meta.my_user always includes the requester's id, rank, eligible_points, share_percent, and estimated_credits even when that user is not on the current page. When meta.has_more is true, call again with cursor set to meta.next_cursor to fetch the next page.

- Scopes: `ai:read`
- Requires: AI, not available to Viewer users
- Example prompts: "Who's leading the monthly reward pool?"; "How did I rank in last month's reward pool?"

### Parameters

- `pool_id` (integer; optional): Reward pool id from get_performance_roles_and_leaderboards. When set, that pool is ranked. Omit to default to the first active pool on the requester's performance role.
- `period_offset` (integer; optional): Non-negative number of cadence periods to look back, max 500. 0 (default) is the current period of the selected pool. 1 is the previous period of that pool's cadence (last month only when the pool is monthly).
- `limit` (integer; optional): Max users returned per page. Default 25, max 25
- `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

- period_offset counts back in the pool's own cadence: 0 is the in-progress period and 1 is the previous complete period. "Last month" therefore needs a monthly pool.
- meta.my_user always contains the requester's rank, eligible points, share and estimated credits.

### Example request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_user_reward_pool_credit_rankings",
    "arguments": {
      "pool_id": 42,
      "period_offset": 1
    }
  }
}
```

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

```json
{
  "users": [
    {
      "id": 7311,
      "name": "Jordan Rivera",
      "title": "Field Representative",
      "rank": 2,
      "eligible_points": 12.0,
      "share_percent": 12.0,
      "estimated_credits": 1,
      "is_my_user": true
    }
  ],
  "meta": {
    "limit": 25,
    "has_more": false,
    "next_cursor": null,
    "user_count": 1,
    "pool_id": 42,
    "pool_name": "Monthly Reward Pool",
    "cadence": "monthly",
    "pool_type": "league",
    "period_offset": 1,
    "period_start_at": "2026-09-29T14:30:00-05:00",
    "period_end_at": "2026-09-29T15:30:00-05:00",
    "period_label": "September 2026",
    "my_user": {
      "id": 7311,
      "rank": 2,
      "eligible_points": 12.0,
      "share_percent": 12.0,
      "estimated_credits": 1
    }
  }
}
```

### Response fields

- `users` (object[])
  - `id` (integer)
  - `name` (string | null)
  - `title` (string | null)
  - `rank` (integer | null): Pool rank/position by eligible points; null when the user has no eligible points. For ranked_split pools, equal-point ties are broken by created_at then user_id so users get distinct ranks (1, 2, ...) matching paid placement. Other pool types use a dense rank (tied points share a rank).
  - `eligible_points` (number)
  - `share_percent` (number | null): Share of the pool; null for winner-take-all or users with no share
  - `estimated_credits` (integer)
  - `is_my_user` (boolean)
- `meta` (object)
  - `limit` (integer)
  - `has_more` (boolean)
  - `next_cursor` (string | null): Opaque cursor for the next page; null when has_more is false
  - `user_count` (integer)
  - `pool_id` (integer | null): Selected reward pool id
  - `pool_name` (string | null)
  - `cadence` (string | null): daily, weekly, monthly, quarterly, or yearly
  - `pool_type` (string | null): percentage_split, winner_take_all, or ranked_split
  - `period_offset` (integer)
  - `period_start_at` (string | null): ISO8601 start of the selected pool period
  - `period_end_at` (string | null): ISO8601 end of the selected pool period
  - `period_label` (string | null)
  - `my_user` (object | null)
    - `id` (integer)
    - `rank` (integer | null): Pool rank/position by eligible points; null when the user has no eligible points. For ranked_split pools, equal-point ties are broken by created_at then user_id so users get distinct ranks (1, 2, ...) matching paid placement. Other pool types use a dense rank (tied points share a rank).
    - `eligible_points` (number)
    - `share_percent` (number | null)
    - `estimated_credits` (integer)
- `message` (string, optional): Present when no pool is selectable, the pool is inactive for the period, or historical credits were not distributed

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