Skip to main content
Glama
dragosh29

Breww MCP server

by dragosh29

List production batches

list_batches
Read-onlyIdempotent

Retrieve brewery drink batches with statuses, planned and actual dates, volumes, and current vessel. Filter by drink, status, or date range to track production progress.

Instructions

Drink batches (brews) with drink, status (planned, in progress, complete), planned and actual dates, volumes and current vessel. Uses GET /drink-batches/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoAPI page to start from (use next_page from a previous call, with the same max_results)
statusNoOnly these statuses (API parameter `status__in`)
drink_idNoOnly batches of this drink (API parameter `beer`)
orderingNoSort order (API parameter `ordering`): a field name, - in front for descending, several separated by commas. The API's default is ascending id.
planned_toNoPlanned start date on or before (API parameter `planned_start_date__lte`)
max_resultsNoMost records to return in this call; whole API pages only (up to 200 per page), so fewer may come back with a next_page to continue from
planned_fromNoPlanned start date on or after (API parameter `planned_start_date__gte`)
started_fromNoStarted at or after this date/time (API parameter `datetime_started__gte`; a date alone means 00:00 UTC)
started_beforeNoStarted before this date/time (API parameter `datetime_started__lt`; a date alone means 00:00 UTC)
batch_ref_containsNoPart of the batch reference (API parameter `batch_ref__contains`)
include_contact_detailsNoInclude the name of the staff member who created each batch. Off by default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds the GET endpoint and enumerates the fields returned, which helps the agent judge fitness, but it says nothing about auth, rate limits, or ordering/pagination behavior.

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?

Two short sentences, front-loaded with the resource and its contents. The trailing 'Uses GET /drink-batches/' is mildly redundant for an agent but not wasteful enough to drop below 4.

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

Completeness3/5

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

With a fully documented schema, no output schema needed, and safety annotations present, the definition is adequate. What is missing is routing context: with get_batch and list_products as siblings, the agent gets no signal for when this list tool is the right choice.

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% across all 11 parameters, including API mapping details (status__in, beer, ordering, next_page), so the schema carries the full semantic load. The description contributes no additional parameter meaning, which is the baseline 3 when 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?

States a specific verb and resource ('Drink batches (brews)') and enumerates the returned attributes (drink, status, dates, volumes, vessel), so an agent knows what it retrieves. It does not explicitly differentiate itself from the sibling get_batch (single batch) or list_products, so it falls short of a 5.

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?

No when-to-use or when-not-to-use guidance is given. It never mentions that pagination should continue via next_page (that lives only in the schema) or when to prefer get_batch for a single record. Usage must be inferred from the name.

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