Skip to main content
Glama

GunBroker (Unofficial)

Gunbroker Search Items

gunbroker_search_items
Read-onlyIdempotent

Search active GunBroker firearms-marketplace listings by keyword (e.g. "Glock 19", "AR-15 lower", "Henri 22 rifle"). Returns matching live listings with item IDs, titles, current/buy-now prices, bid counts, and time left. Public, needs only a GunBroker developer key (_apiKey). Supports pagination and sort.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "_apiKey": "your-gunbroker-api-key",
      "Keywords": "Glock 19"
    },
    "name": "gunbroker_search_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
SortNoGunBroker sort code (e.g. 0=best match, 1=ending soonest, 13=lowest price). Optional.
_apiKeyYesGunBroker developer key (X-DevKey). Required.
KeywordsNoSearch keywords for active listings.
PageSizeNoResults per page (default 25, max 300).
PageIndexNoPage number, 1-based (default 1).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "Keywords": "Glock 19",
      +    "_apiKey": "your-gunbroker-api-key"
      +  },
      +  {
      +    "Keywords": "AR-15 lower",
      +    "PageIndex": 1,
      +    "PageSize": 50,
      +    "Sort": 1,
      +    "_apiKey": "your-gunbroker-api-key"
      +  }
      +]
  2. First observed

TDQS

A3.7/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 context beyond them: results are live/active only, auth is a single dev key rather than OAuth, and pagination and sort are supported — details an agent could not derive from the annotations.

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?

A single tight paragraph, front-loaded with the verb and resource, followed by return fields, auth, and paging in a sensible order. The inline keyword examples are useful rather than filler, though slightly verbose.

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?

With five parameters, no output schema and full schema coverage, the description supplies exactly what structured fields cannot: return value composition and auth model. Only explicit differentiation from gunbroker_get_item is missing for full completeness.

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 the schema already explains Sort codes, page size limits and 1-based paging. The description only confirms that pagination and sort exist without adding syntax or format meaning, so the baseline of 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 active GunBroker firearms-marketplace listings by keyword') and enumerates the returned fields (item IDs, titles, prices, bid counts, time left). It does not explicitly contrast itself with the sibling gunbroker_get_item, so the boundary between list-search and item-detail is only implicit.

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 description establishes the context of use (finding active listings by keyword) and the auth requirement ('needs only a GunBroker developer key'), but gives no when-not-to-use guidance or named alternative such as fetching a single listing's details.

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.