brick-work-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BW_ALLOW_NO_LOGIN | No | Set to 1 to allow no login on a single trusted computer. | |
| BW_AUTHENTICATION_PASSWORD | No | Password used to sign in to Brick Work. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_wishlistsC | get wishlists Parameters: cursor, limit, archived, direction |
| export_wishlist_xmlC | Export wishlist as BrickLink wanted list XML Parameters: id, kind, summary |
| export_wishlist_csvC | Export wishlist as Rebrickable CSV Parameters: id, kind, summary |
| search_catalogueC | Search the local BrickLink catalogue file by type and text. Parameters: cursor, limit, kind, q, sort, direction |
| get_itemC | The item: its Brick Work id, kind, name, the BrickLink numbers it is known by and its Rebrickable key (design 7). A merged id answers 307 to the survivor. Parameters: provider, kind, no |
| get_part_supersetsC | Sets and minifigures containing this part in one colour, owned holders first. Parameters: provider, kind, no, color, type, q, sort, limit, offset |
| get_instruction_linksB | Links to the set's instructions pages (LEGO, Rebrickable); nothing is fetched. Parameters: provider, kind, no, region |
| list_copiesD | Owned set copies. Parameters: cursor, limit, number, provider, condition, status, storage, place, list, flag, lot, problem, duplicates, theme, year, q, sort, archived, direction |
| get_copyC | One copy. Parameters: id |
| get_copy_completenessC | Stored and derived completeness, checked flag, missing and damaged counts. Parameters: id |
| list_copy_partsC | Part lines of the copy (required, spare, figure components). Parameters: id, cursor, limit, spare, parent, problem, direction |
| list_copy_figuresD | Whole figures of the copy. Parameters: id, cursor, limit, direction |
| list_stockD | Loose stock lines (parts, minifigures, booklets, anything). Parameters: cursor, limit, kind, number, provider, color, condition, storage, lot, place, flag, problem, theme, year, q, sort, archived, direction |
| list_minifiguresC | Figures by identity: owned in sets, loose, missing. Parameters: cursor, limit, color, provider, problem, theme, year, q, sort, inventory, direction |
| get_minifigure_detailC | One figure: sets, loose lines, missing, matches, prices. Parameters: provider, kind, no |
| list_gapsC | Missing items over all copies and loose figures. Parameters: cursor, limit, kind, number, provider, color, copy_id, direction |
| list_matchesD | Suggestions: loose stock that fills a gap. Parameters: cursor, limit, kind, number, provider, color, copy_id, completes, direction |
| list_instruction_filesC | Booklet files and booklet identities with coverage. Parameters: cursor, limit, kind, number, provider, has_file, archived, direction |
| get_pricesC | Current prices and recorded observations of one item. Parameters: provider, kind, no, color |
| list_stale_pricesC | Items whose price is older than the freshness rule. Parameters: cursor, limit, direction |
| list_wishesC | Wishlist rows; under_max filters to rows priced under the wish maximum. Parameters: list, cursor, limit, kind, number, provider, color, condition, flag, under_max, q, sort, archived, direction |
| storage_labelsC | Get a storage labels PDF link. Parameters: ids, layout |
| list_storagesC | Active storages with counts, plus the virtual "Not stored". Parameters: cursor, limit, direction |
| list_lotsC | Part lots. Parameters: cursor, limit, storage, archived, direction |
| list_placesC | Purchase locations with counts and totals per currency. Parameters: cursor, limit, direction |
| list_flagsC | Flags of kind owner, status and tag. Parameters: cursor, limit, kind, direction |
| get_planning_rankingC | Owned copies ranked by cost to complete, with the repair settings used. Parameters: cursor, limit, sort, q, direction |
| get_planning_set_scoresC | The catalogue's sets ranked by how much of a pile of loose parts each explains. Parameters: lot, storage, loose, stock, limit, offset, detail |
| get_lot_candidate_setsC | The sets a lot may have come from, ranked, with reasons and distinctive parts (Lot Detective). Parameters: id, min_score, theme, year_from, year_to, parts_min, parts_max, ignore_common, limit, offset |
| get_planning_build_scoutC | Build Scout (#9): the catalogue's sets ranked by how much of each the loose stock already makes. Parameters: lot, storage, loose, damaged, min_percent, max_missing, theme, year_from, year_to, size_from, size_to, limit, offset, detail |
| list_sticker_candidatesC | The sets a sticker on a part line of a lot may belong to (sets that hold the part in its colour and a sticker sheet). Parameters: id, stock_id, limit, offset |
| get_lot_pull_listC | The pull list of a set for a lot (#202, Lot Detective): the set's lines with what each needs, what the lot holds and what is found so far. Parameters: id, provider, kind, no, show, limit, offset |
| get_valuationB | Value and gain per copy (#57): what each live copy cost, what it is worth now and the gain, and the Paid vs value figures of Statistics. Parameters: |
| list_ordersC | Orders with line and receipt state. Parameters: cursor, limit, bricklink_order_id, status, direction |
| get_orderC | Order with documents and lines. Parameters: id |
| list_eventsC | Audit events, newest first. Parameters: cursor, limit, entity, field, via, since, undoable, direction |
| list_jobsD | Import and refresh jobs with steps. Parameters: cursor, limit, state, failed, direction |
| get_sourcesB | Sources with key state (configured yes or no), budget, usage today, last success and error. Parameters: cursor, limit, direction |
| get_sync_statusA | Sync status per source: credentials (never their values), link, last pull, last send and what is waiting. Parameters: source |
| get_settingsC | Allowed settings and freshness rules. Parameters: |
| get_statisticsC | Counts by completeness, theme, storage, place. Parameters: |
| get_set_by_numberB | Find the item for a set number; the same item body as /items/{id} (decision 2). A set number is the same at both providers. Several items answer 409 ambiguous with the candidates, none 404. Parameters: no, provider, color |
| get_part_by_numberA | Find the item for a part number; the same item body as /items/{id} (decision 2). Default provider bricklink; provider=rebrickable for Rebrickable numbers. Several items answer 409 ambiguous with the candidates, none 404. Parameters: no, provider, color |
| get_minifigure_by_numberB | Find the item for a minifigure number; the same item body as /items/{id} (decision 2). Default provider bricklink; provider=rebrickable for Rebrickable numbers. Several items answer 409 ambiguous with the candidates, none 404. Parameters: no, provider, color |
| lookup_itemC | Find the item for any provider number: provider, kind and key (and a colour in the provider space). Same body and errors as the by-number paths. Parameters: provider, kind, key, color |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| brickwork://summary | |
| brickwork://wishlist | |
| brickwork://storages | |
| brickwork://sources | |
| brickwork://events/recent | |
| brickwork://openapi |
TDQS
Scored across 45 tools
Five tools (get_set_by_number, get_part_by_number, get_minifigure_by_number, get_item, lookup_item) return essentially the same item body, and the descriptions themselves admit 'same body and errors as the by-number paths,' so an agent has no principled way to choose among them. Similar overlap exists between list_minifigures, list_copy_figures, and get_minifigure_detail, and between get_wishlists and list_wishes. Many other tools (planning/lot-detective family) are distinct, but the lookup cluster is a real selection hazard.
The dominant convention is clear snake_case verb_noun (list_copies, get_copy, search_catalogue, export_wishlist_xml). A few deviations break the pattern: storage_labels has no verb, and collection reads mix get_ (get_wishlists) with list_ (list_wishes) for the same kind of operation. Still readable and predictable overall.
45 tools is well past the heavy threshold for what is essentially one domain (a personal LEGO collection catalogue). The planning/lot-detective group alone (get_planning_ranking, get_planning_set_scores, get_planning_build_scout, get_lot_candidate_sets, get_lot_pull_list, list_sticker_candidates) plus redundant lookups inflate the surface beyond what an agent can hold in context.
Read coverage is unusually broad — lookups, copies, stock, parts, prices, wishes, orders, jobs, events, exports — but the entire surface is read-only: there is no way to create or update a copy, adjust a stock line, or set a wish. For a collection-management server that is a notable lifecycle gap that will force agents to dead-end on any write workflow.