Skip to main content
Glama

API Ninjas (Unofficial)

Exercises

exercises
Read-onlyIdempotent

API Ninjas exercises: fitness/gym exercises filtered by target muscle, type, difficulty, or name. Returns a list of { name, type, muscle, equipment, difficulty, instructions }. Example: exercises({ muscle: "biceps", difficulty: "beginner" }).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "muscle": "biceps",
      "difficulty": "beginner"
    },
    "name": "exercises"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoExercise name to search for
typeNoExercise type, e.g. 'strength', 'cardio', 'stretching'
muscleNoTarget muscle, e.g. 'biceps', 'chest', 'quadriceps'
_apiKeyNoOptional, your own API Ninjas key for higher limits; omit to use the shared Pipeworx key.
difficultyNoDifficulty: 'beginner', 'intermediate', or 'expert'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Optional — your own API Ninjas key for higher limits; omit to use the shared Pipeworx key."New value: +"Optional, your own API Ninjas key for higher limits; omit to use the shared Pipeworx key."
  2. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "_apiKey": "your-api-ninjas-api-key",
      -    "difficulty": "beginner",
      -    "muscle": "biceps"
      -  },
      -  {
      -    "_apiKey": "your-api-ninjas-api-key",
      -    "type": "cardio"
      -  }
      -]New value: +[
      +  {
      +    "difficulty": "beginner",
      +    "muscle": "biceps"
      +  },
      +  {
      +    "type": "cardio"
      +  }
      +]
  3. Added

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds value beyond that by disclosing the data source (API Ninjas) and the exact return shape { name, type, muscle, equipment, difficulty, instructions }, which matters because no output schema exists. It omits result limits/pagination and the semantics of an unfiltered call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three compact sentences: purpose, return shape, then a concrete example – a sensible front-loaded order with no filler. The only small waste is re-listing filters that the schema already documents.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Because there is no output schema, naming the returned fields is the key contribution and it is present. The remaining gap is behavioral: all five parameters are optional, and the description never says whether an empty call returns the full catalog or fails, nor whether results are capped.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already explains every parameter, including the optional `_apiKey`. The description's field list (muscle, type, difficulty, name) restates the schema rather than adding syntax, defaults, or combination rules, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource (fitness/gym exercises) and enumerates the filter axes (muscle, type, difficulty, name), plus the exact returned fields. It is immediately clear what the tool produces. No sibling covers this domain, so there is no differentiation gap to close.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the example call `exercises({ muscle: "biceps", difficulty: "beginner" })` shows filters can be combined, which hints at how to use it. There is no explicit when-to-use/when-not guidance, no statement about behavior when all filters are omitted, and no mention of alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.