Skip to main content
Glama

Get Availability

get_availability

Availability of a presentation after the gate (decision_id required): the availability block — banners[] on the shelf of record with licence footnote, pos_count (chain points of sale from the CPG Knowledge Graph retailer registry, or licensed dispensers on the provider directory for medicines), product_urls[] (retailer product page, register page, holder page) — plus tenant offers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tenantNo
decision_idYes
presentation_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of explaining tool behavior. It does so by detailing the returned availability block, including banners[], pos_count, product_urls[], and tenant offers, and even discloses the data sources for pos_count. It stops short of describing error conditions or ordering guarantees, but it is substantially transparent for a read-oriented tool.

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

Conciseness3/5

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

The description is a single dense sentence with many embedded clauses and technical parentheticals. It contains useful detail, but the structure is somewhat tangled and could be front-loaded more clearly as a direct statement of what the tool returns. Every part adds some value, but readability suffers from heavy nesting.

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

Completeness3/5

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

An output schema exists, so the description does not need to fully enumerate return values. Still, the description leaves workflow context implicit by referring to 'the gate' and 'shelf of record' without defining them or explaining the prerequisite state. It is adequate for a domain-literate agent but incomplete for selecting the tool confidently among many similar siblings.

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?

The schema description coverage is 0%, so the description must compensate for undocumented parameters. It does clarify that decision_id is required and that 'tenant offers' relates to the tenant parameter, but it does not explain presentation_id, the nullable tenant behavior, or what identifier formats are expected. This is only partial compensation for a low-coverage schema.

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 names a specific resource ('presentation') and a specific context ('after the gate'), and enumerates what the availability block contains. It does not explicitly use a verb like 'returns' or 'gets', but the meaning is clear and it is clearly distinct from sibling tools such as get_price or get_item.

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 description implies when to use the tool by stating 'after the gate' and that decision_id is required. However, it does not explicitly state when not to use it, mention prerequisites like completing a gate transaction first, or reference any alternative sibling tool such as gate_transaction or get_pathway_status.

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.