Skip to main content
Glama

A2A Cosmetics

Get Availability

get_availability
Read-onlyIdempotent

In stock, and where: the availability block of a product (banners on the shelf of record, product URLs read live at load, store counts where the retailer record carries one) once gate_transaction has answered allow (decision_id).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gtinYes
marketNo
decision_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, the description reveals that product URLs are read live at load and that store counts appear only when the retailer record carries one. It also discloses the gate_transaction dependency, giving the agent a realistic model of behavior.

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?

A single dense sentence with no filler and a clear front-loaded summary ('In stock, and where'). The parenthetical is jargon-heavy but compact; it earns its place by describing the payload variants.

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?

The output schema covers return details, and annotations cover side effects, so the description does not need to repeat those. However, the lack of explicit parameter documentation, especially market, leaves an agent to guess part of the invocation contract.

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?

Schema description coverage is 0%, so the description must clarify parameters. It only clarifies decision_id (as the gate_transaction decision id). gtin is implied as the product identifier but never stated, and market is entirely unexplained.

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?

The description identifies exactly what the tool returns—the availability block of a product, including in-stock status and location (banners, live product URLs, store counts). It ties the call to a specific prerequisite (gate_transaction answered allow), which distinguishes it from sibling retrieval tools like get_item or get_price.

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?

It clearly states when this tool is appropriate: after gate_transaction returns allow, and it names the required decision_id. It does not explicitly list alternatives or when-not conditions, but the gating condition gives concrete context for selection.

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.