Skip to main content
Glama

Compose subscription link

compose_subscription

Builds a link to the subscription builder (/subskrypcja/zestaw) based on a customer goal and optional preferences (zestaw, moc, forma), or falls back to the /produkty catalog with matching filters when subscriptions are temporarily disabled. Can also accept specific items (SKU:quantity) validated against the live catalog. Does NOT create a subscription or pay — returns a link for the CUSTOMER to click.

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": "compose_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault
celYesCustomer goal (required).
mocNoProduct line: prime or longevity.
formaNoPreferred product form.
itemsNoSpecific items as "SKU:quantity,SKU:quantity" (validated against catalog).
zestawNoSet size: hero (1 mushroom), start (2), full (4).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare non-read-only, non-destructive, closed-world; the description adds real behavioral context on top: a conditional fallback path when subscriptions are temporarily disabled, live-catalog validation of SKUs, and the fact that no purchase or subscription is created. It stops short of saying what a user sees when validation fails.

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, each earning its place: primary behavior and fallback first, alternate input mode second, negative scoping last. No filler or repetition of the title.

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 correctly tells the agent the return value is a clickable link for the customer, and it covers the fallback and item-validation paths. It omits precedence rules — e.g. whether items overrides cel/zestaw — which an agent composing a call would benefit from.

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% with enums documented for cel, moc, forma, and zestaw, and the 'SKU:quantity' format is already in the schema for items. The description frames zestaw/moc/forma as optional preferences and cel as required but adds no meaning beyond the structured fields, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb and artifact: it builds a link to the subscription builder at /subskrypcja/zestaw, with a named fallback to /produkty. The closing sentence ('Does NOT create a subscription or pay') cleanly separates it from order-placement siblings, though the relationship to the Polish-named equivalent zloz_subskrypcje is left unaddressed.

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?

Gives clear conditions: use with a customer goal plus optional preferences, or pass explicit SKU:quantity items, and note that it degrades to catalog filtering when subscriptions are disabled. It never names an alternative sibling (compose_cart, place_order) to say when that other tool is the right pick, so there are no explicit exclusions.

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