Skip to main content
Glama
Brewfather MCP Server

Brewfather MCP Server

get_batch_last_reading

Fetch the current sensor reading from a brewing device for a specified batch to monitor fermentation conditions by batch ID.

Instructions

Get the most recent sensor reading from brewing devices for a batch

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": {
      "batch_id": "<batch_id>"
    },
    "name": "get_batch_last_reading"
  }
}

Input Schema

NameRequiredDescriptionDefault
batch_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.2

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does communicate one useful trait — that only the latest reading is returned rather than a history — but it omits what happens when a batch has no readings (empty result vs error), whether the read requires auth or scopes, and what a 'reading' comprises (gravity, temperature, timestamp, device).

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?

One tight sentence with the resource and the 'most recent' qualifier front-loaded; nothing is wasted. It is arguably too short for a tool with zero annotation and schema coverage, but there is no filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple, but with no annotations, no output schema, and 0% parameter coverage, the description is the only documentation an agent has. It says nothing about the shape of the returned reading, failure modes for batches without sensor data, or how it relates to the summary sibling — meaningful gaps for the only available documentation.

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

Parameters2/5

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

Schema description coverage is 0%, so the single batch_id parameter is documented nowhere except by implication from the phrase 'for a batch'. The description adds no format, example, or constraint (e.g. whether it's a numeric ID or slug) to compensate for the empty schema.

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 specific verb+resource ('Get the most recent sensor reading') and scope ('for brewing devices for a batch'), so an agent knows exactly what data it retrieves. It does not, however, contrast itself with near-neighbours like get_batch_readings_summary or get_batch_brewtracker, leaving differentiation to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance, no mention of when to prefer a readings-history or summary tool instead, and no stated preconditions (e.g. batch must have logged sensor data). The agent must guess the boundary from the phrase 'most recent' alone.

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