Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

add_to_collection

Add specific containers to My Collection using their container IDs, so you can organize and track selected chemical inventory items in one list.

Instructions

Add containers to 'My Collection'.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "container_ids": "<container_ids>"
    },
    "name": "add_to_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
container_idsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare destructiveHint=false and openWorldHint=false, so the agent knows this is a non-destructive, non-open-world operation. The description adds almost nothing beyond that: it doesn't say whether containers must already exist, how duplicates are handled, whether 'My Collection' must be created first, or what permissions are required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single short sentence with no wasted words and is front-loaded. Its brevity crosses into under-specification, though, leaving core behavioral and usage questions unanswered.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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 explained, and the annotations cover part of the safety profile. Still, for a mutation tool with one undocumented parameter and several close siblings, the description does not provide enough context to call it confidently.

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

Parameters2/5

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

The single parameter, container_ids, has 0% schema description coverage, so the description must carry the burden. It only implies that containers are added; it does not document that the parameter is a non-empty array of integer container IDs or how those IDs are obtained.

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: 'Add containers to My Collection.' An agent can tell this is a collection-membership write operation. However, it does not distinguish this from sibling tools like add_containers or add_to_collection_by_barcode, so sibling differentiation is absent.

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. With siblings such as add_to_collection_by_barcode, add_containers, and remove_from_collection present, the description gives no conditions, prerequisites, or exclusions to route the agent correctly.

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