Skip to main content
Glama

Browse or search the item catalogue

browse_items
Read-onlyIdempotent

[Items] Browse or search the item catalogue. One page of live items (seasonal, obsolete and unreleased items are excluded from browsing but still resolve by shortname). Each result carries shortname, display_name, category, icon_url and is_craftable; fetch /items/{shortname} for everything else. Same ordering and cache as the /items page on the site (15 minutes).

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

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number.
sortNo`name` = alphabetical (similarity-ranked while searching); `category` = grouped by category, then name.name
searchNoFuzzy name search: substring match plus trigram similarity, so a typo like `asault` still finds the Assault Rifle. Results are ranked by similarity unless `sort=category`.
categoryNoRestrict to one of the 14 wiki.facepunch.com item categories.
per_pageNoResults per page (max 200).

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavior: the browsing exclusion set, the fact that excluded items still resolve by shortname, the exact fields returned per result, and a 15-minute cache shared with the site's /items page. It does not disclose whether a total page count is returned, which matters for a paginated listing.

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 tight sentences, front-loaded with purpose and scope, then return shape, then ordering/cache. Nearly every clause carries information. The leading '[Items]' tag is the only near-wasteful element, and the sentence about returned fields is dense but earns its place.

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?

All five parameters are optional, no output schema exists, and the description compensates by enumerating the returned fields and pointing to the detail endpoint for the rest. Combined with annotations, an agent has what it needs to call it correctly. Pagination totals and how to discover the last page remain unspecified.

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% and every parameter carries its own enum, default, bounds and fuzzy-match explanation, so the schema does the heavy lifting. The description adds only a light hint about ordering being shared with the /items page. Baseline 3 is appropriate when the schema is this complete.

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 ('Browse or search the item catalogue') and immediately narrows scope to 'one page of live items', excluding seasonal, obsolete and unreleased entries. It distinguishes browse-by-listing from detail lookup by pointing at the `/items/{shortname}` endpoint for everything else. It stops short of naming the `search_items` sibling, which overlaps heavily with this tool's `search` parameter, so a sibling comparison is left 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?

Usage is implied rather than stated: the exclusion rule tells an agent that non-live items can still be reached via shortname, which softly routes to the detail endpoint. There is no explicit 'use this instead of search_items when…' guidance, and no guidance on how to page through the catalogue or when to prefer `sort=name` vs `sort=category` beyond what the schema already says.

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