Skip to main content
Glama

list_stock

Read-only

Lists loose stock lines such as parts, minifigures, and booklets with filters for kind, number, provider, condition, storage, theme, year, and archived status.

Instructions

Loose stock lines (parts, minifigures, booklets, anything). Parameters: cursor, limit, kind, number, provider, color, condition, storage, lot, place, flag, problem, theme, year, q, sort, archived, direction

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_stock"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
lotNo
flagNo
kindNoWhat the item is (design 3.5); stored words are served (Q8).
sortNo
yearNo
colorNo
limitNo
placeNo
themeNo
cursorNo
numberNo
problemNo
storageNo
archivedNo
providerNobricklink
conditionNo
directionNoasc

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.8/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds nothing beyond that: it does not explain pagination behavior despite cursor/limit parameters, the default sort order, what a "loose" line means versus an archived one, or what the results look like.

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

Conciseness2/5

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

The text is short, but half of it is a redundant enumeration of parameter names that duplicates the schema and adds no information. The one substantive sentence is front-loaded but under-specified, so brevity here comes from omission rather than economy.

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

Completeness1/5

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

For an 18-parameter, zero-required filtering tool with no output schema and near-zero schema coverage, the definition supplies no explanation of what the returned lines contain, how filters combine, or how pagination works. It is far too thin for the tool's complexity.

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

Parameters1/5

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

Schema description coverage is 6% across 18 parameters, so the description carries the burden — yet it merely re-lists the parameter names already visible in the schema (and in a different order). Names like q, flag, problem, place, and lot receive zero explanation of accepted values or semantics, so the agent learns nothing it could not read from the schema itself.

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?

"Loose stock lines (parts, minifigures, booklets, anything)" identifies a resource and gives examples of its contents, but "loose stock lines" is an internal domain term with no explanation of what a stock line is or how it differs from the many sibling list_* tools (list_lots, list_minifigures, list_copies). An agent cannot confidently tell from this text whether this tool or a sibling returns the items it needs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

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

There is no when-to-use guidance at all — no conditions, no prerequisites, and no named alternatives among the numerous sibling list tools. The description is a resource label plus a parameter dump, leaving the agent to guess whether to call this or list_lots/list_minifigures.

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