Holdsport (SportMember) MCP by usefulapi
v1.2.1Read teams, members, notes and activities, and set your attendance in Holdsport.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
holdsport_get_user_profile Get user profile
The profile of the user this connection acts as: name, id, addresses and contact fields. GET /user.
holdsport_list_admin_profiles List administered profiles
The profiles this user administers, with their ids. The first entry is the user's own profile. Only a club admin gets more entries. GET /profiles.
holdsport_list_teams List teams
The teams this user belongs to, with each team id, colours and the user's role (1 player, 2 coach, 3 assistant coach, 4 injured, 5 inactive, 6 team leader). GET /teams.
holdsport_list_team_members List team members
The members of one team, with name, id, contact fields and role. GET /teams/{teamId}/members.
| Parameter | Type | Description |
|---|---|---|
team_id * | integer | Numeric team id, from holdsport_list_teams. |
holdsport_get_team_member Get team member
One member of a team, by member id. GET /teams/{teamId}/members/{memberId}.
| Parameter | Type | Description |
|---|---|---|
member_id * | integer | Numeric member id, from holdsport_list_team_members. |
team_id * | integer | Numeric team id. |
holdsport_list_team_notes List team notes
The notes posted for one team: title, body, author and creation time. GET /teams/{teamId}/notes.
| Parameter | Type | Description |
|---|---|---|
team_id * | integer | Numeric team id. |
holdsport_list_team_activities List team activities
The activities (training, matches, events) of one team, with start and end times, place, the user's own status and the actions the user may take. Use page and per_page for more results. GET /teams/{teamId}/activities.
| Parameter | Type | Description |
|---|---|---|
team_id * | integer | Numeric team id. |
date | string | Earliest start date to return, yyyy-mm-dd. |
page | integer | Page number, from 1. |
per_page | integer | Results per page. |
holdsport_get_activity Get activity
One activity of a team: times, place, comment, the user's status, and the actions the user may take. GET /teams/{teamId}/activities/{activityId}.
| Parameter | Type | Description |
|---|---|---|
activity_id * | integer | Numeric activity id, from holdsport_list_team_activities. |
team_id * | integer | Numeric team id. |
holdsport_list_activity_attendees List activity attendees
The members of an activity with their status (attending, not answered, and so on). GET /activities/{activityId}/activities_users.
| Parameter | Type | Description |
|---|---|---|
activity_id * | integer | Numeric activity id. |
holdsport_list_activity_tasks List activity tasks
The task types of an activity (for example equipment or snacks) with the users assigned to each. GET /activities/{activityId}/activity_tasks.
| Parameter | Type | Description |
|---|---|---|
activity_id * | integer | Numeric activity id. |
holdsport_set_activity_status Set my status on an activity
Changes the status of the connected user on one activity, for example to attend. Use joined_status values from the activity's `actions` list (the docs show 1 for attending). Writes the user's status. POST /activities/{activityId}/activities_users.
| Parameter | Type | Description |
|---|---|---|
activity_id * | integer | Numeric activity id. |
joined_status * | integer | Status value from the activity's `actions` list. The docs use 1 for attending. |
picked | integer | Set to 1 with attending, as in the docs example. Leave out otherwise. |