Skip to main content
Glama

What every food, medicine and tea does: calories, water, health, timed effects

get_food_effects
Read-onlyIdempotent

[Game reference] What every food, medicine and tea does: calories, water, health, timed effects. groups (Food & drink, Medical, Teas), each with rows: shortname, name, calories, water, health (instant + over time), effects (other metabolism changes as text, e.g. "removes 10 radiation") and buffs (timed modifiers with their duration, e.g. "Ore yield +50% for 30 min"; horse-only effects say so). raw with item=: the exact effect and modifier values (fractions, seconds). Use for 'what does X do when eaten / how many calories / does apple pie give night vision'. item= for one. Link https://rust.wiki/food-and-medicine.

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

Input Schema

NameRequiredDescriptionDefault
itemNoOnly this item (shortname).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real value beyond that by disclosing the response payload shape (groups, rows, raw) and noting that item= switches to exact fractional/second values.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the resource summary, then the payload structure, then usage triggers and the narrowing parameter, then a reference link. Dense but every clause carries information; no filler sentences.

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?

With no output schema, the description carries the burden of describing return values, and it does so in reasonable detail, including edge notes ('horse-only effects say so'). Minor gaps remain, such as the exact type of the raw values, but an agent can call this correctly.

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 100%, so the baseline is 3; the description goes further by explaining what overriding the single optional parameter does to the response — with item= you get raw exact effect and modifier values instead of the grouped human-readable rows.

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?

The description states a concrete resource and what it returns: calories, water, health, timed effects for every food, medicine and tea. The phrasing 'what does X do when eaten' clearly separates this effect-lookup from recipe-lookup siblings like get_tea_recipes or get_cooking_recipes, though no sibling is named explicitly.

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?

It gives concrete trigger questions ('how many calories', 'does apple pie give night vision') and tells the agent to pass item=<shortname> to narrow to one entry. There is no explicit when-not guidance or named alternative tool, which keeps it below a 5.

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