Skip to main content
Glama
Loopback Training Server

Loopback Training Server

get_fuel_plan

Fetches a planned session's fuelling plan—what to eat and drink and where in the run—from its session ID, returning empty entries when no plan exists.

Instructions

The fuelling plan on a planned session: what to drink and eat, and where in the run.

Args: session_id: UUID of the planned session, the queue item's id (from get_plan_workouts, get_pending_workouts or list_queued_workouts).

Returns: Object (camelCase) with entries and summary, as get_workout_fuel describes them. Empty entries means no plan has been written for this session.

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": {
      "session_id": "<session_id>"
    },
    "name": "get_fuel_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses the return shape (camelCase object with entries and summary) and, importantly, the empty-state semantics — empty entries means no plan has been written. It does not cover failure behavior for an unknown session_id or note that this is a pure read, but the gaps are minor for a single-parameter read tool.

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?

The one-line purpose is front-loaded and the Args/Returns structure is easy to scan with no filler. The only soft spot is the deferral 'as get_workout_fuel describes them', which pushes essential return semantics onto another tool's documentation.

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?

For a one-parameter read tool with no output schema and no annotations, the definition covers the essentials: what is returned, what an empty result means, and where the id comes from. Only error/absence handling and explicit read-only confirmation are left unstated.

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

Parameters5/5

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

Schema coverage is 0% and the schema only says `session_id: string`, so the description must compensate — and it does, defining the parameter as the UUID of the planned session and naming three sibling tools that supply the queue-item id. That is precisely the information an agent needs to construct a valid call.

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 verb+resource ('The fuelling plan on a planned session') and adds a concrete gloss ('what to drink and eat, and where in the run') that tells an agent exactly what content comes back. The 'planned session' qualifier implicitly separates it from get_workout_fuel, though that contrast is never made explicit.

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?

Guidance is present but limited to parameter provenance: it names get_plan_workouts, get_pending_workouts and list_queued_workouts as sources for session_id, which is genuinely actionable. It gives no when-to-use/when-not guidance against get_workout_fuel or get_fuel_history, so the choice between fuel-related siblings is left to inference.

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