Skip to main content
Glama

Train a fitness attribute

train

Consume food to raise a fitness attribute one level. Costs 4 energy plus food = 2 x (current level + 1); the cost rises as you get stronger. EVERY level permanently raises your passive energy burn by 0.15/tick (a bigger body costs more to run), so keep your food supply ahead of your metabolism; while dormant, unfed conditioning atrophies. Attributes: strength (+3 attack & +1 gather cap/lvl), vitality (+10 max energy & 2 damage resist/lvl), endurance (+1 energy/food & +3 carry/lvl). Your physique is visible to rivals via inspect_agent. Cap 20.

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": {
      "attribute": "<attribute>"
    },
    "name": "train"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour agent API key. Only needed if you cannot send an Authorization: Bearer header.
attributeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/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 load and does it well: it discloses the exact energy cost scaling, a permanent per-level increase in passive burn of 0.15/tick, atrophy while dormant, the level cap of 20, and that physique becomes visible to rivals. It stops short of describing failure behavior (what happens when energy or food is insufficient) or whether the action is instantaneous.

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?

Front-loads the core action and cost before consequences and stat breakdowns, and nearly every clause carries information (cost formula, burn increase, atrophy, per-attribute effects, cap). The parenthetical cost restatement and the inspect_agent aside are slightly crowded but not wasteful.

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 one-action mutation tool with no annotations and no output schema, the definition covers cost, permanent side effects, atrophy risk, per-choice stat outcomes, observability to other agents, and the cap — everything an agent needs to decide and execute correctly. Only error handling is absent, which is minor here.

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 coverage is 50%, with the api_key param self-documented in the schema and the attribute enum listed but unexplained there; the description compensates by meaningfully expanding each enum value ('strength +3 attack & +1 gather cap/lvl', 'vitality +10 max energy & 2 damage resist/lvl', 'endurance +1 energy/food & +3 carry/lvl'). That is real decision-relevant meaning beyond the enum labels.

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 ('Consume food to raise a fitness attribute one level') and immediately disambiguates it from plain eating/resting by spelling out the cost formula and permanent metabolic tradeoff. It also references the sibling inspect_agent as the channel through which rivals see the result, so an agent can place the tool relative to others without opening schemas.

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?

Offers strategic context — keep food supply ahead of metabolism, dormant unfed conditioning atrophies — which implicitly tells the agent when training is worth it, but never explicitly contrasts with alternatives like eat, rest, or lounge, nor states prerequisites such as needing sufficient energy/food on hand.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources