Skip to main content
Glama

0cean

Shop for a wish in the person's words

shop_for_wish
Read-only

Takes what the person wants, in any language: the product or who it is for, a budget, the country. Returns stores' offers, or one question when it names no product. To go on, call again with the person's answer and the record the last answer gave. Nothing is 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": {
      "wish": "<wish>"
    },
    "name": "shop_for_wish"
  }
}

Input Schema

NameRequiredDescriptionDefault
wishYesWhat the person wants: the product or who it is for, a budget, the country. Leave out names, addresses, cities and other personal details.
limitNoHow many offers, best first. Default 10.
recordNoOptional. The `record` the last answer gave, to go on from it.
countryNoOptional. The buyer's country, two letters (ISO 3166-1): "DE", "GB".
currencyNoOptional. The buyer's currency, three letters: "EUR".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint, so the safety bar is lower; the description still adds two things not in the annotations: the offer-or-single-question return behavior and the stateful `record` continuation. "Nothing is bought" reinforces rather than contradicts the destructiveHint=false claim, though rate limits or how offers are sourced are not covered.

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 short sentences, front-loaded with what goes in and what comes back, then the continuation rule, then the no-purchase guarantee. No filler and nothing that duplicates the schema verbatim.

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?

There is no output schema, so the description correctly carries the return-value burden (offers or one question) and explains the multi-turn loop for a tool with a nested `record` param. It does not describe what a single offer contains or how `limit` interacts with the clarification branch, which is a minor residual gap.

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 meaning the schema lacks: the wish may be phrased "in any language" and should omit personal details implicitly by describing the content categories (product, recipient, budget, country). It also explains the otherwise opaque `record` object as the carry-over from the prior answer's response.

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 names a specific action and input surface ("takes what the person wants, in any language: the product or who it is for, a budget, the country") and the exact output shape ("stores' offers, or one question"). The clarifying-question branch distinguishes it clearly from catalog-browsing siblings like list_categories or ask_stores.

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 multi-turn protocol: "To go on, call again with the person's answer and the `record` the last answer gave," which tells the agent exactly when to re-invoke and what to pass. It stops short of naming when to prefer a sibling tool (e.g. ask_stores) over this one, so it is clear context rather than full when/when-not routing.

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