Skip to main content
Glama

Meals for one

food_meal_for_one
Read-onlyIdempotent

Finds single-person meals with free delivery priced under 299k Toman near a latitude and longitude, sorted cheapest first. Use it to compare affordable solo meal options by final price.

Instructions

List single-person meals (at most 299k Toman, free delivery), cheapest first.

Check min_order.

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

Input Schema

NameRequiredDescriptionDefault
latYesDelivery latitude.
longYesDelivery longitude.
limitNoMax meals.
max_priceNoMax final price, Toman.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 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 / max_price / anyOf
      Removed value: -[
      -  {
      -    "minimum": 1,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / max_price / minimum
      Added value: +1
    • addedInput schema / properties / max_price / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
  2. Changed11 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 meals to return."New value: +"Max meals."
    • 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 / max_price / description
      Previous value: -"Only meals at or under this final price, Toman."New value: +"Max final price, Toman."
    • removedInput schema / properties / max_price / title
      Removed value: -"Max Price"
    • removedInput schema / title
      Removed value: -"food_meal_for_oneArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "food_meal_for_oneDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, open-world behavior, so the bar is lower. The description still adds real behavior beyond them: results are capped at 299k Toman, delivery is free, ordering is cheapest-first, and a min_order caveat must be verified. What results actually contain is left unspecified.

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 with the key filter and ordering front-loaded, no filler. The final "Check min_order" fragment is terse to the point of being cryptic and reads as an afterthought dangling off the main statement.

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

Completeness3/5

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

With no output schema and four parameters, the description should say what a returned meal looks like and what the min_order check refers to. Since no min_order sibling or field exists in the visible tool set, that instruction is ambiguous, leaving a real gap for a listing tool whose output shape is undocumented.

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?

Schema coverage is 100%, so baseline would be 3. The description earns an extra point by disclosing an effective 299k Toman price ceiling that does not appear anywhere in the schema (max_price has no maximum and defaults to null), clarifying what happens when max_price is omitted.

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 gives a specific verb and resource ("List single-person meals") plus distinguishing constraints: a 299k Toman ceiling, free delivery, and cheapest-first ordering. It is clearly not the same as food_menu or food_restaurants, though it never names those siblings explicitly.

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 by the constraints (use it for cheap solo meals with free delivery), but there is no explicit when-to-use vs food_find_cheapest or food_menu. The trailing "Check min_order" gesture hints at a prerequisite without stating the condition or what it means.

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