Skip to main content
Glama

HALO Homebridge AI Surfaces

Get live Homebridge product images and videos

get_homebridge_product_media
Read-onlyIdempotent

Read Shopify-hosted media data for one approved Homebridge major-category product when the buyer explicitly asks for additional images, videos, or a media gallery. Pass the exact live SKU to prioritize the image associated with its Shopify variant ID. Prefer the returned native image content. If a client cannot display it, reproduce the supplied Markdown fallback unchanged; never convert it to raw HTML. Do not call this after configure_homebridge_fire_pit merely to show the resolved product: that tool already renders its exact product card. After inspecting this result, call display_homebridge_product_media with the same selection only for an explicit media/gallery request. Media remains hosted by Shopify or its declared provider; this read-only tool creates no cart, checkout, order, or payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuNo
limitNo
categoryYes
mediaTypesNo
productHandleYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
mediaYes
productYes
boundariesYes
mediaCountYes
generatedAtYes
schemaVersionYes
dataProvenanceYes
selectedVariantYes
requestedMediaTypesYes

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already indicate a safe read-only operation, and the description adds meaningful behavior beyond that: media remains Shopify-hosted, no cart/checkout/order/payment is created, and the caller must prefer native image content while reproducing the Markdown fallback unchanged rather than converting it to HTML. These are operational traits an agent cannot infer from 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 dense but every clause earns its place: purpose, trigger, SKU guidance, fallback handling, a false-positive exclusion, a downstream routing instruction, and side-effect guarantees. The critical purpose and usage are front-loaded rather than buried.

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?

For a five-parameter tool with an output schema, the description covers purpose, routing, output handling, and side effects. The main gap is that it does not explain productHandle/category/limit/mediaTypes semantics in prose, though the schema enums and names are self-describing. An agent selecting the tool would have enough context not to misuse it.

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 compensate, but of the five parameters only sku receives extra meaning ('Pass the exact live SKU to prioritize the image associated with its Shopify variant ID'). category, productHandle, limit, and mediaTypes are left entirely to their names and schema constraints.

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 opens with a specific verb+resource ('Read Shopify-hosted media data') and an explicit trigger ('when the buyer explicitly asks for additional images, videos, or a media gallery'). It also distinguishes itself from sibling display_homebridge_product_media by noting that the display tool should be called afterward only for an explicit media/gallery request.

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

Usage Guidelines5/5

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

It gives an explicit when-to-use condition and a clear when-not-to-use: 'Do not call this after configure_homebridge_fire_pit merely to show the resolved product.' It also names the downstream alternative (display_homebridge_product_media) and the condition for switching to it.

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.

TDQS

A4.1/5.0
Disambiguation3/5

Several tools cluster around similar actions: category listing vs. per-category catalog, media retrieval vs. media display, and fire-pit configuration vs. major-variant resolution. The long guardrail descriptions help, but an agent could easily misselect without reading them carefully.

Naming Consistency4/5

Tool names are consistently snake_case verb_noun with a homebridge domain prefix, and verbs like get, list, configure, resolve, qualify, and prepare clearly signal actions. Minor inconsistencies exist, such as mixing list and get for read operations and using get_halo_connection_status instead of the usual homebridge prefix.

Tool Count5/5

Ten tools fit the browse-qualify-resolve-media-checkout workflow without feeling bloated. Each tool serves a distinct phase or role in the buyer journey, from connection status and category discovery to exact variant resolution and checkout handoff.

Completeness4/5

The server covers the full buyer journey for its stated domain: discover categories, qualify fire-pit choices, resolve exact variants, retrieve and display media, and prepare checkout. Minor gaps exist, such as no broad product search or cart/order management, but those appear intentionally out of scope for this Shopify handoff server.

Resources