Skip to main content
Glama

remove_barcode

Remove a barcode from the product it is currently attached to, correcting misassigned codes in your inventory.

Instructions

Detach a barcode that was attached to the wrong product.

Args: barcode: The code to remove. It is removed from whichever product currently holds it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
barcodeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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 must reveal behavioral traits. It states that the barcode is removed 'from whichever product currently holds it,' which is a key behavioral detail (no product parameter needed). It doesn't mention side effects, reversibility, or auth requirements, but for a simple detach operation this is reasonably transparent.

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?

The description is a compact two-sentence structure: a clear one-liner for the purpose plus an Args section explaining the parameter. Every sentence adds value; no fluff.

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 single-parameter tool with no output schema and no annotations, the description covers the essential aspects: purpose, parameter, and target selection behavior. It stops short of specifying error handling or return semantics, but those are minor for a straightforward remove operation.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate. It explains the parameter as 'The code to remove' and adds crucial behavior: it is removed from the current holder, not a specified product. This goes beyond the schema and fully disambiguates the parameter's role.

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 clearly states the action: 'Detach a barcode' and specifies the resource (barcode) and context (attached to the wrong product). It distinguishes from add_barcode implicitly and is a specific verb+resource pair.

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

Usage Guidelines4/5

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

The description implies when to use it (when a barcode is attached to the wrong product) and clarifies that it removes from the current holder. It doesn't explicitly name alternatives or exclusions, but the context is clear enough for a simple tool.

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