Skip to main content
Glama

wiki_bom

Bill-of-materials for making a target item/recipe: the full crafting tree INCLUDING the crafted intermediate sub-components (NOT just raw leaves). This is the tool for 'how many does it take to make ' — including components the target never lists directly (they're summed transitively across the whole tree). Differs from wiki_total_raw (raw materials only) and wiki_calc (exact one-step numbers for a single recipe). Pass an item slug (uses its primary producing recipe) OR a recipe slug. Optional: quantity (units of the target, default 1, 1..10000); ingredient (a specific component name/slug — returns just that component's total quantity + whether it's an intermediate or raw); recipe_slug (override which producing recipe to use when the item has several — the others are listed as 'alternatives'). Optional character/server setup to recompute the whole tree: skill_level/skills, talents, modules/module, and server (model a different server's difficulty). Example: { slug:"steam-tractor", ingredient:"iron bar" } → how many iron bars a steam tractor needs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesThe TARGET item or recipe slug (from a wiki_search result).
moduleNoA single module name/type, or a comma-separated list (alternative to modules[]).
serverNoModel a DIFFERENT server by overriding its difficulty/feature settings (default = THIS server's real settings, so omit for accurate answers). Fields: craftResource (× ingredient cost), craftTime (× craft time), growth (× plant growth/maturity), garbageRatio (Update 14 craft-waste ratio, 0..1; scales recipe garbage byproducts), fuelEfficiency (× every fuel item's fuel value), foodVariety (bool), foodTastiness (bool), baseGain (flat XP/day floor), minBalanced/maxBalanced (balanced-diet multiplier range for food XP).
skillsNoPer-skill levels: { "<skill FullName>": level }. Overrides skill_level for those skills.
modulesNoUpgrade-module names/types installed (multiple slots stack).
talentsNoTalent names/types to treat as learned (applied across the whole chain). Their effect text is echoed back so you can explain why a number changed.
quantityNoHow many units of the target to produce (default 1; clamped 1..10000).
ingredientNoOptional: a specific component name or slug. Returns just that component's total quantity in the tree and its role (intermediate/raw).
recipe_slugNoOptional: when the target item has multiple producing recipes, pick this one (else the primary; others are reported as alternatives).
skill_levelNoA single skill level applied to EVERY governing skill in the chain (shortcut for a uniform setup).

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries full behavioral burden. It discloses key traits: transitive summation across the whole tree, primary-recipe selection with alternatives listed, optional ingredient filtering returning total+role, and server override behavior. It does not mention error handling or return format, but the disclosed behavior is substantial and non-contradictory.

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 description is a dense but well-structured paragraph: definition first, then usage context, sibling distinctions, parameter walkthrough, and a concrete example. It is slightly long but every sentence adds value; the front-loading of the core purpose and differentiators makes it easy to scan.

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 a 10-parameter tool with nested objects and no output schema, the description is quite complete: it explains all parameter categories, gives an example, and covers the main use cases. The lack of an explicit return-shape description is a minor gap, but the example and behavioral details largely compensate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds meaning beyond schema: it clarifies slug as target item or recipe, quantity as units of target with default/clamp, ingredient as specific component with role determination, and recipe_slug as override with alternatives. The example ties parameters together, enriching the schema.

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?

The description opens with a specific definition: 'Bill-of-materials for making a target item/recipe: the full crafting tree INCLUDING the crafted intermediate sub-components (NOT just raw leaves).' It names the exact resource (crafting tree) and verb (compute BOM), and explicitly distinguishes from siblings wiki_total_raw and wiki_calc, eliminating ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It states precisely when to use: 'This is the tool for "how many <component> does it take to make <target>"' and gives exclusions: 'Differs from wiki_total_raw (raw materials only) and wiki_calc (exact one-step numbers for a single recipe).' It also explains how to pass item vs recipe slug and optional overrides, providing clear usage 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

A3.9/5.0
Disambiguation3/5

Most tools have distinct purposes (fetch, wiki_get, wiki_rank, wiki_calc, etc.), but search and wiki_search are clearly duplicated full-text search tools, and fetch vs wiki_get could be confused initially. Descriptions help but the overlap is notable.

Naming Consistency2/5

Naming is inconsistent: 'fetch' and 'search' lack the 'wiki_' prefix used by others, and there is a mix of verb-based (get, rank, calc) and noun-based (bom, contract_basics) names. Having both 'search' and 'wiki_search' for the same functionality is a clear naming violation.

Tool Count4/5

10 tools is within the ideal 3-15 range for a wiki server, covering search, retrieval, analytics, and recipe calculations. However, one tool is essentially redundant (search vs wiki_search), making the count slightly padded.

Completeness4/5

The tool surface covers the core wiki workflow: search, fetch markdown, read structured facts, rank/aggregate numeric data, and compute recipe-related metrics (BOM, raw materials, exact calc). Minor gaps like listing all entities of a kind without ranking, but overall no dead ends.

Resources