Skip to main content
Glama
GunsNPrices

GunsNPrices

Official

Look up a caliber

lookup_caliber
Read-only

Normalize caliber or cartridge names, or extract all calibers mentioned in text, and return the standard name, firearm type, and GunsNPrices ammo price comparison page.

Instructions

Normalize a caliber or cartridge name ('9mm Luger', '5.56 NATO', '300 BLK', '12ga', '6.5 CM') or find every caliber mentioned in a text. Returns the standard name, type (handgun, rifle, rimfire, shotgun, airgun, muzzleloader) and the GunsNPrices page comparing ammo prices for it.

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": {
      "query": "<query>"
    },
    "name": "lookup_caliber"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesCaliber name or any text that mentions calibers

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/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 real value by enumerating the returned fields and the full set of caliber types (handgun, rifle, rimfire, shotgun, airgun, muzzleloader), which matters since there is no output schema. It does not say what happens when no caliber matches or how ambiguous inputs are resolved.

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 that leads with the action, then the examples, then the return payload. Every clause carries information and nothing is padded. The example list is slightly dense but directly serves input formatting.

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 one required parameter, full schema coverage, annotations, and no output schema, the description supplies the needed return shape and type vocabulary. The remaining gap is edge-case behavior — empty matches, multi-caliber text returning a list versus a single value, and ambiguity resolution — which an agent would want before calling on messy text.

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?

Schema coverage is 100% and the single parameter is already described as 'Caliber name or any text that mentions calibers', so the baseline is 3. The description earns above baseline by supplying five real-world example values that span pistol, rifle, shotgun, and obscure abbreviation formats ('300 BLK', '12ga', '6.5 CM'), which is exactly the ambiguity an agent would otherwise stumble on.

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 pair ('Normalize a caliber or cartridge name') and backs it with five concrete input examples, so the agent knows exactly what the tool does. It also states the two operating modes (single name vs. free text) and what is returned. It stops short of distinguishing itself from siblings such as cost_per_round or find_price_comparison_pages, and the mention of a 'page comparing ammo prices' could momentarily blur that line.

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

Usage Guidelines4/5

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

Usage context is clear: pass a caliber name to normalize it, or pass arbitrary text to extract every caliber mentioned. That covers the two realistic call patterns without inference. There is no explicit when-not guidance or named alternative for adjacent needs (e.g., pricing lookups), which keeps it below a 5.

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