Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

check_watchlists

Read-only

Check which watchlists include a specified substance by its ID, so you can see where that chemical is being monitored.

Instructions

Watchlists that contain a substance.

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": {
      "substance_id": "<substance_id>"
    },
    "name": "check_watchlists"
  }
}

Input Schema

NameRequiredDescriptionDefault
substance_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds nothing beyond that: it does not say what a hit means, whether results are filtered by the given substance or merely checked for membership, or whether an empty list indicates 'not on any watchlist'.

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?

There is no redundancy and it is certainly short, but the brevity comes from under-specification rather than tight writing. A single well-formed sentence with a verb would have cost the same and communicated far more.

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, but the description still fails to establish the core question an agent needs answered: does this return the watchlists containing the substance, or a yes/no membership result implied by the 'check' prefix? That ambiguity is material for a tool with a name/description mismatch.

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 0% for the single required substance_id parameter, so the description must compensate and does only weakly by saying 'a substance'. It does not clarify whether the ID is the internal substance identifier, whether the substance must exist, or how the ID relates to the returned watchlists.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource and a filter ('Watchlists that contain a substance'), which conveys the gist, but it is a noun fragment with no verb, so it never states the operation (list? count? boolean check?). Against the sibling list_watchlists, the distinction is implied but not made explicit, which keeps it below a 4.

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 versus list_watchlists, no mention of prerequisites, and no stated exclusions. The agent must infer the usage scenario entirely from the tool name and the fragment.

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