Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

duplicate_barcodes

Read-only

Lists barcode values assigned more than once in the inventory, keyed by barcode value, to help administrators identify and resolve duplicate barcode conflicts.

Instructions

All barcodes assigned more than once, keyed by barcode value (administrators only).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "duplicate_barcodes"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish that this is a non-destructive, closed-world read. The description adds genuinely new behavioral context beyond them: an administrator-only access requirement and the shape of the result ('keyed by barcode value'). It stops short of noting result size, ordering, or pagination.

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?

A single front-loaded sentence identifies the filtered resource first, then the parenthetical access constraint. No filler or restatement of the tool name.

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 parameters and an output schema present, the definition only needed to cover scope, permissions, and result keying, all of which it does. A note on how duplicates are grouped or expected result volume would make it fully complete.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The phrase 'keyed by barcode value' usefully indicates the shape of the returned mapping rather than an input.

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 names a specific resource and a precise filter: barcodes assigned more than once, distinct from a plain 'assigned barcodes' listing. The verb is elided (the phrase is nominal, implying a listing/query), but an agent can tell what the tool returns 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?

Usage is implied rather than stated: the definition makes clear this is the duplicate-detection query, and it adds an access precondition ('administrators only'). It does not explicitly say when to prefer a sibling such as assigned_barcodes, so the agent must infer the choice from the filter described.

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