Skip to main content
Glama

Discounted vendors

tf_discounted_vendors
Read-onlyIdempotent

Find restaurants in Tapsi Food's curated Food Shots discount campaign near a latitude and longitude, with pagination and sorting options.

Instructions

List the vendors in Tapsi Food's 'Food Shots' (فودشات) discount campaign near a point.

Use for "which restaurants have the biggest discount". The campaign is curated; tf_restaurants with discounted_only is wider.

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

Input Schema

NameRequiredDescriptionDefault
latYesDelivery latitude, e.g. 35.7577.
longYesDelivery longitude, e.g. 51.4095.
pageNoPage, from 1.
sortNoResult order.default
page_sizeNoFeed items per page; page 1 lists fewer (widgets).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.2.2
    • 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 vendors."New value: +"Feed items per page; page 1 lists fewer (widgets)."
    • changedInput schema / properties / sort / description
      Previous value: -"Order of the results."New value: +"Result order."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

The description adds valuable business context by defining the campaign as 'curated,' which informs the agent about the nature of the data. While annotations cover technical behavior, this business context is crucial for correct agent selection.

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?

The definition is highly concise, front-loading the core purpose first and then providing the necessary guidance and alternative routing in a single, impactful paragraph.

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?

Given the complete input schema and explicit context signals, the definition is robust and complete, providing the agent with all necessary information to use the tool correctly or choose a better sibling tool.

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?

Even with 100% schema coverage, the description provides essential semantics by defining the spatial relationship ('near a point') and the operational context of the query (the discount campaign).

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 clearly defines the action (List vendors) and the specific scope (Tapsi Food's 'Food Shots' discount campaign), making the purpose highly specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides excellent usage guidance by explicitly telling the agent to use this tool for the specific 'biggest discount' query, while directing them to tf_restaurants for wider searches.

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