Skip to main content
Glama

Habsziget Webshop

get_product_price

Read-onlyIdempotent

Második lépés a normál termékek árazásához: Lekéri a kiválasztott termékváltozat pontos árát és készletét a megadott méretek (selected_attributes) alapján. A termék azonosításához KÖTELEZŐ az előzmények rejtett megjegyzéséből kiolvasott product_id megadása! TILOS ezt meghívni egyedi méretű téglatestre/tömbre, arra a calculate_custom_cuboid való!

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": {
      "selected_attributes": "<selected_attributes>"
    },
    "name": "get_product_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
quantityNoA vásárló által kért darabszám (alapértelmezett: 1).
product_idNoA korábban visszakapott azonosító. Ha nem tudod, hagyd üresen!
product_nameNoA termék ragozás nélküli neve (pl. 'henger'). Ezt a paramétert használd, ha a product_id már nem áll rendelkezésre!
selected_attributesYesA kiválasztott méretek/tulajdonságok listája. KIZÁRÓLAG a get_product_schema 'required_parameters' listájából származhat! Ha a terméknek nincs ilyen listája (egyszerű termék), kötelező üres tömbként ([]) átadni!

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 readOnly, idempotent, non-destructive, so safety needs no restating. The description adds real behavioral context: it reads price AND stock, requires a product_id sourced from prior conversation history, and rejects custom-dimension bricks. It doesn't describe failure behavior when the variant or size combination is unknown, which keeps it below a 5.

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 action and scope, then the prerequisite, then the exclusion — a sensible order. Three sentences with no filler; the bolded caps are intentional emphasis rather than noise, though the double emphasis slightly clutters the read.

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?

Covers purpose, prerequisite, exclusion, and what is returned (price and stock), which is adequate for a read-only lookup with no output schema. What's missing is behavior for the required-but-possibly-absent product_id conflict and any note on how selected_attributes must match get_product_schema output beyond the schema text itself.

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%, so the baseline is 3. The description adds one genuinely useful fact (product_id is read from a hidden note in history), but it also asserts product_id is KÖTELEZŐ while the schema says 'Ha nem tudod, hagyd üresen!' and only selected_attributes is required — this conflict is not resolved in the description, so it doesn't reliably add parameter clarity.

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 ('Lekéri a kiválasztott termékváltozat pontos árát és készletét') and positions the tool in a workflow ('Második lépés a normál termékek árazásához'). It explicitly warns it must not be used for custom-sized products, naming the sibling calculate_custom_cuboid, so an agent can distinguish it without opening schemas.

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?

Gives an explicit when-not ('TILOS ezt meghívni egyedi méretű téglatestre/tömbre') paired with the correct alternative ('arra a calculate_custom_cuboid való'), plus the precondition that product_id comes from a hidden note in history. Both routing and prerequisites are stated, not left to inference.

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