Skip to main content
Glama

FoodParty deals

food_party_deals
Read-onlyIdempotent

Lists today's FoodParty flash deals still in stock for a delivery location, with optional sorting and filtering; only deals inside their active time window are returned.

Instructions

List today's FoodParty flash deals (deep discounts, limited stock, time window) still in stock.

Deals run only inside starts/ends; outside it the list is empty.

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": {
      "lat": "<lat>",
      "long": "<long>"
    },
    "name": "food_party_deals"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesDelivery latitude.
longYesDelivery longitude.
sortNoDeal order.biggest_discount
limitNoMax deals.
queryNoTitle contains this.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.4.0
    • changedInput schema / properties / lat / description
      Previous value: -"Delivery point latitude."New value: +"Delivery latitude."
    • changedInput schema / properties / long / description
      Previous value: -"Delivery point longitude."New value: +"Delivery longitude."
    • removedInput schema / properties / query / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / query / description
      Previous value: -"Only deals whose title contains this."New value: +"Title contains this."
    • addedInput schema / properties / query / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / sort / description
      Previous value: -"Order of the deals."New value: +"Deal order."
  2. Changed12 schema fields changedv0.2.0
    • changedInput schema / properties / lat / description
      Previous value: -"Latitude of the delivery point (Iran: ~25 to ~40)."New value: +"Delivery point latitude."
    • removedInput schema / properties / lat / title
      Removed value: -"Lat"
    • changedInput schema / properties / limit / default
      Previous value: -30New value: +15
    • changedInput schema / properties / limit / description
      Previous value: -"Max deals to return."New value: +"Max deals."
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • changedInput schema / properties / long / description
      Previous value: -"Longitude of the delivery point (Iran: ~44 to ~63)."New value: +"Delivery point longitude."
    • removedInput schema / properties / long / title
      Removed value: -"Long"
    • changedInput schema / properties / query / description
      Previous value: -"Only deals whose dish title contains this text."New value: +"Only deals whose title contains this."
    • removedInput schema / properties / query / title
      Removed value: -"Query"
    • removedInput schema / properties / sort / title
      Removed value: -"Sort"
    • removedInput schema / title
      Removed value: -"food_party_dealsArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "food_party_dealsDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish this as a safe, idempotent, read-only call, so the description only needed to add context and it does: results are constrained by limited stock, a per-deal time window, and the note that the list is empty outside starts/ends. That emptiness behavior is genuinely useful for interpreting a zero-result response. It stops short of saying how stock depletion affects repeated calls, which is the main remaining ambiguity for an idempotent list tool.

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, zero waste, with the resource and its key qualifiers front-loaded and the time-window caveat placed second where it belongs. Nothing repeats the schema or the annotations.

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 read-only list tool with a fully documented 5-parameter schema and no output schema, the definition covers the essentials: what is returned (in-stock, time-bounded deals) and the empty-result condition. It does not describe result ordering or what fields a deal carries, but the sort parameter and readOnly annotations reduce how much that matters.

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 description coverage is 100%, so lat, long, sort, limit, and query are all documented in the schema with defaults, ranges, and an enum. The description adds no meaning beyond that — for instance, it does not explain whether 'query' matches deal titles only in the current window or whether lat/long bound delivery availability versus deal eligibility. Baseline 3 applies when the schema carries the semantics.

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 verb and resource: 'List today's FoodParty flash deals', with the qualifying traits (deep discounts, limited stock, time window) that separate it from generic food_search or food_discounted_vendors. It never names a sibling explicitly, so the agent must infer the FoodParty vs market_party_deals distinction from the domain prefix alone.

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 implied rather than stated: an agent can infer this is the tool for browsing current flash deals, and the 'still in stock' filter tells it what is excluded from results. There is no explicit when-not guidance and no reference to the near-identical market_party_deals or to food_discounted_vendors for non-flash discounts.

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