Skip to main content
Glama

TATUAT.RO — Tattoo & Piercing Supplies

Verifică stocul unui produs pe tatuat.ro

get_stock
Read-onlyIdempotent

Verifică disponibilitatea reală a unui produs (sau al unei variante a lui, ex. o mărime) pentru o cantitate cerută de client, folosind slug-ul întors de search_products. Întoarce una din patru stări — disponibil integral acum, parțial disponibil cu rest pe precomandă, precomandă integrală (stoc 0), sau cantitate la plafonul maxim comandabil — plus un text pe care îl poți spune clientului fără să inventezi o cifră.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qtyNoCâte bucăți vrea clientul să comande. Implicit 1, maximum 9999.
slugYesIdentificatorul textual (slug) al produsului, ca cel întors de search_products sau din URL-ul /product/<slug>.
variant_idNoID-ul variantei (ex. mărimea acului) al cărei stoc se verifică. Omite pentru produsele fără variante — sau ca să se verifice varianta implicită a produsului.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesAdresa fișei de produs pe tatuat.ro.
slugYesSlug-ul produsului verificat.
stateYesStarea de stoc: in_stock = toată cantitatea cerută e disponibilă acum; partial = doar o parte e disponibilă acum, restul intră pe precomandă; preorder = stoc 0, toată cantitatea intră pe precomandă; max = cantitatea cerută atinge exact plafonul maxim comandabil pe această linie.
product_idYesIdentificatorul numeric stabil al produsului.
variant_idYesID-ul variantei verificate, sau null dacă produsul nu are variante.
product_nameYesNumele comercial al produsului.
variant_nameYesNumele variantei verificate (ex. mărimea), sau null dacă produsul nu are variante.
available_nowYesCâte bucăți din cantitatea cerută se pot onora chiar acum, din stocul curent.
backorder_qtyYesCâte bucăți din cantitatea cerută ar intra pe precomandă (0 dacă tot e disponibil acum).
max_orderableYesCantitatea maximă comandabilă acum pe această linie de produs (plafon de linie).
requested_qtyYesCantitatea cerută în input.
order_restrictionYesRestricția de comandă a produsului, sau null dacă n-are niciuna. hu_only = se poate comanda DOAR cu livrare în Ungaria; o comandă cu livrare în România va fi refuzată la plasare, oricât stoc ar exista.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / order_restriction
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "hu_only"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Restricția de comandă a produsului, sau null dacă n-are niciuna. hu_only = se poate comanda DOAR cu livrare în Ungaria; o comandă cu livrare în România va fi refuzată la plasare, oricât stoc ar exista."
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "slug",
      -  "product_id",
      -  "product_name",
      -  "variant_id",
      -  "variant_name",
      -  "url",
      -  "requested_qty",
      -  "state",
      -  "available_now",
      -  "backorder_qty",
      -  "max_orderable"
      -]New value: +[
      +  "slug",
      +  "product_id",
      +  "product_name",
      +  "variant_id",
      +  "variant_name",
      +  "url",
      +  "requested_qty",
      +  "state",
      +  "available_now",
      +  "backorder_qty",
      +  "max_orderable",
      +  "order_restriction"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare it a safe, idempotent read (readOnlyHint, idempotentHint true; destructiveHint false), so the safety burden is lifted. The description adds genuinely useful behavior: it enumerates the four return states (full availability, partial with preorder remainder, full preorder, quantity at cap) and notes it returns client-safe text, which is more than the annotations give.

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-loads the verb and the core scope, then appends the return-state summary and the client-safe-text note. Both sentences earn their place, though the enumeration of four states is somewhat dense for a single sentence.

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?

An output schema exists, so return values need not be fully explained, yet the description still summarizes the four states helpfully. With 100% param coverage and full annotation coverage, the definition is complete enough for correct invocation; nothing essential is missing.

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 100%, so the baseline is 3. The description dwells on the product/variant relationship and qty intent, but adds no format or syntax detail beyond what the schema already documents for slug, variant_id, and qty.

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+resource (check the real availability of a product or variant for a requested quantity) and scopes it precisely to tatuat.ro, using the slug returned by search_products. An agent can distinguish this from get_product (details) or search_products (discovery) without opening either schema.

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?

Explicitly tells the agent to use the slug returned by search_products, which routes from the discovery sibling, and frames the qty input as what the client wants to order. It lacks an explicit when-not or a stated alternative such as get_product, so it stops short of a 5.

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.