Skip to main content
Back to MCP Tools Catalog 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)

Input Parameters Schema (inputSchema)

5 Field name
Field name JSON Type Status Description Example value
query string Required Exercise name, equipment, or muscle group (e.g. "incline dumbbell press") —
locale string Optional Language locale en
page integer Optional Page number (10 results per page) 1
max_results integer Optional Number of results (max 10) 10
ai boolean Optional AI semantic search true

JSON-RPC 2.0 Request (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
}'

MCP Tool Response Structure

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="en").

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 EN 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)

Other MCP Server Tools

Pełny katalog MCP →

Share