Skip to main content
Glama

quote_inventory_available

Atomically quote price + delivery + reserve stock for a SKU on droplinked. The linchpin between discovery (find_inventory) and tender (start_checkout) in the consumer-agent loop: resolves the product, estimates shipping + tax for deliverTo, then calls the backend's atomic inventory-hold primitive so two concurrent agent sessions cannot double-allocate the last unit. Returns {available, hold?, pricing?, delivery?} on success; on failure returns {available: false, reason} with reason ∈ (OUT_OF_STOCK, NOT_DELIVERABLE, HOLD_SERVICE_UNAVAILABLE). Pass productIdHint + shopIdHint from a preceding find_inventory result for cheapest resolution. Default hold TTL 900s (15min), hard cap 3600s (1h).

AUTH: not on the public read tier — calling this without a valid X-MCP-API-Key returns JSON-RPC error -32001 with data.code=MCP_API_KEY_REQUIRED and never reaches the tool. Request a key from ops@droplinked.com. Discovery, catalogue and trust-fabric reads need no credential.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuIdYes
quantityYes
deliverToYes
holdTtlSecNo
shopIdHintNo
agentBearerNo
productIdHintNo
consumerAgentKindNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond annotations by disclosing the atomic-hold behavior that prevents double allocation, the exact success/failure return envelope, the failure reason enum, the API-key auth failure mode, and default/hard TTL limits. This is consistent with readOnlyHint=false and idempotentHint=false.

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?

Every sentence earns its place: function first, then pipeline mechanics, return contract, parameter hints, TTL policy, and auth requirements. It is dense but well-organized, with the most important facts front-loaded.

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?

For a high-complexity, 8-parameter tool with no output schema, it covers auth, return shape, failure reasons, concurrency behavior, TTL policy, and hint usage. The only gaps are the two optional credential/context parameters (agentBearer, consumerAgentKind) and no explicit statement of quantity semantics, so it is nearly complete but not exhaustive.

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?

With schema description coverage at 0%, the description carries the burden and explains deliverTo (shipping/tax), productIdHint/shopIdHint (from find_inventory), and holdTtlSec (900s default, 3600s cap). However, agentBearer and consumerAgentKind are not explained, and skuId/quantity are only implied by the SKU/reserve wording.

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 opens with a precise verb-object pair: 'Atomically quote price + delivery + reserve stock for a SKU on droplinked', and situates the tool in the agent loop between find_inventory and start_checkout. This clearly distinguishes it from the many related commerce tools without needing to inspect schemas.

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 gives clear placement in the consumer-agent pipeline (after find_inventory, before start_checkout) and instructs the caller to pass productIdHint + shopIdHint from a preceding find_inventory result. It also warns that this tool is not on the public read tier, unlike discovery/catalogue reads, though it does not explicitly name alternative tools for other scenarios.

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