Skip to main content
Glama

Food spoil times, fridges, and composting fertilizer per item

get_spoilage
Read-onlyIdempotent

[Game reference] Food spoil times, fridges, and composting fertilizer per item. spoil: every food that spoils (item, hours of normal storage, becomes = the spoiled item). spoil_rules: powered fridge / vending machine multipliers (0 = paused), the arctic biome (0), stack-merge limits. compost: every item a composter takes (item, fertilizer produced per item - fractions are rounded up at random) and compost_rules (cycle_s per item per stack, slots). Names come with each row. Use item= for one food. A powered fridge stops spoiling. Link https://rust.wiki/spoilage.

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

Input Schema

NameRequiredDescriptionDefault
itemNoOne item's spoil time and compost value (shortname).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish this is a safe, deterministic, closed-world read, so the description's job is to add data semantics — and it does: it enumerates the returned sections (spoil, spoil_rules, compost, compost_rules), explains that 0 means paused, that the arctic biome is 0, and that fertilizer fractions round up at random. That is real behavioral context beyond the annotations; it only lacks a note on response size or pagination, which is minor for a static reference.

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-loaded with the purpose, then structured by section name so an agent can scan to the field it needs. Dense but nearly every clause carries information; the trailing wiki link is the only arguable filler.

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 shape, and it does so thoroughly — naming all four top-level sections, their fields, units (hours, cycle_s, slots), and edge cases. Only the top-level response envelope (e.g., whether rows are grouped or flat) is left unspecified.

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

Parameters3/5

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

Schema description coverage is 100% and the schema already states the parameter takes a shortname for one item's spoil time and compost value, so the description's 'Use item=<shortname> for one food' largely restates it. Baseline 3 applies since the schema does the heavy lifting.

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 names the specific resource and its three components (spoil times, fridge/machine multipliers, composting), so an agent knows exactly what data set this returns. It does not name a sibling tool or explicitly contrast itself with get_item/get_item_full, which likely cover adjacent item data, so differentiation is left implicit.

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?

The only explicit usage instruction is 'Use item=<shortname> for one food,' which tells the agent how to narrow the query but not when to prefer this tool over get_item or get_item_full. The 'Game reference' prefix implies a lookup context but no exclusions or alternatives are stated.

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