Skip to main content
Glama

get_lot_candidate_sets

Read-only

Identify and rank the LEGO sets a lot may have come from, with match reasons and distinctive parts, using filters for theme, year, and part count.

Instructions

The sets a lot may have come from, ranked, with reasons and distinctive parts (Lot Detective). Parameters: id, min_score, theme, year_from, year_to, parts_min, parts_max, ignore_common, limit, offset

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": {
      "id": "<id>"
    },
    "name": "get_lot_candidate_sets"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
limitNo
themeNo
offsetNo
year_toNo
min_scoreNo
parts_maxNo
parts_minNo
year_fromNo
ignore_commonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description contributes that results are ranked and include reasons and distinctive parts, which is useful return-shape context, but it says nothing about cost, ranking algorithm, or how the filters affect result quality.

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?

The first sentence is tight and front-loads the payoff, which is good. The trailing 'Parameters: ...' list is padding that consumes space without adding meaning, so conciseness is undercut by low-value content rather than verbosity.

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?

For a 10-parameter analytical tool with no output schema and no schema descriptions, the definition should explain filter semantics and what a score means. It hints at the return shape (ranked candidates with reasons and distinctive parts) but leaves every parameter's effect on results unstated.

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% across 10 parameters, so the description carries the full burden and fails: it merely re-lists parameter names that already appear in the schema. Non-obvious parameters such as min_score (score scale/semantics), theme (string matching?), ignore_common (what counts as common), and the year/parts ranges are left completely undefined.

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?

States a specific resource and outcome: the sets a lot may have come from, ranked, with reasons and distinctive parts, plus a memorable alias (Lot Detective). An agent knows what the tool returns, though nothing in the text distinguishes it from siblings like get_lot_pull_list or get_valuation.

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?

No guidance on when to use this versus alternatives, no preconditions, and no indication of whether a lot id must already exist or what the tool needs beyond an id. The only implied usage is that it is exploratory set identification for a lot.

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