Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

save_watchlist

Destructive

Create or update a custom chemical watchlist by name and terms such as CAS numbers, with optional scope and ID to track specific inventory items.

Instructions

Create or update a custom watchlist.

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": {
      "name": "<name>",
      "terms": "<terms>"
    },
    "name": "save_watchlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
scopeNoinventory
termsYesSearch terms, e.g. CAS numbers
watchlist_idNoWatchlist to update; 0 creates a new watchlist

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=false, so the agent knows this is a non-open-world mutation. The description adds that the tool can update an existing watchlist, which is consistent with the destructive annotation. It doesn't disclose what gets overwritten on update, whether terms are replaced or merged, or permission requirements, so the behavioral disclosure is adequate but incomplete.

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 single front-loaded sentence with zero wasted text. It is appropriately concise, though its extreme brevity means it forgoes opportunities to clarify the upsert behavior. Structurally it is clean and easy to scan.

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 needn't be explained. But this is a destructive upsert with four parameters and partial schema coverage, and the description leaves key behavior unstated: what updating does to existing terms, how scope affects the watchlist, and what watchlist_id=0 means beyond the schema hint. For a mutation tool with destructiveHint=true, that is a significant contextual gap.

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?

Schema description coverage is only 50%, and the description adds no parameter meaning at all. It doesn't explain the required name or terms, what scope controls, or how the scope enum values differ. The schema documents terms and watchlist_id, but name and scope remain undocumented, and the description does nothing to compensate.

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 uses a specific verb and resource: it creates or updates a "custom watchlist." That is clear enough for an agent to understand the core operation. However, it doesn't explicitly distinguish this upsert from siblings such as delete_watchlist or check_watchlists, so it falls short of 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 choose this tool over check_watchlists, watchlist_report, or delete_watchlist. The description doesn't state prerequisites, whether existing watchlists can be modified, or when an agent should prefer creating versus updating. The only create-versus-update distinction lives in the schema's watchlist_id description, not the tool description.

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