Skip to main content
Glama

Link do kreatora subskrypcji

zloz_subskrypcje

Buduje link do kreatora subskrypcji (/subskrypcja/zestaw) na podstawie celu klienta i opcjonalnych preferencji (zestaw, moc, forma), a gdy subskrypcje sa chwilowo wylaczone, kieruje do katalogu /produkty z wybranymi filtrami. Moze tez przyjac konkretne pozycje (SKU:ilosc) walidowane wobec zywego katalogu. NIE tworzy subskrypcji ani nie placi — zwraca link, ktory KLIENT klika sam.

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": {
      "cel": "<cel>"
    },
    "name": "zloz_subskrypcje"
  }
}

Input Schema

NameRequiredDescriptionDefault
celYesCel klienta (wymagany).
mocNoLinia produktu: prime albo longevity.
formaNoPreferowana forma produktu.
itemsNoKonkretne pozycje jako "SKU:ilosc,SKU:ilosc" (walidowane wobec katalogu).
zestawNoRozmiar zestawu: hero (1 grzyb), start (2), full (4).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations it discloses the key behavioral facts: the tool returns a link that the CLIENT clicks themselves, no subscription is created and no payment is taken, SKUs are validated against a live catalog, and there is an automatic fallback to /produkty when subscriptions are disabled. The annotations (readOnlyHint=false) are the weaker signal here, and the description correctly clarifies the actual side-effect profile rather than contradicting it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, zero filler, with the core function front-loaded and the negative disclaimer ('NIE tworzy...') placed at the end where it reads as a clarifying guardrail. Every sentence contributes new information.

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 no output schema, the description usefully tells the agent what comes back (a link the client clicks) and how the behavior changes in the disabled-subscriptions case. Minor gap: the precedence between the `items` mode and the `zestaw`/`moc`/`forma` preference mode is never resolved.

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% and four of five parameters carry enums, so the schema already does the heavy lifting; the description only restates the parameter families ('zestaw, moc, forma', 'SKU:ilosc') and adds the note that items are validated against the live catalog, which the schema already mentions. No guidance is given on what happens when items are supplied alongside zestaw/moc/forma.

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 gives a specific verb and resource ('Buduje link do kreatora subskrypcji (/subskrypcja/zestaw)') and immediately delimits it negatively: 'NIE tworzy subskrypcji ani nie placi — zwraca link'. That negation separates it cleanly from ordering/subscription-creating siblings such as zloz_zamowienie or compose_subscription without the agent needing to open their schemas.

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?

It states two concrete usage conditions: the normal path (goal + optional preferences) and the degraded path ('gdy subskrypcje sa chwilowo wylaczone, kieruje do katalogu /produkty'), plus the alternative input mode via explicit SKU:qty items. It stops short of naming which sibling to call when the client actually wants to buy, so routing to the ordering tools is only implied.

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