Skip to main content
Glama

Toys Hub

Check availability

check_availability
Read-onlyIdempotent

Whether a product can be ordered now in the wanted quantity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYes
quantityNo

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, idempotentHint, and destructiveHint, covering the safety profile. The description adds the real-time aspect ('now') but nothing else about side effects, rate limits, or response format. Given the strong annotation coverage, this is acceptable but not exceptional.

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?

The description is a single sentence with zero filler. It directly states the tool's purpose without unnecessary elaboration, making it easy to parse.

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?

Given the simple schema and read-only annotations, the description is minimally sufficient. However, it does not specify the return value (likely boolean) or any constraints on availability (e.g., stock vs. shipping). For a basic tool this might suffice, but a clearer statement of the expected output would improve completeness.

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 coverage is 0% and the description does not explain what 'slug' refers to (presumably product identifier) or the meaning of 'quantity' beyond 'wanted quantity'. The schema provides defaults and bounds for quantity, but the description does not compensate for the lack of param documentation. An agent would need to infer slug's purpose.

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 clearly states the tool checks whether a product can be ordered in a given quantity. It uses a specific verb ('check availability') and resource ('product'), and it distinguishes itself from siblings like get_product (which fetches product details) and search_products (which finds products). No ambiguity.

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 guidance on when to use this tool versus alternatives. It doesn't mention that this is for verifying order feasibility before cart creation, or that it should not be used for product details (use get_product). The context is implied by the name but not explicitly 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.

Resources