Skip to main content
Glama
GunsNPrices

GunsNPrices

Official

Parse a gun or ammo product title

parse_product_title
Read-only

Convert messy firearm or ammunition product titles into structured fields like brand, model, caliber, capacity, barrel length, and cost per round, with links to compare current prices.

Instructions

Parse a firearm or ammunition product title from any store into structured data: firearm or ammo, brand, model (50 brands, e.g. 'Glock 19 Gen 5 MOS'), calibers, magazine capacity, barrel length in inches, rounds per box and, with a price, cost per round. Also returns GunsNPrices pages to compare current prices.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "title": "<title>"
    },
    "name": "parse_product_title"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandNoManufacturer, if known (helps when the title doesn't name it)
priceNoListing price in USD; for ammo it gives cost per round
titleYesProduct title as a store shows it, e.g. 'Glock 19 Gen5 MOS 9mm 4.02in 15rd'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint=false; the description adds real context beyond them, notably that brand coverage is limited to 50 manufacturers, that the model field returns a normalized string like 'Glock 19 Gen 5 MOS', and that supplying a price converts ammo titles into a derived cost-per-round. It also discloses a side output (GunsNPrices price-comparison pages), which an agent would not otherwise expect from a parse operation. What it omits is failure behavior — what happens when a title cannot be parsed or the store is unknown.

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 front-loaded sentence with a scope clause followed by an itemized list of extracted fields, so the reader gets the what and the outputs immediately. The parenthetical example and the trailing price-comparison clause add length but each carries information; nothing is truly redundant with the title.

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 no output schema, the description correctly takes on the job of enumerating return fields, and it also states units (inches, rounds per box) and the brand-coverage ceiling. For a read-only, three-parameter parsing tool that is close to sufficient, with the main gap being no statement about behavior for unparseable or non-firearm titles.

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 all three parameters are already documented, and this is the baseline case. The description reinforces the price-to-cost-per-round relationship and implicitly frames brand as an optional hint, but adds no syntax or format detail beyond the schema's own examples.

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?

A specific verb-plus-resource statement ('Parse a firearm or ammunition product title from any store into structured data') followed by the exact fields extracted (brand, model, calibers, magazine capacity, barrel length, rounds per box). It is clear enough to act on, but it does not distinguish itself from siblings such as cost_per_round or find_price_comparison_pages, whose functions it partially duplicates by also emitting cost per round and price-comparison pages.

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: 'from any store' signals the generic entry point for turning a raw title into fields, and the note that it 'also returns GunsNPrices pages to compare current prices' hints it can stand in for a price-lookup flow. There is no explicit when-to-use versus when-to-use-something-else guidance and no named alternative for callers who only want cost per round or model identification.

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