Skip to main content
Glama

Sielos Mineralai

check_availability

Read-only

Tikrina iki 50 prekių gyvą likutį ir kainą centais (su PVM) pagal slug arba ID. Jei can_order=false, prideda iki 2 analogų – tai nėra rezervacija. Tik likučio patikrai. Detalei – get_product. Krepšelio nuorodai – create_checkout_link.

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

Input Schema

NameRequiredDescriptionDefault
idsYesPrekių ID arba slug sąrašas.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare it a safe, read-only, closed-world operation, and the description adds real context beyond them: the response includes live stock and VAT-inclusive price in cents, up to 2 analog products are appended when can_order=false, and it is explicitly not a reservation. It stops short of describing batching/pagination or error behavior, but the analog fallback and non-reservation caveat are exactly the behavioral details an agent needs.

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?

Front-loaded with the core capability, then constraints and sibling routing in tight clauses with no filler. Slightly dense with several clauses packed together, but every sentence earns its place.

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 one-parameter, read-only tool with no output schema, the description covers return content (stock, VAT-inclusive price), the can_order=false analog behavior, and the non-reservation caveat. Only minor gaps remain, such as what can_order means precisely and behavior at the 50-item boundary, which the schema partly covers.

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 coverage is 100% and the single parameter already documents ID-or-slug plus maxItems=50, so the description's 'pagal slug arba ID' and 'iki 50' largely restate structured data. Baseline 3 applies since the schema carries parameter meaning.

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?

States a specific verb and resource: checks live stock and price in cents (incl. VAT) for up to 50 items by slug or ID. The scope (batch of 50, price-in-cents) and the boundary against get_product and create_checkout_link make it unmistakable which capability this covers.

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

Usage Guidelines5/5

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

Explicitly scopes usage with 'Tik likučio patikrai' (only for stock checking) and routes two adjacent intents elsewhere: product detail to get_product, cart link to create_checkout_link. An agent has both the when-to-use and the when-to-use-something-else condition.

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