Skip to main content
Glama
dragosh29

Breww MCP server

by dragosh29

Get order

get_order
Read-onlyIdempotent

Retrieve a Breww order or invoice by ID, including line items, totals, statuses, delivery details and notes; optionally include contact details and invoice PDF links.

Instructions

One order/invoice in full: lines (product, quantity, dispatched, returned, unit price, discount, value, tax, total), adjustment lines (delivery, deposits), totals, statuses, delivery, notes. Billing and delivery addresses, the contact email and the invoice PDF and customer links only with include_contact_details; payment records are never returned. Uses GET /orders/{id}/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idYesOrder ID (a positive whole number)
include_contact_detailsNoInclude billing and delivery addresses, the contact email, staff names, the invoice PDF and customer-facing links, and unredacted notes. Off by default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety bar is covered. The description adds real behavioral value beyond that: it discloses the contact-detail gating rule and explicitly states that payment records are never returned, which is non-obvious scope information an agent would otherwise discover only by failing.

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 returned-fields enumeration is front-loaded and dense but every clause maps to actual response content, so little is wasted. It is a long single breath, but the content earns its space given there is no output schema.

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?

With no output schema, the description carries the burden of describing the return shape, and it does so thoroughly (lines, adjustments, totals, addresses gating, exclusions). It is nearly complete; only error/not-found behavior is left unstated.

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%, so both parameters are already fully documented in the schema, establishing the baseline of 3. The description reinforces the include_contact_details gating but adds no syntax or format detail the schema lacks.

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?

Names a specific verb and resource ('One order/invoice in full') and enumerates exactly what is returned, which cleanly separates it from the sibling list_orders. An agent can tell this is the single-record detail fetch without opening the schema.

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 description implies lookup-by-ID ('Uses GET /orders/{id}/') but never states when to prefer it over list_orders or what to do if the order is missing. Usage is inferable from the required order_id param, so it lands at minimum-viable rather than explicit guidance.

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