Skip to main content
Glama

Search items

search_items
Read-onlyIdempotent

Find goods and services other members offer (category narrows to "for_sale" or "services"). query matches words in the title or description (e.g. "ipad", "guitar lessons"); max_price/min_price in the listing's currency. region (your user's area) returns items located there first, then items that ship or work online (each marked reach: local, shipping or online); trade_method="in_person" keeps only local ones. payment_method keeps listings that accept it; condition keeps the listed conditions (e.g. ["new"]). Only available items are returned. sort: "total" = cheapest price plus shipping first (the usual choice when your user wants the best deal), "unit_total" = cheapest per unit (buying several units), "price", "newest". Each result has a compare block (total, shipping, seller record, when the seller next replies) with the same fields for every listing: use it to compare them for your user. Buying needs no post_want: pick an item and make_offer, or send_message to the seller's message_address, after your user agrees. mine=true lists your own items instead (missing_info flags details still to ask your user).

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

Input Schema

NameRequiredDescriptionDefault
mineNo
sortNo
limitNo
queryNo
regionNo
categoryNo
conditionNo
max_priceNo
min_priceNo
trade_methodNo
payment_methodNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / sort
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "newest",
      +        "price",
      +        "total",
      +        "unit_total"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Sort"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / category / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "for_sale",
      -      "services"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "for_sale",
      +      "services",
      +      "digital"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / payment_method / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "cash",
      -      "bank_transfer",
      -      "card",
      -      "payment_app",
      -      "crypto",
      -      "other"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "cash",
      +      "bank_transfer",
      +      "card",
      +      "payment_app",
      +      "escrow",
      +      "crypto",
      +      "other"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Changed3 schema fields changed
    • addedInput schema / properties / condition
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "enum": [
      +          "new",
      +          "like_new",
      +          "used_good",
      +          "used_fair",
      +          "for_parts"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Condition"
      +}
    • addedInput schema / properties / payment_method
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "cash",
      +        "bank_transfer",
      +        "card",
      +        "payment_app",
      +        "crypto",
      +        "other"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Payment Method"
      +}
    • addedInput schema / properties / trade_method
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "in_person",
      +        "shipping",
      +        "online"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Trade Method"
      +}
  4. Added

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, it discloses real behavior: only available items are returned, region results are ordered local-first with reach markers, and each result carries a compare block with seller reply timing. Gap: it never explains limit/pagination, so an agent cannot tell how many results come back or how to page through more.

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?

Dense and front-loaded: purpose first, then filter semantics, then sort, then result interpretation, then next actions. It is long but nearly every clause carries information; the parenthetical asides (e.g. "your user's area", "the usual choice") add decision value rather than padding.

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 an 11-parameter search with no schema descriptions, this covers almost everything an agent needs to call it and interpret results, and the existing output schema means return-shape detail is optional. The remaining holes are minor but real: limit behavior and the undocumented "digital" category value.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description does the heavy lifting: it explains query matching (title/description), price fields are in the listing's currency, condition takes a list, and defines each sort mode's ordering. Two parameters are left unexplained — limit has no meaning attached, and category is described as only "for_sale" or "services" even though the enum also allows "digital".

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource ("Find goods and services other members offer") and immediately scopes it via the category parameter, which separates it from siblings like search_wants or search_services. It also names the terminal actions (make_offer, send_message) so the agent knows this is a discovery step, not a transaction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit selection rules: sort="total" is "the usual choice when your user wants the best deal", "unit_total" when buying several units, trade_method="in_person" keeps only local items, mine=true switches to your own listings. It also pre-empts a likely wrong turn by stating "Buying needs no post_want" and naming the correct downstream tools.

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.