Skip to main content
Wróć do katalogu narzędzi MCP search_exercise JSON-RPC 2.0 • tools/call
POST /api/v1/exercise

Exercise Biomechanics & Calorie Burn

Comprehensive exercise and movement taxonomy. Look up biomechanical executions, targeted muscle heads, equipment requirements, and calorie burn estimates.

Nazwa narzędzia MCP search_exercise
Endpoint HTTP / Stream https://www.dietspremium.com/_mcp/search/exercise
Mostek CLI (stdio) npx -y dietspremium-mcp
Kontrakt Wejściowy (JSON Schema)

Schemat parametrów wejściowych (inputSchema)

5 Nazwa pola
Nazwa pola Typ JSON Status Opis i przeznaczenie Przykład wartości
query string Wymagany Exercise name, equipment, or muscle group (e.g. "incline dumbbell press") —
locale string Opcjonalny Language locale en
page integer Opcjonalny Page number (10 results per page) 1
max_results integer Opcjonalny Number of results (max 10) 10
ai boolean Opcjonalny AI semantic search true

Wywołanie JSON-RPC 2.0 (tools/call)

search_exercise
terminal — tools/call search_exercise
JSON-RPC 2.0 REQUEST
npx -y dietspremium-mcp --url https://www.dietspremium.com/_mcp
curl -X POST https://www.dietspremium.com/_mcp/search/exercise \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_MCP_KEY" \
  -d '{
  "query": "dumbbell Romanian deadlift hamstrings",
  "locale": "en",
  "page": 1,
  "max_results": 5,
  "ai": true
}'

Struktura odpowiedzi narzędzia MCP

application/json • UTF-8
response — search_exercise (JSON-RPC 2.0)
MCP Response 200 OK
{
  "content": [
    {
      "type": "text",
      "text": "Exercise: Romanian Deadlift with Dumbbells (key: MzEy). Target: Hamstrings, Gluteus Maximus. Form: Maintain neutral spine, hinge at hips."
    }
  ]
}
Kroki wykonania dla search_exercise MCP Flow

Instrukcja integracji dla programistów i agentów AI

1
Walidacja argumentów wejściowych (search_exercise) search_exercise

Przekaż parametry zgodne z tabelą obok (np. locale="pl").

2
Odczyt wyniku i klucza Base64 (key) McpKeyCodec

Każdy zwrócony rekord posiada pole "key" (Base64), które można bezpiecznie przekazać do narzędzi management_*.

Subagent_exercise Ready

Specjalizowany Agent dla narzędzia search_exercise

MCP v2.0 Tool Runner
Prompt Wejściowy Agenta AI

“Wykonaj zapytanie do narzędzia search_exercise dla języka PL i zwróć ustrukturyzowane dane kliniczne.”

Wykorzystywane Narzędzia MCP / Endpointy
search_exercise
Ślad Wywołania (Execution Trace)
→ POST https://www.dietspremium.com/_mcp/search/exercise (tool: "search_exercise")
← 200 OK (5 zwalidowanych parametrów)

Pozostałe narzędzia serwera MCP

Pełny katalog MCP →

Udostępnij