Skip to main content
Glama

Link cu personalizarea completată

link_personalizat
Read-onlyIdempotent

Construiește linkul către pagina unui produs personalizabil de pe simoshop.ro cu textele de gravură deja completate (de exemplu numele și datele copilului) și, opțional, varianta aleasă. Folosește-l după ce clientul a ales produsul și ți-a spus textele; nu inventa valori. Trimite mereu și link_produs, linkul exact din rezultatul căutării (același cod poate avea mai multe produse). Cheile din campuri sunt numele exacte din campuri_personalizare, iar varianta folosește grupurile și opțiunile din variante. Clientul deschide linkul, verifică textele pe pagină și apasă „Adaugă în coș”.

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": {
      "cod": "<cod>",
      "campuri": "<campuri>"
    },
    "name": "link_personalizat"
  }
}

Input Schema

NameRequiredDescriptionDefault
codYesCodul produsului din rezultatul căutării (de exemplu 'E2052').
campuriYesTextele de gravură: cheia e numele exact al câmpului din campuri_personalizare, valoarea e textul spus de client (de exemplu {'Numele copilului': 'Luca'}).
variantaNoOpțional: varianta aleasă, cheia e grupul din `variante`, valoarea e opțiunea (de exemplu {'Banut pentru': 'fetita'}).
link_produsNoOpțional: linkul exact al produsului din rezultat, necesar când același cod are mai multe produse.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is covered; the description adds the important behavioral fact that the tool only produces a link and the customer must open it, verify the texts and press "Adaugă în coș" themselves. It does not cover error behavior when field names don't match, but the key caveat (same code, multiple products, so link_produs is required) is disclosed.

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?

The action and constraints are front-loaded in the first two sentences, with parameter rules and the customer flow following. It is dense but every sentence carries a constraint or a dependency; the closing sentence about the customer pressing "Adaugă în coș" is borderline but does clarify the tool's boundary.

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?

With an output schema present, return values need not be explained, and all four parameters (including the nested campuri/varianta objects) are covered. What remains unstated is failure handling — e.g. what happens if a field name doesn't exist in campuri_personalizare — which matters for a link-construction tool with strict key matching.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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, but the description adds cross-tool semantics the schema can't: keys in `campuri` must be the exact names from campuri_personalizare, and `varianta` uses the groups/options from `variante`. It also reinforces why link_produs exists beyond its schema note.

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?

The description states a specific verb and artifact: it builds a link to a customizable product page on simoshop.ro with the engraving texts already filled in, plus an optional variant. That is clearly distinguishable from the sibling search tools (cauta_produse, top_produse), which return results rather than construct a link.

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?

It says exactly when to call it (after the customer picked the product and supplied the texts), gives an explicit prohibition ("nu inventa valori"), and mandates passing link_produs because the same code can map to multiple products. It also ties the inputs back to the outputs of other tools (campuri_personalizare, variante, search results).

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