Skip to main content
Glama
casaley-mcp

casaley-mcp

by s00rk

list_offers

Read-onlyIdempotent

Find Casa Ley grocery offers sorted by savings percentage, filtered by offer type, store, department, and limit.

Instructions

Las mejores ofertas, ordenadas por % de ahorro (revisa hasta unas centenas). Para recorrer TODAS las ofertas página por página usa search_products con on_sale_only=true y page. La API no publica la vigencia de las ofertas; usa fetched_at.

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

Input Schema

NameRequiredDescriptionDefault
kindNospecial_price | percent_off | combo ('N x $').
limitNoMáximo de productos a devolver.
storeNoId numérico de la sucursal (ver `list_stores`). Vacío: la configurada.
departmentNoCódigo de 3 letras: SYL lácteos, FYV frutas y verduras, ABA abarrotes… (ver `list_departments`).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered. The description adds non-obvious behavior: results are sorted by percentage saved, coverage is capped at 'hasta unas centenas' (vague but discloses truncation), and offer expiry dates are unavailable. The cap could have been stated as an exact figure tied to the 300 limit, which keeps this from a 5.

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?

Three tight sentences: what it returns and how it is ranked first, the alternative path second, the data-freshness caveat last. No filler and nothing buried.

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?

An output schema exists and the schema fully covers inputs, so the description need only carry scope, routing and caveats — all present. The only soft spot is the imprecise 'unas centenas' versus the 300 maximum, which leaves the actual truncation point unclear.

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 already documents all four parameters, including enum values ('special_price | percent_off | combo') and cross-references to `list_stores` and `list_departments`. The description adds no parameter-level detail beyond that, so the baseline 3 applies.

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?

States a specific resource (offers) plus its ordering (% de ahorro) and a scope cap ('revisa hasta unas centenas'), and names search_products as the tool for full traversal. An agent can distinguish this from search_products without opening either schema.

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?

Explicitly routes the agent: use this for top-ranked offers, use `search_products` with `on_sale_only=true` and `page` to walk all of them. It also warns that the API does not publish offer validity, so `fetched_at` should be used instead — a concrete when/when-not condition pair.

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