Skip to main content
Glama

Set Minifigs

set_minifigs
Idempotent

Fetch the minifigures included in a LEGO set by set_num from Rebrickable. Returns each minifig's set_num, name, quantity, and image URL.

Input Schema

NameRequiredDescriptionDefault
set_numYes

Output Schema

NameRequiredDescriptionDefault
nextNoURL to next page
countNoTotal number of minifigures
resultsNoArray of minifigure objects in set
previousNoURL to previous page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "set_num": "75368-1"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "count": {
      +      "description": "Total number of minifigures",
      +      "type": "number"
      +    },
      +    "next": {
      +      "description": "URL to next page",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "previous": {
      +      "description": "URL to previous page",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "results": {
      +      "description": "Array of minifigure objects in set",
      +      "items": {
      +        "properties": {
      +          "fig_num": {
      +            "description": "Minifigure number",
      +            "type": "string"
      +          },
      +          "id": {
      +            "description": "Inventory ID",
      +            "type": "number"
      +          },
      +          "name": {
      +            "description": "Minifigure name",
      +            "type": "string"
      +          },
      +          "num_parts": {
      +            "description": "Number of parts in minifig",
      +            "type": "number"
      +          },
      +          "quantity": {
      +            "description": "Quantity in set",
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations indicate idempotentHint=true and destructiveHint=false, aligning with the fetch operation. The description adds context about return fields but omits details like authentication requirements or rate limits. No contradiction with annotations.

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

Conciseness5/5

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

The description is two sentences, front-loading the action and resource. Every sentence is substantive and avoids fluff.

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

Completeness4/5

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

Given the presence of an output schema, the description appropriately lists the returned fields. No mention of pagination or errors, but for a simple fetch tool this is sufficient.

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

Parameters3/5

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

The parameter 'set_num' is described as a LEGO set number, adding minimal context beyond the schema. The schema provides an example but the description does not elaborate on format or constraints. With 0% schema coverage, the description partially compensates.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Fetch' and the resource 'minifigures included in a LEGO set', distinguishing it from sibling tools like 'set_parts' (parts) and 'sets' (list sets). The source 'from Rebrickable' adds specificity.

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 description implies use when needing minifigs for a specific set, but does not explicitly state when to use this versus alternatives like 'set_parts' or 'set'. No when-not-to-use guidance is provided.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.