Skip to main content
Glama

inv_structure

Read-only

List InvenTree stock locations and part categories with their IDs so you can pass them to inv_receive for inventory receipt.

Instructions

List InvenTree stock locations and part categories (ids for inv_receive).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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=true, so safety and side-effect profile are covered by structured data. The description adds the useful fact that results are ids feeding inv_receive, but says nothing about whether all locations are returned or only active/stocked ones, whether categories nest, or how large the result is.

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 front-loaded sentence with no filler; the verb and resources come first and the usage hint trails. The parenthetical is terse enough that it reads slightly like a note rather than prose, but nothing is wasted.

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 no parameters and no output schema, the description carries the burden of describing what comes back — and it only says 'stock locations and part categories' plus ids. An agent cannot tell the shape of the response (flat list vs tree, id-only vs id+name), which matters for a lookup tool whose whole value is its output.

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 and the schema is empty, so there is no parameter semantics to explain; baseline 4 applies. The description correctly does not invent inputs and instead directs attention to the return payload.

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?

Specific verb plus two named resources: 'List InvenTree stock locations and part categories.' The parenthetical '(ids for inv_receive)' ties the output to a concrete downstream use, so an agent can tell it apart from inv_find or inv_check_bom. It stops short of an explicit sibling contrast, but the resource scope is unambiguous.

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?

The parenthetical '(ids for inv_receive)' implies the intended workflow — call this first to obtain ids that inv_receive needs — which is real, if implicit, usage guidance. There is no statement of when not to use it, no mention of alternatives such as inv_find for looking up specific items, and no preconditions.

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