Skip to main content
Glama

New ads since a time

dv_new_since
Read-onlyIdempotent

Retrieve ads published after a timestamp, newest first, to poll a search without repeats. Pass the prior latest as since; more flags extra pages.

Instructions

Ads published after a moment, newest first: poll this to watch a search (a new flat, a cheap car) without repeats.

Pass the previous call's latest as since. more true: the page limit cut off more new ads.

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

Input Schema

NameRequiredDescriptionDefault
cityNoتهران
hoursNoWithout `since`: ads from the last N hours.
limitNo
pagesNo
queryNo
sinceNoUTC time like 2026-10-16T01:50:00Z (the previous `latest`); omit to use `hours`.
excludeNo
filtersNo
categoryNo
keywordsNo
districtsNo
has_photoNo
max_priceNoToman; monthly rent in rent categories.
min_priceNoToman; monthly rent in rent categories.
brand_modelNo
max_depositNoRent deposit (ودیعه), Toman.
min_depositNoRent deposit (ودیعه), Toman.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changedv0.3.0
    • removedInput schema / properties / brand_model / description
      Removed value: -"Vehicles, phones: brand/model, e.g. ['پژو 206']."
    • removedInput schema / properties / category / description
      Removed value: -"Category slug or Persian name, e.g. 'light' (cars), 'apartment-sell', 'apartment-rent', 'mobile-phones'."
    • removedInput schema / properties / city / description
      Removed value: -"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'."
    • removedInput schema / properties / districts / description
      Removed value: -"Neighbourhood names or ids in the one city, e.g. ['ونک']."
    • removedInput schema / properties / exclude / description
      Removed value: -"Drop ads whose title has any of these words."
    • removedInput schema / properties / filters / description
      Removed value: -"Other category filters (keys from dv_filters): {'size': {'min': 80, 'max': 120}, 'rooms': ['دو'], 'parking': true}. Unknown keys are returned in `ignored`."
    • removedInput schema / properties / has_photo / description
      Removed value: -"Only ads with photos."
    • changedInput schema / properties / hours / description
      Previous value: -"Used when `since` is omitted: ads from the last N hours."New value: +"Without `since`: ads from the last N hours."
    • removedInput schema / properties / keywords / description
      Removed value: -"Words that must all be in the title."
    • removedInput schema / properties / limit / description
      Removed value: -"Max ads in the answer."
    • changedInput schema / properties / max_deposit / description
      Previous value: -"Rent categories: deposit (ودیعه) in Toman."New value: +"Rent deposit (ودیعه), Toman."
    • changedInput schema / properties / min_deposit / description
      Previous value: -"Rent categories: deposit (ودیعه) in Toman."New value: +"Rent deposit (ودیعه), Toman."
    • removedInput schema / properties / pages / description
      Removed value: -"Result pages to merge, about 25 ads each."
    • removedInput schema / properties / query / description
      Removed value: -"Free text in title or description, e.g. 'پراید 111'."
    • changedInput schema / properties / since / description
      Previous value: -"UTC timestamp like 2026-10-16T01:50:00Z (the `latest` of the previous call). Omit to use `hours`."New value: +"UTC time like 2026-10-16T01:50:00Z (the previous `latest`); omit to use `hours`."
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover read-only, non-destructive, open-world behavior. The description adds ordering (newest first) and, importantly, response semantics that no output schema provides: the `latest` cursor and what `more`=true means (the page limit truncated new ads). That is real value, but it omits other behavioral facts such as what happens when `since` is malformed, how far back results go, or whether paging with `pages` interacts with `more`.

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 tight paragraphs, front-loading the definition before the polling recipe and the `more` caveat. Every sentence carries information; only the parenthetical examples are decorative, though they usefully anchor the concept.

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?

For a 17-parameter, zero-required tool with no output schema, the description covers the cursor workflow well and even reveals `latest`/`more` return fields. It leaves the large filter surface and the `pages`/`limit` pagination semantics unexplained, which is a meaningful gap for a tool this wide.

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 only 35% across 17 parameters, so the description is expected to compensate. It does clarify the most error-prone pair — `since` vs `hours` mutual exclusivity — but the remaining majority (query, category, keywords, districts, exclude, filters, price/deposit bounds, brand_model, has_photo) get no explanation beyond bare schema names.

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?

States a specific resource and temporal scope: "Ads published after a moment, newest first", plus the polling intent. An agent can tell this is the incremental-feed counterpart to a general search. It stops short of naming which sibling to use for the initial/full search (e.g. dv_search).

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?

"Poll this to watch a search (a new flat, a cheap car) without repeats" gives a concrete when-to-use scenario, and "Pass the previous call's `latest` as `since`" tells the agent exactly how to chain calls. No explicit when-not-to-use or named alternative is given, which keeps it below a 5.

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