Skip to main content
Glama

consume_project_bom

Deduct inventory stock for assembling board units from a maker project's BOM. Specify project ID or name and build quantity to reduce part counts accurately.

Instructions

Deduct inventory stock for assembling board units of a maker project's BOM.

Args: project_id: Numeric project ID to consume for. name: Project name to consume for. build_quantity: Number of complete board units to assemble (>= 1).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
project_idNo
build_quantityNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the core effect ('deduct inventory stock'), but for a destructive inventory mutation it omits critical traits: reversibility, behavior when stock is insufficient, atomicity/partial-failure handling, and required permissions.

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 purpose sentence is front-loaded and the args list is compact, with each line earning its place. Structure is clean, though the Args block is somewhat redundant with the schema keys.

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 described. However, for a destructive no-annotation mutation, the definition is thin on operational context (permissions, failure modes, whether both project_id and name are needed), leaving it only minimally complete.

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 description coverage is 0%, so the description must compensate, and it does document all three parameters (project_id, name, build_quantity with '>= 1'). However, it leaves the interaction between the two mutually optional identifiers (project_id vs name) unexplained, which is a meaningful 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 description states a specific verb and resource: 'Deduct inventory stock for assembling board units of a maker project's BOM.' An agent can tell this mutates inventory for a project's bill of materials. It does not explicitly contrast itself with siblings like manage_bom_parts, so it earns a 4 rather than a 5.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives such as manage_bom_parts, nor any stated prerequisites (e.g., that a BOM must already exist). The reader must infer usage entirely from the one-line purpose.

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