Holdsport (SportMember) MCP by usefulapi

v1.2.1
io.usefulapi/holdsport Checked 3 days ago Published 1 day ago

Read 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.

ParameterTypeDescription
team_id *integerNumeric 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}.

ParameterTypeDescription
member_id *integerNumeric member id, from holdsport_list_team_members.
team_id *integerNumeric 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.

ParameterTypeDescription
team_id *integerNumeric 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.

ParameterTypeDescription
team_id *integerNumeric team id.
datestringEarliest start date to return, yyyy-mm-dd.
pageintegerPage number, from 1.
per_pageintegerResults 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}.

ParameterTypeDescription
activity_id *integerNumeric activity id, from holdsport_list_team_activities.
team_id *integerNumeric 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.

ParameterTypeDescription
activity_id *integerNumeric 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.

ParameterTypeDescription
activity_id *integerNumeric 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.

ParameterTypeDescription
activity_id *integerNumeric activity id.
joined_status *integerStatus value from the activity's `actions` list. The docs use 1 for attending.
pickedintegerSet to 1 with attending, as in the docs example. Leave out otherwise.