Skip to main content
Glama
Auto Parts Inventory Agent

Auto Parts Inventory Agent

stock_bajo_minimo

Read-onlyIdempotent

Identifies auto parts whose current stock is below the minimum by branch, flags out-of-stock items first, and returns shortage details for restocking.

Instructions

Lista los repuestos cuyo stock actual está por debajo del stock mínimo.

Devuelve sucursal, código, repuesto, stock actual, stock mínimo y faltante, con los agotados (stock 0) primero. Usala para preguntas sobre qué hay que reabastecer.

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

Input Schema

NameRequiredDescriptionDefault
sucursalNoNombre (o parte) de la sucursal. Ej.: 'León', 'Managua'. Vacío = todas.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the read-only/idempotent/closed-world profile, so the description only needs to add context. It does add real behavioral value: the result ordering rule ('agotados (stock 0) primero'), which is not derivable from annotations or the input 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?

Front-loaded with the core purpose and only two short paragraphs. The field enumeration slightly overlaps with the output schema, but the ordering note makes it worthwhile.

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 an output schema present and annotations covering safety, the description only needs to supply scope, usage trigger, and sort behavior — all present. Minor gap: no mention that results can be empty when nothing is below minimum.

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?

The single parameter has 100% schema description coverage (including examples and the 'Vacío = todas' default behavior), so the schema carries the semantics. The description adds nothing about the sucursal filter, matching the baseline of 3 when coverage is high.

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?

States a specific verb (Lista) and precise resource/scope (repuestos con stock actual por debajo del stock mínimo), which is unambiguous. It does not explicitly distinguish itself from siblings like buscar_repuestos, so it falls just 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 Guidelines4/5

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

Explicitly says 'Usala para preguntas sobre qué hay que reabastecer', giving a clear usage context. It names no exclusions and does not route to or away from any sibling, so it is not a full 5.

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