Skip to main content
Glama

Gurgaon Bakers Catalogue

Search cakes

search_cakes
Read-onlyIdempotent

Search Gurgaon Bakers' live cake catalogue. Use for any request to find, compare or price cakes. query: free text, e.g. "1 kg eggless chocolate truffle birthday" - weight, egg/eggless and budget words in the text are understood. Optional filters: category slug (e.g. "cakes-for-kids"), eggless (true = eggless, false = with egg), max_price (INR, incl. GST), weight (e.g. "1 Kg", "500 g"). Returns at most 10 cakes (no pagination). Each result has match.variant = the exact price and order link for the requested weight/egg option. Constraints are never relaxed silently: status "no_match" comes with clearly labelled alternatives that do NOT meet the request. Read-only; places no order.

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

Input Schema

NameRequiredDescriptionDefault
queryNo
weightNo
egglessNo
categoryNo
max_priceNo

Output Schema

NameRequiredDescriptionDefault
statusYesok, no_match, needs_input, not_found, option_not_available, unavailable, or a check_delivery status
messageNoPlain-English summary safe to show the customer
data_as_ofNoWhen the catalogue data was last synced (ISO 8601, IST)
request_idYesCorrelation id for support

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations (readOnly/idempotent/non-destructive) it discloses a hard result cap of 10 with no pagination and a non-negotiable constraint policy: 'Constraints are never relaxed silently' with a 'no_match' status that returns clearly labelled non-conforming alternatives. That no-match contract is the single most decision-relevant behaviour for an agent and it is stated. Some of the return-value detail overlaps with the existing output schema, so it stops short of a 5.

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?

Purpose is front-loaded in the first sentence, then parameters, then result behaviour — a sensible call-order structure. Lines are dense but each one carries either routing, parameter syntax, or result semantics; nothing is redundant.

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

Completeness5/5

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

For a 5-parameter, zero-required-argument search tool with an output schema already present, the description covers everything an agent needs: purpose, when to use, parameter formats, result cap, pagination absence, and the no-match contract. The return-value shapes are left to the output schema, which is correct division of labour.

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

Parameters5/5

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

Schema description coverage is 0%, so the description has to carry all parameter meaning — and it does: query is free text whose weight/egg/budget words are parsed, category is a slug with an example, eggless is defined both ways (true = eggless, false = with egg), max_price is INR inclusive of GST, and weight accepts formats like '1 Kg' or '500 g'. This is exactly the compensation needed for an entirely undescribed schema.

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 opens with a specific verb and resource ('Search Gurgaon Bakers' live cake catalogue') plus an explicit scope statement ('any request to find, compare or price cakes'). That scope implicitly separates it from get_cake (single cake lookup) and build_order_link (ordering), so an agent can route without opening schemas.

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 clearly says when to use it ('any request to find, compare or price cakes') and closes the loop on action boundaries with 'Read-only; places no order,' which steers ordering to build_order_link. It does not explicitly exclude the case of looking up one already-known cake via get_cake, so the alternative routing is only implied by 'find, compare or price'.

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