Skip to main content
Glama

Get dispensary details

get_dispensary
Read-only

Full public record for one dispensary by OCM license number (e.g. "OCM-CAURD-23-000023"), verified alias, or legacy id. Includes hours, description, and license dates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesLicense number, alias, or legacy id

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
foundYes
sourceNoAttribution line — CC BY 4.0, cite the row url
messageNo
dispensaryNo
dataUpdatedNoISO timestamp of the underlying directory export

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "dataUpdated": {
      +      "description": "ISO timestamp of the underlying directory export",
      +      "type": "string"
      +    },
      +    "dispensary": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "address": {
      +          "type": "string"
      +        },
      +        "amenities": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "city": {
      +          "type": "string"
      +        },
      +        "claimed": {
      +          "type": "boolean"
      +        },
      +        "closure": {
      +          "additionalProperties": true,
      +          "description": "Present only when the shop has closed",
      +          "properties": {
      +            "announcedDate": {
      +              "type": "string"
      +            },
      +            "date": {
      +              "type": "string"
      +            },
      +            "notes": {
      +              "type": "string"
      +            },
      +            "reason": {
      +              "type": "string"
      +            },
      +            "temporary": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "county": {
      +          "type": "string"
      +        },
      +        "dba": {
      +          "description": "Legal entity name",
      +          "type": "string"
      +        },
      +        "deliveryZipCodes": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "description": {
      +          "type": "string"
      +        },
      +        "distance": {
      +          "description": "Miles from `near`, when a near point was given",
      +          "type": "number"
      +        },
      +        "geocodeAccuracy": {
      +          "type": "string"
      +        },
      +        "googleRating": {
      +          "type": "number"
      +        },
      +        "googleReviewCount": {
      +          "type": "number"
      +        },
      +        "hours": {
      +          "additionalProperties": true,
      +          "description": "Posted hours by weekday",
      +          "properties": {},
      +          "type": "object"
      +        },
      +        "hoursToday": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "description": "OCM license number (directory id)",
      +          "type": "string"
      +        },
      +        "isDeliveryOnly": {
      +          "type": "boolean"
      +        },
      +        "isMedical": {
      +          "type": "boolean"
      +        },
      +        "isMicrobusiness": {
      +          "type": "boolean"
      +        },
      +        "lastVerified": {
      +          "type": "string"
      +        },
      +        "latitude": {
      +          "type": "number"
      +        },
      +        "licenseExpirationDate": {
      +          "type": "string"
      +        },
      +        "licenseIssueDate": {
      +          "type": "string"
      +        },
      +        "licenseType": {
      +          "type": "string"
      +        },
      +        "longitude": {
      +          "type": "number"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "neighborhood": {
      +          "description": "NYC neighborhood, when applicable",
      +          "type": "string"
      +        },
      +        "offersDelivery": {
      +          "type": "boolean"
      +        },
      +        "openNow": {
      +          "description": "Open right now by posted hours (New York time); absent when hours are unknown",
      +          "type": "boolean"
      +        },
      +        "operationalStatus": {
      +          "description": "Active | Non-Operational | Unknown",
      +          "type": "string"
      +        },
      +        "phone": {
      +          "type": "string"
      +        },
      +        "retailDateOpened": {
      +          "description": "YYYY-MM-DD the shop opened to the public",
      +          "type": "string"
      +        },
      +        "state": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "type": "string"
      +        },
      +        "tier": {
      +          "description": "open | coming-soon | delivery-only",
      +          "type": "string"
      +        },
      +        "url": {
      +          "description": "findweedny.com page — cite this",
      +          "type": "string"
      +        },
      +        "website": {
      +          "type": "string"
      +        },
      +        "zipCode": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "name",
      +        "url"
      +      ],
      +      "type": "object"
      +    },
      +    "found": {
      +      "type": "boolean"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "source": {
      +      "description": "Attribution line — CC BY 4.0, cite the row url",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "found"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description reinforces this by calling the record 'public'. It also discloses what the record includes (hours, description, license dates), adding useful behavioral context beyond the annotation.

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?

Two sentences with no redundancy. The core behavior and accepted identifier types are front-loaded, and the example is compact and informative.

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

Completeness5/5

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

For a single-parameter read-only lookup with an output schema present, the description covers the identifier variants and the essential record contents. No critical information needed to call the tool correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already documents the id parameter. The description adds value by giving a concrete OCM license number format and example, which helps the agent construct a valid identifier.

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?

States a specific verb and resource: retrieves the full public record for one dispensary. It clearly distinguishes from search_dispensaries by emphasizing singular lookup by identifier rather than search.

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

Usage Guidelines4/5

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

The description makes clear this is for retrieving a single dispensary when the caller already has a license number, verified alias, or legacy id. It does not explicitly say when to use search_dispensaries instead, but the singular 'for one dispensary' plus identifier-based lookup implies the appropriate context.

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.

Resources