Get currently discounted items (cenové trháky / sales). Returns products on sale, optionally filtered by sale type and food category. Without a category, returns deals across all categories. Call with list_categories=true to see available category IDs. Recommended to use sale_type 'sales' and 'pr...
AI agents call get_discounted_items to retrieve information from Rohlik without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
page | number | — | Page number for pagination (0-based, default: 0) |
sort | string | — | Sort order (default: recommended) |
limit | number | — | Maximum number of products to return (1-50, default: 14) |
sale_type | string | — | Type of sale/discount section. 'sales' = all deals (default), 'week-sales' = weekly deals (Akce týdne), 'multipack' = buy more pay less (Kup víc zaplať míň), 'b |
category_id | number | — | Food category ID to filter by. Use list_categories=true first to see available categories and their IDs. If omitted, returns discounted items across all categor |
list_categories | boolean | — | If true, returns the list of available sales categories instead of products |
Parameters from the server's own tool schema.
This tool queries and retrieves sales/discount information from the Rohlik.cz website. It is a straightforward read operation that returns filtered product data. There are no irreversible changes, code execution, financial transactions, or destructive operations involved. The filtering parameters (sale_type, food_category) are standard query options that do not change system state.
From the tool's definition 'Get currently discounted items' and 'Returns products on sale' indicate data retrieval with no side effects. No modification, deletion, execution, or financial transaction occurs.
Attacks that exploit this kind of access
Get currently discounted items (cenové trháky / sales). Returns products on sale, optionally filtered by sale type and food category. Without a category, returns deals across all categories. Call with list_categories=true to see available category IDs. Recommended to use sale_type 'sales' and 'premium-sales' as default for best deals overview. It is categorised as a Read tool in the Rohlik MCP Server, which means it retrieves data without modifying state.
get_discounted_items accepts 6 parameters: page, sort, limit, sale_type, category_id, list_categories. The full parameter table on this page comes from the server's own tool schema.
Register the Rohlik MCP server in PolicyLayer and add a rule for get_discounted_items: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Rohlik. Nothing to install.
get_discounted_items is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_discounted_items rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for get_discounted_items. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
get_discounted_items is provided by the Rohlik MCP server (@tomaspavlin/rohlik-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →