Skip to main content
Glama

Svijet Beba — katalog dječje opreme

get_sizes

Read-onlyIdempotent

Dohvati varijante: available i available_sizes oznacavaju narucivost; in_stock i in_stock_sizes oznaku zalihe Y. Provjeri availability_text svake varijante.

Input Schema

NameRequiredDescriptionDefault
idYesPicture ID proizvoda

Output Schema

NameRequiredDescriptionDefault
sizesYes
has_sizesYes
product_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is fully covered. The description adds genuine semantic context by defining available/available_sizes as orderability and in_stock/in_stock_sizes as the 'Y' stock flag, but it says nothing about behavior for an invalid ID, empty variant sets, or caching.

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?

It is a single compact sentence that front-loads the action and then defines the key field semantics with no filler. The density and unglossed field names (available_sizes, in_stock_sizes) make it slightly cryptic, but nothing is wasted.

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?

An output schema exists, so return structure need not be explained, and annotations cover safety. What remains missing is enough context for a shop API agent: that this returns size/variant options for one product and how that differs from get_product_details. For a one-parameter read tool this is minimally adequate.

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%, with the single 'id' parameter documented as 'Picture ID proizvoda', so the schema carries the parameter burden. The description adds no further syntax, range, or example for the ID, which is acceptable at full coverage but not value-adding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says 'Dohvati varijante' (fetch variants) and explains what the availability fields mean, which is a specific resource. However, it never clarifies that these are product size/variant options tied to the 'Picture ID proizvoda' argument, and it does not distinguish itself from siblings like get_product_details or get_specs that could plausibly also return variant data.

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?

There is no statement of when to call this versus get_product_details or any other sibling, and no preconditions. The only directive, 'Provjeri availability_text svake varijante' (check each variant's availability_text), tells the agent how to read the result, not when to choose this tool.

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