Skip to main content
Glama

Trusoro

Search listings

search_listings
Read-only

Search published listings by category slug, city and/or a name fragment. Paginate with offset.

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
qNoPart of the business name.
cityNoCity name, case-insensitive exact match, e.g. "Denver".
limitNoResults per page, 1-100, default 20.
offsetNoUse next_offset from the previous page.
categoryNoCategory slug from list_categories, e.g. "hvac" or "pool-spa".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds two useful behavioral facts: results are restricted to published listings, and paging is offset-based. It does not disclose sort order, what an out-of-range offset yields, or whether any total count is returned.

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, filter capability front-loaded and pagination noted second. No redundant restatement of the title and no filler.

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 a five-parameter, fully-optional search with no output schema, the definition covers what it filters on but leaves the result shape and default ordering unexplained. Since no output schema exists, an agent cannot learn from structured fields what a listing record or page envelope looks like, which is a real gap for a search 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%, so every parameter is already documented, including the 'next_offset from the previous page' hint for offset. The description only restates the filter dimensions at a higher level and adds no syntax or edge-case detail beyond the schema; 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?

States a specific verb and resource ('Search published listings') plus the filter dimensions (category slug, city, name fragment), and the 'published' qualifier narrows scope meaningfully. It does not explicitly contrast with sibling reads like get_listing, but search-vs-fetch is unambiguous.

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 'and/or' phrasing implies filters can be combined or omitted, and mentions pagination, so the usage pattern is inferable. However, there is no stated when-not guidance, no note on what happens with zero filters, and no routing toward list_categories (needed to obtain slugs) or get_listing for single-record fetches.

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.

Resources