Appearance
Agent orchestration playbooks
External LLMs (Claude, ChatGPT, Cursor, Grok, Copilot) should treat https://fifa.qtech.hr/mcp as the FIFA Agent Mentor intelligence layer: fewer, higher-signal tool calls with structured JSON + markdown reports.
Auth: Authorization: Bearer <fam_live_… | Supabase access token>.
Agent Pro unlocks market + Cases tools. Exam Academy unlocks study AI (ask_study_assistant unlimited, generate_mock_exam, drill_weak_topic).
Why this matters
A “pure FIFA agent controlled by AI” does not invent regulations or valuations. It calls tools, reads structured results, cites sources, and writes decisions back into Cases / dossiers when needed.
| Job | Prefer |
|---|---|
| Full transfer picture | orchestrate_transfer_dossier (one call) |
| Weak-topic exam prep | drill_weak_topic then lesson / mock links |
| Jurisprudence case file | Cases sequence below |
| Live market briefing | get_market_pulse_report or generate_market_pulse_report |
1. Full transfer picture (one call)
orchestrate_transfer_dossier
- Args:
player_slug, optionaldays_back(default 21),include_market_pulse: true,live_synthesis: truefor one xAI synthesis pass (extra cost).
Returns: timeline subset, agent_memories, agent_dossiers, optional Durable Object snapshot, optional market pulse excerpt, optional Grok synthesis.
2. Classic multi-step research
research_player(slug_or_name,depth: deep)dossier_snapshotget_transfer_intelget_market_pulse_report(period: daily|weekly)
3. Market pulse
get_market_pulse_report— read cron output (daily 07:25 UTC, weekly Mon 07:40 UTC).generate_market_pulse_report— on-demand Grok + DB pipeline (writes a row; optional webhook).
4. Watch list
monitor_player needs a user-bound token. Combine with watched_players for ongoing monitoring.
5. Agent Law Cases — end-to-end
list_cases({ status: 'open' })get_case({ case_id })build_case_source_pack({ case_id, depth?, query? })list_case_sources/get_case_findingsattach_case_source/add_case_link/add_case_note(notes are not auto-indexed in v1)search_case({ case_id, question, ... })— statelessrequest_case_research({ case_id, query, depth, seed_urls?, use_browser? })—quick(Grok) |deep/exhaustive(+ Browser Run/Kitesurf)search_juris_library({ q, forum?, year? })— always citesource_url
Citation rules: never invent FIFA articles or decision IDs; never re-host full FIFA decision PDFs; if retrieval is weak, say so.
6. Exam study loop (Study Tutor Agent)
list_lessons→get_lessonask_study_assistant(Bearer) withlesson_numberwhen focused- Paid:
drill_weak_topic— retrieve → adaptive MCQs → answer key → platform links
(alsoPOST https://fifa.qtech.hr/api/study/drill) - Paid:
generate_mock_examfor full timed sets
When the student says “drill / quiz me / weak topic”, prefer drill_weak_topic. Non-premium → PREMIUM_REQUIRED + /pricing.
Example — weak-topic drill
json
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "drill_weak_topic",
"arguments": {
"topic": "RSTP Article 19 protection of minors",
"lesson_number": 4,
"question_count": 3
}
}
}7. Operator automation
- Mint keys:
POST /api/internal/mcp/mintwithx-worker-secret(see Ops). - Health:
GET /api/health.
Related: MCP overview · Premium tools · Exam tools · Remote connectors · app skill fifa-agent-orchestration.md