Skip to main content
Glama

Cele mai vândute pe temă

top_produse
Read-onlyIdempotent

Întoarce cele mai vândute modele din ultimele 12 luni dintr-o temă a catalogului simoshop.ro. Teme acceptate: mot, botez, fetita, baiat, marturie, baita, cristelnita. Aceleași câmpuri per produs ca la căutare, plus categoria și linkul ei. Rezultatul este afișat utilizatorului într-un card vizual cu poza fiecărui produs, prețul, disponibilitatea și linkul paginii; în răspunsul text nu repeta lista de produse, nu insera poze și nu crea carduri de produs — scrie doar o propoziție de sinteză sau o recomandare scurtă, referindu-te la produse prin cod.

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": {
      "tema": "<tema>"
    },
    "name": "top_produse"
  }
}

Input Schema

NameRequiredDescriptionDefault
temaYesTema catalogului, una dintre: mot, botez, fetita, baiat, marturie, baita, cristelnita.
limitaNoCâte produse să întoarcă, între 1 și 10. Implicit 6.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limita / description
      Added value: +"Câte produse să întoarcă, între 1 și 10. Implicit 6."
    • addedInput schema / properties / tema / description
      Added value: +"Tema catalogului, una dintre: mot, botez, fetita, baiat, marturie, baita, cristelnita."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world, so the safety profile is settled. The description adds genuinely new behavior: a fixed 12-month sales window, results rendered as a visual card with photo/price/availability/link, and an explicit instruction not to restate the list or emit images/cards in text, referring to products by code instead. It does not disclose failure behavior for unknown themes.

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?

Content is front-loaded: what is returned, which themes, then payload and presentation constraints. It is somewhat long for four sentences, and the theme list duplicates the schema enum, which is the one clearly wasted segment.

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 explained, and the description instead covers the presentation contract an agent could not infer from structured fields. Minor gaps remain: ordering/tie-breaking, and behavior on an invalid theme, are unstated.

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 both parameters are already documented, and the description merely repeats the theme enumeration verbatim from the schema. The limita parameter (count, 1-10, default 6) is not mentioned at all in the description. Baseline 3 applies when the schema carries the parameter burden.

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 (returns best-selling models), a bounded scope (last 12 months) and a domain (a theme of the simoshop.ro catalog). It also links the payload shape to the sibling search tool ('aceleași câmpuri per produs ca la căutare'), so an agent can tell it apart from cauta_produse 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 Guidelines3/5

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

Usage is implied rather than stated: enumerate top sellers for a given theme. It never says when to prefer this over cauta_produse, nor what to do when a theme is not in the accepted list. The response-format instructions are strong, but they govern how to answer, not when to select the 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