Skip to main content
Glama
kadal-store

kadal-store

Official

A link to buy

create_buy_link
Read-only

Generate a store review link for selected items so users can check prices, licences, owned items, and totals, then pay at checkout; it charges and buys nothing. Use only after they agree to buy.

Instructions

A link to a review page on the store where the person sees each item (picture, licence, price), anything they already own, and the total, and pays in the checkout themselves. Only when the person asked to buy or agreed to it; building the link charges nothing and buys nothing. Give them the URL, and never say something was bought.

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": {
      "items": "<items>"
    },
    "name": "create_buy_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoWhere the link came from, for the store's counts (default agent).
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • changedInput schema / properties / items / items / properties / tier / description
      Previous value: -"standard (default), personal or commercial: see the licence in get_product."New value: +"Leave it out for the cheapest licence on sale, or name standard, personal or commercial: see the licence in get_product."
  2. First observedv0.1.1

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses the crucial behavioural fact that building the link charges nothing and buys nothing, and instructs the agent to hand over the URL and never claim a purchase occurred. That is exactly the context an agent needs to avoid a costly misstatement, and it also implies the return value is a URL.

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?

Compact and mostly front-loaded: what the link is, then when to use it, then the no-purchase caveat. The first sentence is a long run-on that takes a second read, but every clause carries useful information and nothing is padding.

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?

For a two-parameter tool with no output schema, the description covers what the link leads to, the safety semantics and what to do with the result. It omits the 20-item cap and error cases, but those are minor for a link-builder.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%, so the description should compensate, but it never mentions 'items', 'slug', 'tier' or 'ref'. The licence tiers and the meaning of omitting a tier are documented only in the schema, and the description adds no meaning about which items or how many can be included.

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?

The description makes clear that the tool produces a link to a store review/checkout page showing items, licences, prices and totals. The verb is implicit ('building the link') rather than stated outright, and no sibling is named, but an agent can tell this apart from get_download_links or get_product from the checkout framing.

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 gives an explicit precondition: 'Only when the person asked to buy or agreed to it.' That is a clear when-to-use rule with an implied exclusion (do not use it unsolicited). It stops short of naming alternatives such as get_product for inspection or get_download_links for free items.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.