Skip to main content
Glama

Check availability

check_availability
Read-onlyIdempotent

Check whether a Dallas shop has an item in stock: read one offering's stored availability without sign-in; this does not refresh the provider. Stock comes from a shop's connected Square or Shopify inventory, or from a merchant CSV upload, only where the shop has provided that data. Returns id, title, priceCents, price_type, price, price_display, source_type, data_age_seconds, data_coverage, availability and withheld. Availability is null unless that data within its freshness window, a non-listed plan, and billing switched on (test or live) allow it; withheld results include contact next steps. A missing offering returns offering_not_found.

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": {
      "offering_id": "<offering_id>"
    },
    "name": "check_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
offering_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description still adds real value beyond that: no sign-in required, no provider refresh, upstream data sources (Square/Shopify/CSV), and the precise gating conditions (freshness window, non-listed plan, billing on in test or live) under which availability is null versus withheld with contact next steps.

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

Conciseness4/5

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

Purpose is front-loaded in the first clause and every later clause carries a distinct constraint or contract detail. The middle 'Returns id, title, priceCents…' enumeration is long but justified because there is no output schema; the prose is dense but not padded.

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?

With no output schema, listing the returned fields and the null/withheld semantics plus the offering_not_found error makes the contract essentially complete for a one-parameter read. The only material omission is how to source the offering_id in the first place.

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?

Schema coverage is 0%, so the description must carry the parameter burden, and it only partially does. It clarifies that offering_id addresses a single offering and that a bad id yields offering_not_found, but it never says where an agent obtains an offering_id (presumably search_local_offerings), which is the practical gap for a single required UUID.

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 opens with a precise verb and resource: read the stored availability of one offering at a Dallas shop, explicitly not refreshed from the provider. That single-offering scope implicitly separates it from search_local_offerings, but no sibling is named, so an agent must infer the boundary rather than read it.

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?

It establishes context ('without sign-in', 'does not refresh the provider'), which implies this is the cheap, cached lookup path, but it never states when to prefer it over search or a refresh flow, nor any exclusions. Usage is implied rather than prescribed.

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