Skip to main content
Glama
Loopback Training Server

Loopback Training Server

get_fuel_products

Lists the gels, drink mixes and foods an athlete has saved for runs, with carbs, caffeine and serving size. Call it before writing a fuelling plan so the plan uses the athlete's real products and label figures.

Instructions

List what the athlete has saved to drink and eat on runs: their gels, drink mixes and so on.

Call this before writing a fuelling plan, so the plan names what the athlete actually carries and its figures are the label's, not yours.

Returns: List of products (camelCase), drinks first: id (pass as product_id in an entry), name, kind, carbsG and caffeineMg (per piece; for a drink, per serving of volumeMl), volumeMl (a drink's serving, null otherwise). Null carbsG or caffeineMg means the athlete did not state it, not zero.

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_products"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the whole behavioral burden and does well: it discloses ordering (drinks first), naming convention (camelCase), unit semantics (per piece vs. per serving of volumeMl), and critically warns that a null carbsG means unstated rather than zero. What it omits is minor for a zero-parameter read tool – no statement about an empty-list return.

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 and the call-before-planning instruction are front-loaded in two short sentences, then a compact Returns block. Every line adds information; the wording is slightly verbose in places but nothing is redundant.

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?

There is no output schema, so the description must explain the return values, and it does so precisely: field list, ordering, unit basis per product kind, and null semantics. For a no-parameter list tool, an agent has everything needed to call it and interpret the result.

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 tool takes no input parameters, so the baseline is 4. The description compensates by explaining the shape of the items returned, including that `id` is what to pass as product_id elsewhere.

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?

"List what the athlete has saved to drink and eat on runs" gives a specific verb (list) and resource (saved fuel products), then concretizes it with examples (gels, drink mixes). It is clearly distinct from add_fuel_product or get_fuel_plan by name and behavior, though it never names a sibling explicitly to route the agent.

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?

"Call this before writing a fuelling plan" is an explicit, actionable when-to-use trigger with a stated rationale (plan figures should come from the label, not invented). There is no when-not-to-use or named alternative, so it falls short of full routing guidance.

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