Skip to main content
Glama

Family Hardware

Check availability

check_availability
Read-only

Online stock status for up to 10 SKUs: in stock, low stock or out of stock, with a capped quantity, lead time and minimum order quantity.

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

Input Schema

NameRequiredDescriptionDefault
skusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety and locality profile is covered. The description adds real value by enumerating the returned statuses and fields (capped quantity, lead time, minimum order quantity), but it says nothing about freshness of the data, per-SKU failure behavior, or what happens when a SKU is unknown.

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?

A single front-loaded sentence that packs scope, cap, status vocabulary, and returned fields with no filler. Nothing is repeated or 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, the description takes on the job of describing returns and does so concretely. It is nearly complete for a one-parameter read tool, missing only edge-case behavior such as partial or unknown SKU results.

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 description coverage is 0%, so the description must carry the load; it repeats the 'up to 10 SKUs' cap that maxItems already encodes but contributes no guidance on SKU format, casing, or how to handle invalid identifiers. With only one simple array parameter the gap is modest, so this lands at adequate rather than poor.

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?

States a specific resource (online stock status) and a concrete verb framing (check), and names the three status outcomes plus the accompanying fields. An agent can tell this is a stock-quantity lookup rather than pricing or catalog lookup, though it never names check_price or get_product_details as the contrast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use, when-not-to-use, or alternative routing is given. The word 'Online' hints that this reflects web-channel availability rather than warehouse inventory, but the agent must infer that, and nothing tells it whether to call this before check_price or create_cart_link.

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