Skip to main content
Glama

get_minifigure_by_number

Read-only

Retrieve the item record for a minifigure number, optionally by provider and color. Returns candidate matches when ambiguous and clear errors when none exist.

Instructions

Find the item for a minifigure number; the same item body as /items/{id} (decision 2). Default provider bricklink; provider=rebrickable for Rebrickable numbers. Several items answer 409 ambiguous with the candidates, none 404. Parameters: no, provider, color

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": {
      "no": "<no>"
    },
    "name": "get_minifigure_by_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
noYes
colorNo
providerNobricklink

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already establish that this is a non-destructive read, so the description's job is to add more, and it does: it discloses that multiple matches yield a 409 with the candidates and that no match yields a 404. That error-shape information is genuinely useful for an agent planning retries or disambiguation, though the success-shape is only conveyed by reference to '/items/{id}'.

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 lead clause is well front-loaded, but the text is telegraphic and cluttered with internal artifacts like '(decision 2)' that carry no meaning for a calling agent. The trailing parameter list is low-value padding given it adds nothing beyond the schema property names.

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?

For a three-parameter read tool with no output schema, the definition covers the routing and failure modes but leaves the 'color' parameter and the actual returned fields underspecified. An agent could call it correctly for the common case but would have to guess at color filtering.

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%, so the description must carry parameter meaning, and instead it merely re-lists the names ('Parameters: no, provider, color'). The provider default and rebrickable mapping are stated (though partly duplicating the schema enum/default), but 'color' is left entirely unexplained despite being an integer with no documented semantics.

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 states a specific verb and resource: 'Find the item for a minifigure number,' which cleanly separates it from sibling lookups such as get_part_by_number and get_set_by_number by the identifier namespace. The aside about being 'the same item body as /items/{id}' is precise but depends on external API knowledge rather than self-contained wording.

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?

It gives real routing guidance for the provider choice ('Default provider bricklink; provider=rebrickable for Rebrickable numbers'), which is the main decision an agent faces here. However, it never says when to prefer this over get_minifigure_detail or get_item, so the alternative selection is only implied.

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