Skip to main content
Glama

Check a product's availability

current_rms_check_product_availability
Read-only

Rental availability for ONE product over a date range: arrays of quantity held, booked, unavailable, available, on sub-rent and quoted — one entry per availability period (hour, quarter day, half day or day depending on the range and system setting) — plus the opportunities that book it. Read-only, even though the API uses POST. Current RMS: POST /availability/product.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
starts_atYesStart date, ISO 8601, e.g. 2026-10-01.
store_idsNoOnly these stores.
product_idYesThe product id.
days_periodYesNumber of days to report on.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, but the description adds the notable fact that the API uses POST despite being read-only, which prevents an agent from wrongly treating it as a mutation. It also discloses the return payload structure (per-period quantity arrays plus opportunities), important since there is no output schema. Pagination and error behavior remain undisclosed.

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?

Front-loaded with the core resource and scope, then return shape, then the read-only caveat. Every clause carries information, though the em-dash-nested enumeration makes the opening sentence dense and slightly hard to parse.

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, the description correctly assumes the burden of describing the return value, and it does so at field-family level. Missing are pagination/size limits and how store_ids filters or aggregates results, which an agent would need for edge cases.

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 baseline is 3, but the description adds real meaning beyond the terse schema text: it explains that period granularity (hour, quarter day, half day, day) depends on the range and a system setting, which clarifies the effect of days_period. It does not clarify store_ids aggregation behavior.

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 (check availability) and resource (rental availability for ONE product over a date range), and enumerates exactly what is returned: held, booked, unavailable, available, on sub-rent and quoted quantities per period, plus the booking opportunities. This is distinguishable from siblings like list_product_inventories or list_stock_levels without opening any schema.

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?

The 'ONE product over a date range' scoping implies when the tool applies, but no alternatives are named and no when-not-to-use condition is given (e.g., versus list_product_inventories for multi-product stock views). Usage is inferable, not stated.

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.