Skip to main content
Glama

Ad details

dv_post
Read-onlyIdempotent

Fetch all public details for a single Divar ad—price in Toman, specs, features, description, images, map position, and seller type—to inspect or compare listings.

Instructions

Everything public about one ad: price in Toman, specs, features, description, images, map position, seller type.

specs are the ad's Persian spec rows. No phone number (login only): contact the seller via url. Next: dv_similar, dv_appraise, dv_seller, dv_compare.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "token": "<token>"
    },
    "name": "dv_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesAd token, e.g. 'gaRPIP2m'.
full_textNoDo not cut the description (default cuts at 1500 characters).
max_imagesNoFull-size image URLs to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.0
    • changedInput schema / properties / max_images / description
      Previous value: -"How many full-size image URLs to return."New value: +"Full-size image URLs to return."
    • changedInput schema / properties / token / description
      Previous value: -"Ad token: the last part of divar.ir/v/<slug>/<token> or `token` of a search result, e.g. 'gaRPIP2m'."New value: +"Ad token, e.g. 'gaRPIP2m'."
  2. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already say readOnly, idempotent and non-destructive, but the description adds real context: no phone numbers are exposed (login only), the seller must be contacted via `url`, and 'public' delimits scope. This is a meaningful behavior disclosure beyond the annotations; the description loses minor points for not describing response shape or failure behavior.

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?

It leads with the summary of what the ad contains, then a note on `specs`, then a caveat, then a routing list. Efficient with no wasted sentences, though the `Next:` line reads as a slightly tacked-on appendix rather than front-loaded guidance.

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 carries the burden of explain what is returned, and it does enumerate the fields (price, specs, features, description, images, map position, seller type). The main remaining gap is the absence of any statement about what happens with an invalid token, but overall the definition is sufficient for correct invocation.

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 description coverage is 100%, so token, full_text and max_images are already documented in the schema. The description reinforces the meaning of `full_text` and image returns through field enumeration, but adds no syntax or format detail beyond what is already present. Baseline 3 is appropriate.

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?

It states a specific resource and scope: retrieved via a single ad token, returning public details including price in Toman, specs, features, images, map position and seller type. Contrast with `dv_posts` is only implied by plural, but sibling routing is at least suggested by the closing chain. Clear but not fully differentiated.

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 description implies the usage is 'given an ad token, read the ad'. The `Next:` line provides useful follow-up routing to `dv_similar`, `dv_appraise`, `dv_seller` and `dv_compare`, but nothing states when to use this tool instead of the plural sibling `dv_posts`. So guidance is at the implied level, not explicit.

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