Skip to main content
Glama
smart-gym-mcp
by sla1k

smartgym_list_routines

Read-only

Lists gym routines with IDs, names, training days, and exercise counts for warm-up, main, and cool-down sections; optionally includes archived routines when requested.

Instructions

List routines: id, name, days, and exercise counts per section (warm-up/main/cool-down).

Archived routines are listed only with include_archived=true. Use the id (or the
name) in the other tools.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "smartgym_list_routines"
  }
}

Input Schema

NameRequiredDescriptionDefault
include_archivedNo

Output Schema

NameRequiredDescriptionDefault
countYes
routinesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds the genuinely useful default that archived routines are hidden unless include_archived=true, but says nothing about ordering, result size, or whether all routines are returned in one call.

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

Conciseness5/5

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

Three short lines: purpose and returned fields first, then the archived caveat, then the follow-on action. No filler, and the most decision-relevant fact (default hides archived) is not buried.

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?

An output schema exists, so return values need not be re-explained, and the description still previews the key fields. The only gap for a read-only list tool is behavior at scale (ordering/pagination), which may not exist here but is unaddressed either way.

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

Parameters4/5

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

The single parameter has 0% schema description coverage, so the description must carry the load, and it does: it names include_archived and states precisely what it turns on. It omits only the default value, which the schema itself already supplies (default false).

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

Purpose5/5

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

States a specific verb and resource ('List routines') and enumerates exactly what each entry returns: id, name, days, and per-section exercise counts. The closing line ('Use the id (or the name) in the other tools') positions it as the discovery entry point distinct from the single-routine getter.

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

Usage Guidelines4/5

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

Gives a clear workflow cue (obtain ids here, pass them to the other tools) and the explicit condition for archived data ('Archived routines are listed only with include_archived=true'). It does not name a when-not case or a specific alternative such as smartgym_get_routine for single-record lookup.

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