Get User Volleymetrics Teams
get_user_teamsRetrieve all Volleymetrics team profiles and memberships linked to the authenticated account to discover team IDs, names, conferences, roles, and the active team before querying matches or stats.
Instructions
Retrieve all Volleymetrics volleyball team profiles and organization memberships linked to the authenticated account, unlike list_volleyball_matches (which lists match schedules for a single team).
When to Use
Discover the user's accessible
team_idvalues, team names, school/club organizations, conferences, and coaching roles at the start of an analysis workflow.Verify which team is currently marked active before calling
list_volleyball_matches.
When NOT to Use
Do NOT use to search for external opponent teams or public league rosters not tied to the user's account; call
list_volleyball_matchesto inspect opponents on your match schedule.Do NOT call before every match query once
team_idis known, aslist_volleyball_matchesautomatically resolves the active team whenteam_idis omitted.
Behavioral Guarantees & Caching
Execution Contract: Strictly read-only, idempotent HTTPS
GETagainsthttps://api.volleymetrics.hudl.com.Caching Policy: Cached on local disk (
~/.volleymetrics_mcp/cache) with a 15-minute TTL (900s). Setforce_refresh=Trueonly after account membership changes.Rate Limiting: Governed by a client-side token bucket (
2 req/s, burst capacity4) with exponential backoff on HTTP429/5xx.Authentication: Reads Bearer JWT credentials from
~/.volleymetrics_mcp/auth_state.json, OS Keychain, or.env.
Parameter & Workflow Semantics
Pass the
team_idreturned by this tool intolist_volleyball_matches,get_match_player_stats, orget_rotation_breakdownwhen the user coaches multiple squads and wants to switch away from their default active team.Prefer
output_format='compact'when chaining team discovery into automated multi-step tool calls to save context tokens.
Returns & Error States
'markdown': Markdown table with columnsTeam ID,Team Name,School / Club,Conference,Role, andActive.'compact': JSON object{"active_team_id": str, "count": int, "teams": [{"team_id": str, "name": str, "school_name": str, "conference": str, "role": str, "is_current": bool}]}.On missing or expired credentials (HTTP
401/403), returns an actionable⚠️ Authentication Errorinstructing the agent to invokelogin_to_volleymetrics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force_refresh | No | When True, bypasses the 15-minute local disk cache (~/.volleymetrics_mcp/cache) and forces a live HTTPS GET request to the Volleymetrics user profile endpoint. | |
| output_format | No | Response representation format: 'markdown' returns a formatted Markdown table for human display; 'compact' returns a token-minimized JSON object for downstream agent chaining. | markdown |