Skip to main content
Glama

Flash deals

tf_deals
Read-onlyIdempotent

List flash deals on discounted dishes with limited stock near a location, sorted by discount or popularity. Check stock_left as deals run out.

Instructions

List the Tap Time flash deals (تپ تایم): discounted dishes with a limited stock, near a point.

Use for "today's best deals". Check stock_left, it runs out.

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

Input Schema

NameRequiredDescriptionDefault
latYesDelivery latitude, e.g. 35.7577.
longYesDelivery longitude, e.g. 51.4095.
pageNoPage, from 1.
sortNoDeal order.most_discounted
categoryNoSame as tf_restaurants.
page_sizeNoSame as tf_restaurants.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.2.2
    • changedInput schema / properties / category / description
      Previous value: -"Cuisine chip filter from 'categories', e.g. '1-82'."New value: +"Same as tf_restaurants."
    • changedInput schema / properties / lat / description
      Previous value: -"Delivery point latitude, e.g. 35.7577."New value: +"Delivery latitude, e.g. 35.7577."
    • changedInput schema / properties / long / description
      Previous value: -"Delivery point longitude, e.g. 51.4095."New value: +"Delivery longitude, e.g. 51.4095."
    • changedInput schema / properties / page / description
      Previous value: -"Page number, from 1."New value: +"Page, from 1."
    • changedInput schema / properties / page_size / description
      Previous value: -"Feed items per page; page 1 spends some on widgets, so it lists fewer deals."New value: +"Same as tf_restaurants."
    • changedInput schema / properties / sort / description
      Previous value: -"Order of the deals."New value: +"Deal order."
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already cover readOnly, idempotent, non-destructive and open-world behavior, so the safety burden is light. The description adds context beyond the annotations by disclosing that results are ephemeral stock and by instructing the agent to check 'stock_left'. It does not describe pagination or response shape, but the schema covers the paging parameters.

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 short sentences, front-loaded with the scope and ending with an actionable caution. Every clause carries information; nothing is repeated from the schema or the title.

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 listing tool with full parameter coverage and no output schema, the description supplies the location-based scope, the deal semantics, and the stock caveat. It would be slightly stronger if it hinted at what a result contains or how to page through large result sets, though that is largely schema territory.

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 every one of the six parameters is already documented in the schema, including lat/long ranges with examples and enum values for sort. The phrase 'near a point' loosely reinforces that lat/long are a delivery location, but adds little to what the schema says. Baseline 3 is appropriate when the schema does the heavy lifting.

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 names a specific verb and resource ('List the Tap Time flash deals… discounted dishes with a limited stock, near a point'). It is clearly distinguishable from siblings like tf_search_dishes or tf_discounted_vendors. The qualifiers 'discounted', 'limited stock' and 'near a point' define the resource precisely.

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 sentence 'Use for "today's best deals"' gives an explicit intent-to-tool mapping that tells an agent when this tool is the right choice. It does not name an alternative tool or state when-not to use it, so it falls short of the top score. The stock_left note adds a usage caveat about the timing of calls.

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