Skip to main content
Use identify_band when you want the complete matching workflow. It combines local visual search, visible text, structured band evidence, catalog validation, and bounded research when needed.

Complete workflow

Attach a reachable image URL and ask your client:
The client calls identify_band with input like:
The result uses matched, suggestions, or unmatched. A match or suggestion with a cigar ID has been reloaded from the current Boxpressd catalog. A sourced result without a catalog ID appears as a pending suggestion for confirmation and later review.

Multi-cigar photos

Call detect_cigar_regions first when one photo contains several cigars:
The result contains ordered JPEG data URI crops. Run identify_band once for each crop. A valid image with no confident cigar regions returns an empty cigars array instead of an error.

Inspect each stage

Use staged tools when your interface shows evidence or lets a user confirm ambiguous results:
  1. Call find_similar_cigars, recognize_cigar_text, and fingerprint_cigar_image with the same image.
  2. Pass the complete fingerprint to match_cigar_fingerprint.
  3. If close candidates remain, call analyze_band with the fingerprint and candidates.
  4. Pass complete stage responses to identify_band under stageResults.
Use the complete fingerprint returned by the tool. The abbreviated object above shows only the relevant shape. Band analysis changes the ranking only when stored color-role evidence is decisive. It can reject the candidate set without inventing a new match. Visible printed cigar-name text stays authoritative when it conflicts with palette evidence.

Wrapper variants

Call analyze_cigar_wrapper when candidates describe the same cigar identity with different wrappers, such as Natural and Maduro.
The tool discriminates among supplied variants. It does not search for a different cigar. An inconclusive result leaves both candidates available for user selection.

Retry paid calls

The MCP server creates idempotent Developer API requests for paid tools. If a call fails because credits or entitlement are unavailable, it stops before the protected AI work. See MCP billing for the error flow.