Skip to main content
Glama

Get inventory by location

farmbrite_get_inventory_locations
Read-only

Where one inventory item is stored: warehouse and bin ids and names, capacity and quantity remaining in each. Use the ids with farmbrite_add_inventory / farmbrite_remove_inventory. GET /inventory_types/{inventory_type_id}/inventory.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, from 1 (default 1). Pass the previous reply's next_page.
limitNoResults per page, 1-100 (default 25).
inventory_type_idYesInventory type id (a Farmbrite id string).

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 cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the bar is lower. The description still adds real value by disclosing the return shape — one row per storage location with capacity and remaining quantity — and the underlying endpoint, which annotations do not convey. Pagination behavior is left entirely to the schema.

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?

Two tight sentences plus an endpoint fragment; the core payload description is front-loaded with zero filler. The trailing 'GET /inventory_types/{inventory_type_id}/inventory' is marginally redundant given the tool name but aids API alignment.

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?

There is no output schema, so the description carries the burden of explaining return values, and it does so adequately by enumerating the per-location fields. Combined with full schema coverage of the three parameters and complete annotations, an agent has what it needs to call it correctly.

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%: inventory_type_id, page, and limit are each documented with format and defaults in the schema. The description adds nothing about parameters beyond implying the type id scopes the lookup, so baseline 3 applies.

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 names the resource precisely (per-location storage of one inventory item) and enumerates what comes back — warehouse and bin ids/names, capacity, quantity remaining — which makes the tool's purpose concrete. It is distinguishable from farmbrite_get_inventory_type and farmbrite_list_warehouses, though it never states the contrast explicitly.

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?

It gives a downstream usage pointer ('Use the ids with farmbrite_add_inventory / farmbrite_remove_inventory'), which tells the agent why to call it, but there is no guidance on when to prefer this over farmbrite_list_warehouses or farmbrite_get_inventory_type, and no prerequisites stated.

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.