Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

list_locations

Read-only

Retrieve every storage location with its ID, name, barcode, parent ID, and container count to map inventory hierarchy and identify where containers are stored.

Instructions

All locations with ID, name, barcode, parent ID (0 at root) and container count.

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": "list_locations"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral detail beyond the schema: parent ID is 0 at the root, revealing flat hierarchical structure. It says nothing about result size, ordering, or whether the full tree is returned at once.

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?

A single sentence fragment with no filler, and the field list is front-loaded immediately after the resource. The parenthetical '(0 at root)' is compact and earns its place; the phrasing is slightly telegraphic but not padded.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description need not explain return values, and annotations cover the read-only profile, so the core is covered. The remaining gap is scale behavior — whether this returns every location unconditionally and how large that set may be — which is not addressed anywhere the agent can see.

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 no parameters, so the baseline is 4; there is nothing for the description to disambiguate on the input side. The parent-ID/root note is about returned data rather than inputs, so it does not add parameter meaning either way.

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 the resource (locations) and enumerates what each entry carries (ID, name, barcode, parent ID, container count), so an agent can tell it returns the location hierarchy rather than users or orders. It lacks an explicit verb ('list') and does not distinguish itself from sibling list_* tools beyond the resource noun, which keeps it 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 Guidelines3/5

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

Usage is only implied by the resource name; there is no statement of when to call this versus alternatives such as list_deleted_containers or list_units, and no prerequisites or exclusions. For a zero-argument listing tool the implied usage is reasonably unambiguous, so a 3 rather than lower.

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