Skip to main content
Glama

Get a checkout link for a SOMA order

get_buy_link

Builds a direct buy link an agent can hand to the user. With Shopify variant IDs configured it returns a cart permalink that lands in checkout pre-filled; otherwise it returns the product page on the shop. Payment always happens on Shopify's checkout with the human in control — this tool never charges anyone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesBeer slug: lager, ipa, belgian-wit, or stout
formatNoPurchase format: single 500ml can or a 6-pack of canscan
quantityNoHow many units

TDQS

A4/5.0
Behavior4/5

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

No annotations provided, so description carries full burden. It explains both scenarios (with/without variant IDs) and explicitly states that payment happens on Shopify with human control and that it never charges. Could mention configuration prerequisites but overall good.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three efficient sentences with no redundancy. Front-loaded with the core purpose, then adds specific behavioral details. Every sentence adds value.

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?

Covers key aspects: what it does, two modes, safety reassurance. No output schema exists, but return type (a link) is implicit. Could mention format or example link, but adequate for a straightforward tool.

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 coverage is 100% with clear descriptions for all three parameters. Description does not add further meaning beyond what the schema provides, so baseline score is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states it builds a direct buy link for an agent to hand to the user. Describes two distinct behaviors based on configuration, making the purpose unambiguous. Distinguishes itself from sibling tools which cover different aspects like beer info, wholesale, etc.

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?

Implied usage: when an agent needs to provide a purchase link. Explicitly says it never charges, but does not offer when-not-to-use guidance or name alternatives like get_b2b_wholesale for bulk orders. Agent must infer from context.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose covering different aspects: beers, brand, process, pricing, nutrition, recipes, subscriptions, wallet, wholesale, buy link, and waitlist. No two tools overlap significantly.

Naming Consistency4/5

Most tools use the 'get_' prefix for information retrieval, with 'list_beers' and 'join_waitlist' as slight deviations. However, the pattern is consistent (verb_noun with underscores) and clear.

Tool Count5/5

13 tools is well-scoped for a brewery server, covering all essential aspects without being overwhelming. Each tool serves a specific need, and none feel superfluous.

Completeness5/5

The tool set covers the full lifecycle: brand info, product details, pricing, ordering, subscriptions, waitlist, wallet, and even recipes and nutrition. No obvious gaps for the stated domain.

Resources