Skip to main content
Glama

Search the inventory

search_inventory
Read-only

Find items by name, brand, serial number, receipt or manual text, or meaning and see where they are kept; also match property documents and photos before adding duplicates.

Instructions

Finds items by words (names, brands, serial numbers, text read from receipts and manuals) and by meaning ("something to make holes" finds a drill), best matches first, each with where it's kept; a box's 6-character QR label code finds the box. Also files: documents and photos of a property, a place or a maintenance task (the deed, an inspection report) whose name or text matches. Start here whenever the person mentions a thing — to answer "where is…", and before create_item so you don't add a duplicate. For questions answered from documents ("what filter does the furnace take?") use ask_inventory; to browse a room, category or tag use list_items. Leaves out things that are gone or only wanted. Returns items, each with its id, fields, location path and what matched.

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

Input Schema

NameRequiredDescriptionDefault
limitNoHow many matches at most
queryYesWhat to look for, in the person's words: "drill", "something to make holes", a serial number or a box's label code
documentsNofalse: leave out what manuals and receipts say, matching only the things themselves and their photos — when manuals that mention the word crowd out the thing

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2026.11.14
    • addedInput schema / properties / documents
      Added value: +{
      +  "default": true,
      +  "description": "false: leave out what manuals and receipts say, matching only the things themselves and their photos — when manuals that mention the word crowd out the thing",
      +  "type": "boolean"
      +}
  2. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / limit / description
      Added value: +"How many matches at most"
    • addedInput schema / properties / query / description
      Added value: +"What to look for, in the person's words: \"drill\", \"something to make holes\", a serial number or a box's label code"
  3. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/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 behavioral context beyond that: best-match ranking, exclusion of gone or wanted items, inclusion of documents/photos, and the shape of each returned item including location path and match reason.

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?

The description is front-loaded with the core search behavior, then routing guidance, then exclusions and return shape. It is somewhat dense and run-on, but nearly every clause carries useful information for selecting or invoking the tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only search tool with three fully documented parameters, the description covers match modes, ranking, exclusions, sibling routing, and return contents. No output schema exists, yet the description sufficiently explains what comes back.

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. The description reinforces query semantics with natural-language and QR-code examples, but it does not add meaning beyond the schema for limit or documents, so the baseline 3 applies.

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?

States a specific verb and resource (searches inventory) plus the exact match modes: words, meaning, serial numbers, receipt/manual text, and QR box labels. It explicitly distinguishes itself from ask_inventory and list_items, so an agent can route without opening another schema.

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 when-to-use guidance: start here whenever a thing is mentioned, for "where is…" questions, and before create_item to avoid duplicates. It names alternatives and the conditions that select them — ask_inventory for document-answered questions, list_items for browsing rooms/categories/tags.

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