Skip to main content
Glama

Search suggestions

ss_suggest
Read-onlyIdempotent

Completes a partial search phrase using Snapp! Shop's search-box suggestions, ordered by popularity, so agents can expand queries before searching products.

Instructions

Complete a search phrase the way the site's search box does, most searched first.

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": {
      "query": "<query>"
    },
    "name": "ss_suggest"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesStart of a search phrase.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare this a safe, idempotent, open-world read, so the description doesn't need to cover safety. It does add one real behavioral detail beyond annotations: results arrive ordered 'most searched first,' which signals popularity-ranked output rather than lexicographic matching. It says nothing about how many suggestions come back or how prefix matching (case, partial words) works.

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?

One sentence, no filler, and the ordering behavior is packed into the same clause rather than padding the definition. Everything present earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter autocomplete tool with annotations covering the safety profile, the description covers intent and ordering. The remaining gap is the return shape (list of suggestion strings? ranked objects with counts?), which matters more here because no output schema exists to carry it.

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% and the single parameter's schema description ('Start of a search phrase') is effectively duplicated in the description text, so no new semantic detail is added. The baseline of 3 applies when the schema fully documents the inputs.

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 action ('complete a search phrase') and a concrete behavioral frame ('the way the site's search box does'), which tells an agent this is autocomplete/typeahead rather than a full search. It does not name ss_search as the alternative for executing an actual query, so sibling differentiation is implied rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'search box' analogy implies the intended use case (expanding a partial prefix), but the description never states when to call this instead of ss_search, nor does it set expectations such as minimum prefix length or when suggestions are unhelpful. Usage is inferable but not prescribed.

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