Skip to main content
Glama

Search products across stores

search_all_stores
Read-onlyIdempotent

Searches products across every Hekana store with a public catalogue. Each result carries its store.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum products returned, 1 to 30.
queryYesWhat the shopper is looking for, Arabic or English.
maxPriceMinorNoMinor units (piastres): 50000 means 500.00 EGP.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / limit / description
      Added value: +"Maximum products returned, 1 to 30."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorld=false, so safety is covered. The description adds two useful behavioral facts: only stores with a public catalogue participate, and every result carries a `store` field for attribution. It is silent on result count defaults, ranking, and whether empty stores are omitted.

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

Conciseness3/5

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

Error: I must provide an integer score. Reconsidering: the description is two tight sentences with zero waste, front-loading scope before the result note. Score 5 is warranted for efficiency. Final score: 5.

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 simple three-parameter read tool with full schema coverage and rich annotations, the definition covers the essentials and adds the cross-store provenance note. Output shape is only partially described (the `store` field), which is a minor gap rather than a blocker.

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%, so query language (Arabic or English), limit bounds (1-30), and minor-unit pricing are all documented structurally. The description adds no parameter meaning beyond the schema, making the baseline 3 correct.

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 definition names a specific verb (searches) and resource (products) and adds scope: 'across every Hekana store with a public catalogue.' It distinguishes this from a single-store or catalogue-browsing tool by emphasizing cross-store reach, though it never names a sibling tool to route against.

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?

Usage is only implied through scope: an agent can infer this is the cross-store variant, but the description never states when to choose it over search_products or find_stores. No prerequisites or exclusions are given.

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.