Skip to main content
Glama
Loopback Training Server

Loopback Training Server

get_fuel_history

Read recent fueling logs, newest first, to see what an athlete actually took in during workouts and whether they followed earlier plans before planning race or long-run nutrition.

Instructions

The athlete's most recent workouts that have a fuelling log, newest first, each with what was taken and what had been planned for it.

Read this before planning the fuelling for a long run or a race: it shows what the athlete has actually been taking, how much per hour, and whether they kept to earlier plans. To see how a run went against its fuelling, look the workout up with get_workout_detail or get_workout_splits (a fade late in the run next to few carbohydrates per hour is the pattern to look for). A workout that is not listed has no log, which usually means the athlete did not write it down, not that they took nothing.

Args: limit: How many workouts (default 10, at most 50).

Returns: List (camelCase) of: workoutId, activityType, startDate, duration (seconds), totalDistance (METERS), entries and summary (taken), planned and plannedSummary (the plan on the session the workout counted for; empty and null when there was none), plannedSessionId. Entries and summaries are as get_workout_fuel describes them.

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": "get_fuel_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does substantial work: it discloses result ordering (newest first), and critically the negative-result semantics ('a workout that is not listed has no log... not that they took nothing'), which prevents a serious misreading. It falls short of full disclosure by not stating read-only/auth requirements or whether the call is paginated beyond the limit.

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?

Purpose is front-loaded in the first sentence, followed cleanly by when-to-use, the Args note, and the Returns block. The Returns enumeration is long but earns its place because there is no output schema; a few cross-reference clauses are slightly repetitive but nothing is wasted.

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

Completeness5/5

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

For a read tool with no annotations and no output schema, the description covers everything an agent needs: ordering, the limit bound, unit conventions (seconds, METERS), the shape of entries/planned/summary fields, the null/empty case for planned, and the meaning of missing workouts.

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?

Schema description coverage is 0%, so the description must explain the single parameter, and it does: 'How many workouts (default 10, at most 50)', giving the semantic unit (workouts, not entries or days). It adds little beyond the schema's default/maximum keywords, hence not a 5.

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?

The description names a specific resource (workouts with a fuelling log), its scope (most recent, newest first) and its payload (what was taken plus what was planned). It is clearly distinguishable from get_workout_fuel, which the description says covers the entry/summary format, and from get_workout_detail/get_workout_splits, which cover run execution.

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

Usage Guidelines5/5

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

It states explicitly when to read it ('before planning the fuelling for a long run or a race'), names the alternatives for the adjacent question ('to see how a run went against its fuelling, look the workout up with get_workout_detail or get_workout_splits'), and even describes the diagnostic pattern to look for across them.

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