Skip to main content
Glama

Seller and their ads

dv_seller
Read-onlyIdempotent

Retrieve seller details for a Divar ad: personal/business ad counts, business card and listed ads; use returned brand_token to explore dealer inventory.

Instructions

The seller behind an ad: how many personal and business ads they have, the business card (name, brand_token) and their ads.

A personal seller has no business card and Divar no longer lists their other ads. Next: dv_dealer with the brand_token.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
tokenYesAd token, e.g. 'gaRPIP2m'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.0
    • removedInput schema / properties / limit / description
      Removed value: -"Max of the seller's other ads 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.8/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, and open-world behavior. The description adds useful domain behavior: personal sellers lack a business card, their other ads are no longer listed, and the business card contains name and brand_token.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

The description is two tight sentences, front-loads what the tool returns, and then gives the important personal-seller caveat and next-step routing. There is no redundant wording.

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?

For a two-parameter lookup with no output schema, the description adequately explains the main returned information and an important seller-type limitation. It is only incomplete on the meaning and effect of the limit parameter, which is not covered anywhere in the description.

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?

The token parameter is already documented in the schema as an ad token, and the description only reinforces that by saying the seller is behind an ad. The limit parameter has no schema description and is not mentioned at all in the description, so the 50% schema coverage is not compensated for.

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 identifies the resource as the seller behind an ad and lists what is returned: personal/business ad counts, business card, and ads. It is clear but does not use a direct verb, and its sibling differentiation is mostly implicit through the next-step reference to dv_dealer.

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 clear next step for business sellers: use dv_dealer with the brand_token. It also explains that personal sellers have no business card and that Divar no longer lists their other ads, though it does not explicitly state when to choose this tool over other seller/ad-related siblings.

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