Skip to main content
Glama

lookup_item

Read-only

Look up a brick item by provider, kind, and key to resolve its catalog identity and color mapping within a collection workbench.

Instructions

Find the item for any provider number: provider, kind and key (and a colour in the provider space). Same body and errors as the by-number paths. Parameters: provider, kind, key, 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": {
      "kind": "<kind>",
      "key": "<key>"
    },
    "name": "lookup_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
kindYesWhat the item is (design 3.5); stored words are served (Q8).
colorNo
providerNobricklink

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 adds that it shares 'body and errors' with the by-number paths, but this is vague and does not disclose error cases, missing-item behavior, or response structure.

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 front-loaded and useful, but the second is a vague cross-reference and the third merely restates the parameter names already visible in the schema. It is compact but includes redundant and low-information wording.

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 four-parameter read-only tool with no output schema, the definition should clarify return shape and how it relates to the by-number siblings. Instead, it relies on an unspecified 'by-number paths' reference and leaves several parameter semantics and result behavior unclear.

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 only 25%; the description lists parameter names but mostly repeats the schema and adds just 'provider number' for key and 'colour in the provider space.' It leaves key format, provider selection semantics, kind behavior, and color meaning largely unspecified.

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 gives a specific verb ('Find') and resource ('the item') and indicates provider-number scope, so the basic action is clear. It does not explain how lookup_item differs from get_item or the get_*_by_number siblings, so it falls short of full sibling differentiation.

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?

The only usage cue is 'for any provider number,' which implies a lookup when a provider-specific identifier is known. It never says when to choose this tool over get_item or the by-number tools, nor does it state prerequisites or exclusions.

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