Skip to main content
Glama
dragosh29

Breww MCP server

by dragosh29

List products

list_products
Read-onlyIdempotent

Retrieve a brewery's sellable products such as casks, kegs, smallpack, multipacks, stock items, and services with codes, types, prices, and contained drinks; filter by tag, code, type, or name.

Instructions

The brewery's sellable products (casks, kegs, smallpack, multi-packs, stock items, services) with code, type, price and the drink(s) each contains. Obsolete products are left out unless asked for. Uses GET /products/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNoOnly products with this tag: the tag's name (assumed; API parameter `tags`, which the spec does not describe)
codeNoExact product code (API parameter `code`)
pageNoAPI page to start from (use next_page from a previous call, with the same max_results)
typeNoProduct type (API parameter `type`)
orderingNoSort order (API parameter `ordering`): a field name, - in front for descending, several separated by commas. The API's default is ascending id.
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
name_containsNoPart of the product name (API parameter `name__contains`)
include_obsoleteNoInclude obsolete products (otherwise `obsolete=false` is sent)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open world), so the bar is lower. The description still adds real behavioral value by disclosing the default obsolete-filtering behavior and the fields each record carries, which the annotations do not convey.

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?

Three tight sentences that front-load what the resource is before the filtering default. The trailing 'Uses GET /products/' is largely redundant with the tool name and adds little, but the rest earns its place.

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?

For an eight-parameter read tool with no output schema, the description compensates by naming the returned fields and the default filtering, and the schema fully documents pagination and filters. It is nearly complete, missing only explicit guidance on paging behavior or error cases.

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%, so all eight parameters are already documented in the schema, including defaults for page, max_results, and include_obsolete. The description adds no parameter syntax or semantics beyond what the schema provides, so the baseline 3 applies.

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 (list) and resource (products) and enumerates the concrete item kinds returned (casks, kegs, smallpack, multi-packs, stock items, services) plus the fields (code, type, price, drinks). This clearly separates it from get_product, though it never names that sibling explicitly.

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 note that obsolete products are excluded 'unless asked for' implies how to shape a call, but there is no explicit when-to-use/when-not statement and no routing to alternatives like get_product for a single item. Usage must be inferred from the plural name.

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