Skip to main content
Glama
openGym MCP Bridge

openGym MCP Bridge

by Nirvana-Z777

get_training_trend

Read-onlyIdempotent

Retrieve SVG charts and data for one training trend across up to 90 days, including exercise load split by weight basis.

Instructions

Return SVG and data for one trend. Up to 90 days. Exercise load is split by weight basis.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "from": "<from>",
      "to": "<to>",
      "metric": "<metric>"
    },
    "name": "get_training_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
metricYes
exercise_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.1

TDQS

C2.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive behavior. The description adds real context beyond them: the response includes SVG plus data, the window is capped at 90 days, and exercise load is broken down by weight basis. Those details are exactly the kind of output/constraint information annotations cannot express.

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 short sentences, front-loaded with the return content and scope, with no filler. The phrasing is slightly cryptic ("one trend," "weight basis"), but nothing is wasted.

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

Completeness2/5

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

For a four-parameter tool with zero schema descriptions and no output schema, the definition is too thin. It hints at the return format and date limit but leaves every parameter and the metric enum unexplained, so an agent lacking schema context could easily call it incorrectly.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning and does not. It never explains the from/to date format, what the five metric enum values mean, or when exercise_id is required or ignored.

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

Purpose3/5

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

"Return SVG and data for one trend" names a verb and resource, and the 90-day cap and weight-basis note add scope. But it never says which trend the tool produces relative to siblings like get_weekly_training_summary or get_summary, and the metric parameter that actually defines the trend is not mentioned.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no alternative tool named. An agent cannot tell from the description when this should be chosen over get_summary, get_weekly_training_summary, or get_exercise_history.

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