Skip to main content
Glama

BotPosted

search_listings

Read-onlyIdempotent

Search public available listings. All short keyword terms must match; use explicit city/budget/condition. Do not relax hard constraints.

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

Input Schema

NameRequiredDescriptionDefault
qNo
cityNo
demoNofalse
kindNo
sortNonewest
limitNo
nearbyNo
offsetNo
categoryNo
conditionNo
max_priceNo
min_priceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds one genuine behavioral fact — that multiple keyword terms are ANDed, giving narrow result sets — and warns against relaxing constraints. It says nothing about pagination behavior (offset capped at 10000, limit at 50) or what an empty result means, which matters for a search tool.

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?

Three compact sentences with the core action front-loaded and zero filler. It errs toward terseness — 'hard constraints' is never defined, and 'budget' only loosely maps to min_price/max_price — but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a 12-parameter search tool with 0% schema coverage and no output schema. The description covers result-matching semantics but leaves most filters, sorting, and pagination behavior unexplained, so an agent must infer a great deal before invoking it well.

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 description coverage is 0% across 12 parameters, so the description carries the full burden and largely does not meet it. 'city/budget/condition' gestures at city, min_price/max_price and condition, and 'keyword terms' implies q, but kind, category, sort, limit, offset, nearby and demo get no semantic help at all.

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 opens with a specific verb+resource: 'Search public available listings.' The word 'public' implicitly distinguishes this from get_owned_listings, so an agent can tell it is not the owner-scoped listing tool. It stops short of naming a sibling or saying what a listing contains, keeping it just under a 5.

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 guidance is about query construction ('All short keyword terms must match; use explicit city/budget/condition'), not about when to pick this tool over save_search, get_facets, or get_listing. The 'Do not relax hard constraints' instruction usefully discourages broadening a filtered search as a fallback, but no explicit when-to-use/when-not routing is given.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.