Skip to main content
Glama
talvola

bar-assistant-mcp

by talvola

bar_set_point_constraint

Set a Point constraint on a recipe slot axis to target an exact-ish value, penalizing results that drift farther from it during cocktail matching.

Instructions

Set a Point constraint on one axis of a recipe slot.

Point = "exact-ish target; penalty grows with distance." Use Point for the exposed axes of a slot — where the spirit's level on that axis genuinely matters (e.g. Martinez gin → juniper Point(2): we want a moderately juniper-forward but not over-the-top gin).

For gin axes are 0–3; value is an integer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
axisYes
sortYes
valueYes
weightNo
cocktail_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It helpfully discloses the penalty model ('penalty grows with distance') and that value ranges 0-3 for gin axes, but says nothing about mutation semantics such as whether it overwrites an existing constraint, permissions, or error 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?

The action is front-loaded in the first sentence, followed by explanation and a single illustrative example. It is reasonably tight; the example earns its place, though the internal quoting and line breaks are slightly noisy.

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?

An output schema exists, so return values need not be explained. However, for a mutation tool with no annotations, the description omits overwrite/replacement behavior, the role of 'weight', and explicit routing against the band/min/max constraint siblings, leaving an agent under-informed on several call-critical points.

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 coverage is 0% and there are 5 parameters, yet the description only adds meaning for 'axis' (0-3 for gin) and 'value' (integer). The important 'weight' parameter (which scales the penalty) and 'sort'/'cocktail_id' are left entirely undefined, so it does not compensate for the coverage gap.

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 first sentence states a specific verb and resource ('Set a Point constraint on one axis of a recipe slot'), and the body explains the Point concept ('exact-ish target; penalty grows with distance'). This lets an agent distinguish it conceptually from the band-constraint sibling, 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 Guidelines4/5

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

It gives clear context for when to reach for this tool ('Use Point for the *exposed* axes of a slot') with a concrete worked example (Martinez gin → juniper Point(2)). It does not state when to prefer bar_set_band_constraint or what to avoid, so it stops short of full when/when-not guidance.

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