Skip to main content
Glama

Discounted restaurants

food_discounted_vendors
Read-onlyIdempotent

Find restaurants offering active discounts near a latitude and longitude, including any live short-term Gem hunt deal, to help users identify discounted vendors before checking menu prices.

Instructions

List restaurants running a discount now, plus the short "Gem" hunt discount if one is live.

Vendor-level only: food_menu has prices.

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_discounted_vendors"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesDelivery latitude.
longYesDelivery longitude.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 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."
  2. Changed6 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 / 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"
    • removedInput schema / title
      Removed value: -"food_discounted_vendorsArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "food_discounted_vendorsDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the safety profile is covered. The description adds a temporal qualifier ('running a discount now') and mentions a second result class (the 'Gem' hunt discount), which is useful behavioral detail, but it never explains what the 'Gem' hunt is, how it is signalled, or what the records contain.

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

Conciseness4/5

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

Two short sentences, front-loaded with purpose and followed by the scoping constraint; nothing is padded. The phrase 'the short "Gem" hunt discount' is slightly awkward and its quotation marks hint at internal jargon rather than clarifying anything.

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 two-parameter read tool with full schema coverage and a complete annotation set, the description covers purpose and one key boundary, which is close to sufficient. The main residual gap is the unexplained 'Gem' hunt concept, which an agent cannot describe to a user without guessing.

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%, with both lat and long documented as delivery coordinates and bounded by min/max ranges, so the schema does the heavy lifting. The description adds no meaning about the parameters — not even that results are proximity-based around that delivery point — so the baseline of 3 applies.

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 description uses a specific verb and resource: 'List restaurants running a discount now', which is far more informative than the title 'Discounted restaurants' alone. It also draws one boundary against a sibling by noting vendor-level scope and deferring prices to food_menu, though it stops short of distinguishing itself from food_find_cheapest, food_party_deals, or food_meal_for_one.

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?

There is one explicit exclusion — 'Vendor-level only: food_menu has prices' — which tells the agent to route price lookups elsewhere. Beyond that, there is no guidance on when to prefer this over the several sibling discount-adjacent tools (food_find_cheapest, food_party_deals, food_restaurants), so usage is only implied.

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