Skip to main content
Glama

inv_find

Read-only

Find InvenTree parts by TME symbol, MPN, or free-text query and return stock on hand, available quantity, and storage locations.

Instructions

Find parts in InvenTree by TME symbol (supplier SKU), MPN, or free-text search. Returns stock on hand, available (unallocated) quantity and locations.

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

Input Schema

NameRequiredDescriptionDefault
mpnNo
queryNo
tme_symbolNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and network exposure are covered. The description usefully adds the return contents (stock on hand, available/unallocated quantity, locations) but says nothing about pagination, empty-result behavior, or ambiguity handling for the all-optional parameters.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero waste, with the searchable keys and the returned fields both stated up front. Nothing is repeated from structured fields or padded.

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

Completeness3/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 supplies the return shape, and it documents all three otherwise-undocumented parameters. However, for a tool where every parameter is optional, the absence of any rule about precedence, combination, or empty invocation leaves a real gap.

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 description coverage is 0%, so the description carries the full burden and does so: tme_symbol is identified as a supplier SKU, mpn as the manufacturer part number, and query as free-text search. What is missing is whether these are mutually exclusive or combinable.

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?

Names a specific verb (find) and resource (parts in InvenTree) and enumerates the three lookup keys it accepts, which an agent can distinguish from sibling TME lookup tools. It does not explicitly contrast itself with siblings such as tme_search or tme_lookup_mpns, so it stops short of a 5.

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 three lookup modes imply when the tool applies, but nothing says which key to prefer, whether they can be combined, or what happens when all three are omitted. No alternatives or exclusions are named, so usage must be inferred.

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