Skip to main content
Glama

Several ads

dv_posts
Read-onlyIdempotent

Fetch compact details for up to 10 Divar classified ads in one call, including specs and one image; removed ads return an error without failing the request.

Instructions

Details of up to 10 ads in one call (compact: specs and one image, description cut at 300 characters).

A removed ad shows an error instead of failing the call.

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": {
      "tokens": "<tokens>"
    },
    "name": "dv_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokensYesAd tokens.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • changedInput schema / properties / tokens / description
      Previous value: -"Ad tokens, e.g. ['gaRPIP2m', 'gaRPYuZk'] (at most 10)."New value: +"Ad tokens."
  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 declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real behavioral value beyond them: the response is compact (specs plus one image, description truncated at 300 characters) and a removed ad returns an `error` entry instead of failing the whole call, which tells the agent to handle partial results. It does not state whether results are ordered or aligned with the input tokens.

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?

Two short sentences with the core capability front-loaded and the output-shape caveat in a parenthetical. Every clause carries information; nothing is redundant filler.

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?

There is no output schema, so the description must carry the return shape, and it does so adequately: compact specs, one image, truncated description, and a per-item error for removed ads. What is missing is how results map back to the requested tokens (order or cardinality on partial failure), which matters for a batch tool.

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% for the single `tokens` array, and "up to 10 ads" merely restates the maxItems constraint already in the schema. No additional meaning (token format, whether unknown tokens error or are skipped) is contributed, so the baseline 3 applies.

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?

"Details of up to 10 ads in one call" names the resource (ads) and the batch scope precisely, which separates it from the single-ad sibling dv_post without naming it. It stops short of explicitly routing single-ad lookups elsewhere, so it is 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?

Batch usage is implied by "up to 10 ads in one call" and the 300-character truncation hints that this is a lightweight listing view rather than full detail. There is no explicit statement of when to prefer this over dv_post or dv_search, nor any prerequisite or exclusion.

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