MCP tools: player stats

Open
#255 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
api

Research direction

The payload names no files, so start with the dependencies: #251 (the MCP tool base), and the v0.4 stats operations in #55, #56 and #57, which must exist before any tool can wrap them. Read hard rule 2 and the reliability and demonstration labels on rating values. Done means one tool per operation that passes through its output unchanged, with labels kept, plus tests using recorded made-up responses.

Written by the indexing model from the issue text.

Description

area:api area:ratings enhancement priority:p2 size:S

Epic: #249

Problem: Free stats are what sets OPEN apart. Once the v0.4 stats endpoints exist, an assistant should be able to read them.

Scope:

  • One tool per stats operation: performance vs. expected (#55), partner and head-to-head summaries (#56), and percentile (#57)
  • Each tool returns what its operation returns and computes nothing itself (hard rule 2)
  • Tests with recorded made-up responses

Acceptance criteria:

  • Each v0.4 stats operation has a tool, and every rating value in its output keeps its reliability and demonstration label

Out of scope:

  • Rankings (#262), Club data (#263), and match prediction (#264)

Depends on: #251, #55, #56, #57

Size: S

Dominant language
Python
Stars
0
Forks
1
Avg merge
1h 7m
Merged PRs (30d)
206

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openpickleball/backend

All issues in openpickleball/backend

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.