Skip to main content
Glama

Confita

Find shops

find_shops
Read-onlyIdempotent

For customers: find shops that make food to order, by place, what they make, a name, pickup or delivery, or a day they can still take an order for. near matches the area each shop gives, as words: there is no distance search. Returns up to 20 shops with their area (never a street address) and how ordering works.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_shops"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoOnly shops that can still take an order for this day. For example "2026-12-05".
nearNoA city, town or neighborhood, such as "Guadalajara" or "Roma Norte", matched as words against the area each shop gives.
textNoWords from a shop's name or its products.
makesNoOne lower-case word for what they make: cakes, bread, cookies, pastry, savory, tamales...
cursorNoThe `next_cursor` of the page before.
countryNoTwo-letter country code, such as "MX".
getting_itNoOnly shops that offer it.

Output Schema

NameRequiredDescriptionDefault
nextNo
errorNo
shopsNo
outcomeNo
timezoneNo
next_cursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare this a safe, idempotent, non-destructive, closed-world read, so the bar is lower. The description adds meaningful behavior beyond them: results are capped at 20, area is returned but never a street address, and 'how ordering works' is disclosed. It says nothing about pagination beyond the cursor parameter or about filter combination semantics.

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?

Two sentences, front-loaded with the core action and scope, then the result shape. Every clause carries information an agent needs (audience, filter dimensions, matching rule, result cap, privacy constraint); 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?

With an output schema present and full schema coverage, return-format detail is optional and adequately summarized anyway. The one gap for a 7-parameter search tool is how the optional filters combine (all must match vs. any), which an agent would want to know before constructing a query.

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 baseline is 3; however the description adds real meaning by clarifying that `near` is a word match against a shop-declared area and that no radius/distance option exists, and by grouping the filters conceptually. It stops short of saying whether multiple filters intersect.

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?

States a specific verb and resource ('find shops that make food to order') and enumerates the dimensions searchable (place, product, name, fulfillment, date). The matching model of `near` (word match on shop-supplied area, no distance search) further pins down what the tool actually does, distinguishing it from a detail lookup like get_shop.

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?

The opening 'For customers:' establishes the audience and discovery intent, and the clause 'there is no distance search' rules out a natural but wrong usage. It does not, however, explicitly route the agent away from get_shop or find_products when a single known shop is wanted.

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