Skip to main content
Glama

Export ads

dv_export
Read-onlyIdempotent

Downloads classified ad search results as CSV or JSON lines, including price, district, deposit, seller and URL columns, ready to save to a spreadsheet or analyze.

Instructions

The ads of a search as CSV or JSON lines text, ready to save to a spreadsheet or analyse.

Columns: token, title, price, deposit, rent, district, posted (UTC), photos, seller, info, url. Text in data.

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_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoتهران
limitNoMax rows.
pagesNo
queryNo
formatNo'csv' or 'jsonl' (one JSON ad per line).csv
recentNo
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.
max_age_hoursNo

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`."
    • changedInput schema / properties / format / description
      Previous value: -"'csv' (header + rows) or 'jsonl' (one JSON ad per line)."New value: +"'csv' or 'jsonl' (one JSON ad per line)."
    • removedInput schema / properties / has_photo / description
      Removed value: -"Only ads with photos."
    • removedInput schema / properties / keywords / description
      Removed value: -"Words that must all be in the title."
    • removedInput schema / properties / max_age_hours / description
      Removed value: -"Only ads bumped within this many hours."
    • 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'."
    • removedInput schema / properties / recent / description
      Removed value: -"Published within '3h', '12h', '1d', '3d' or '7d'."
  2. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and non-destructive behavior, so the safety profile is covered. The description adds real value by listing the output columns and noting the text payload location in `data`, but it omits how results are returned, whether it performs a live fetch, and any size/rate constraints.

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 sentences with the purpose front-loaded and a compact column list appended. The final fragment 'Text in `data`' is terse to the point of being cryptic but not wasteful.

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 an 18-parameter tool with nested filter objects and no output schema, the column list usefully substitutes for a return-value description. However, the absence of any explanation for most filtering parameters and the search-broadening behavior of pages/limit leaves an agent guessing about correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33% across 18 parameters, and the description explains none of them beyond the two output formats. Undocumented parameters such as query, city, recent, exclude, filters, districts, brand_model, and max_age_hours are left entirely to bare schema types, so the description does not compensate for the coverage gap.

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 specific action and output: the ads from a search, serialized as CSV or JSON lines for saving or analysis, and it enumerates the exported columns. It clearly distinguishes an export tool from search/post siblings, though it never names those siblings explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The phrase 'ready to save to a spreadsheet or analyse' implies the use case, but there is no explicit guidance on when to call this instead of dv_search, dv_posts, or dv_count, and no stated prerequisites or cost caveats for pulling up to 300 rows across up to 6 pages.

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