Skip to main content
Glama
technolife-mcp

technolife-mcp

by sepehr071

Deals

tl_deals
Read-onlyIdempotent

List current in-stock Technolife discounts and timed homepage deals, with paging, sorting, and minimum-discount filters to surface price drops.

Instructions

List current in-stock discounts (Technolife's main deal list, تکنوآف) and, on page 0, the timed home-page deals (تکنو تایم).

deal_ends is UTC. total is the whole list, before min_discount_pct. With biggest_percent or min_discount_pct each page scans 100 deals and returns the best limit; more_on_page counts matches cut off. For one category use tl_category_products with sort=biggest_discount_toman.

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

Input Schema

NameRequiredDescriptionDefault
pageNoZero-based page.
sortNobiggest_percent re-sorts a page of the largest Toman discounts by percent.biggest_percent
limitNoMax deals to return (and max timed deals).
min_discount_pctNoOnly deals with at least this percent off.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.0
    • changedInput schema / properties / sort / description
      Previous value: -"Order; biggest_percent re-sorts a page of the largest Toman discounts by percent."New value: +"biggest_percent re-sorts a page of the largest Toman discounts by percent."
  2. Changed7 schema fields changedv0.3.0
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • removedInput schema / properties / min_discount_pct / title
      Removed value: -"Min Discount Pct"
    • changedInput schema / properties / page / description
      Previous value: -"Zero-based page number."New value: +"Zero-based page."
    • removedInput schema / properties / page / title
      Removed value: -"Page"
    • removedInput schema / properties / sort / title
      Removed value: -"Sort"
    • removedInput schema / title
      Removed value: -"tl_dealsArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "tl_dealsDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so safety and idempotency are covered by structured data. The description adds behavior the annotations do not: 'deal_ends is UTC,' 'total is the whole list, before min_discount_pct,' and 'each page scans 100 deals and returns the best limit' with 'more_on_page counts matches cut off.' These are real disclosures about result interpretation and pagination scanning. It does not describe the fields of an individual deal, which keeps it below 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short paragraphs, front-loaded with the purpose and followed by return and pagination notes. Every sentence carries information, though the telegram-style phrasing ('more_on_page counts matches cut off') is terse enough to require a second read.

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?

With no output schema, the description must explain returns; it does so partially by defining total, more_on_page, and deal_ends timezone. What a single deal record contains is left unstated, a gap for a list tool whose whole purpose is enumerating deal objects.

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 description coverage is 100%, so the baseline would be 3; however, the description adds real semantics. It explains how biggest_percent and min_discount_pct interact with paging: each page scans 100 deals, returns the best limit, and reports cut-off matches as more_on_page. That meaning goes beyond the per-parameter schema text.

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 opens with a specific verb and resource: 'List current in-stock discounts,' and it scopes it precisely as Technolife's main deal list (تکنوآف), plus timed home-page deals (تکنو تایم) on page 0. It also names the sibling it is not, tl_category_products, so an agent can distinguish the two 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 Guidelines4/5

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

It gives a concrete routing rule for a one-category case: 'For one category use tl_category_products with sort=biggest_discount_toman.' That covers the main alternative clearly, but there is no explicit when-not guidance for the other deal-like siblings, such as tl_campaigns or tl_search, so it stops short of full coverage.

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