Skip to main content
Glama

Restaurante HoReCaOS

Pachete anti-risipă

pachete_antirisipa
Read-onlyIdempotent

Pachetele-surpriză anti-risipă de azi (mâncarea rămasă, la preț redus): prețul și valoarea în lei, câte au rămas, intervalul de ridicare, locul, alergenii declarați, plus linkul unde clientul rezervă pachetul. Caută după oraș sau la un restaurant (slug). NU rezervă pachetul.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pachete_antirisipa"
  }
}

Input Schema

NameRequiredDescriptionDefault
orasNoOrașul (sau dă slug)
slugNoSlug-ul restaurantului, din rezultatul cauta_restaurante (ex. „ciorbe-si-placinte”)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a safe, idempotent read, and the description adds real value beyond them: it scopes results to today's leftovers, specifies the currency (lei), and discloses the exact fields returned, including allergens and a reservation link. It explicitly denies write behavior, reinforcing rather than contradicting the annotations. Missing only volume/pagination behavior for large result sets.

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?

The payload is front-loaded into one dense sentence covering the resource, the returned fields, and the filter axis, followed by a short negative constraint. Every clause carries information; the only mild inefficiency is that the field list and the search clause are compressed into a single run-on sentence.

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 read-only lookup with no output schema, the description compensates well by enumerating the returned fields and their meaning. The remaining gap is behavioral edge cases such as empty results for a city with no packages or behavior when both filters are passed. Annotations cover the safety profile, so nothing critical is left unexplained.

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 coverage is 100% and the schema itself already documents both fields, including the max lengths and the hint that slug values come from cauta_restaurante output. The description restates that filtering can be by city or by restaurant slug but adds no syntax, format, or precedence rules (e.g. what happens if both are supplied). Baseline 3 is appropriate when the schema carries the parameter burden.

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 names a concrete resource (today's anti-waste surprise packages of leftover food at reduced price) and enumerates what the caller gets back: price/value in lei, remaining quantity, pickup window, location, allergens, and a reservation link. It also states the search axis (city or restaurant slug) and clarifies it does not reserve. It stops short of distinguishing itself from the sibling oferte_acum, which plausibly overlaps in scope.

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?

Usage context is clear: browse today's discounted packages, filtered by city or by a restaurant slug taken from cauta_restaurante results. The explicit negative 'NU rezervă pachetul' steers the agent away from the reservation path. No positive alternative (e.g. which tool actually reserves) is named, so the routing is only half explicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources