Skip to main content
Glama

qc_get_inspections

Retrieve quality control inspection records including species, variety, field, brix, caliber, color, and defects. Filter by date range and page through results, up to 100 per page.

Instructions

Obtiene las planillas de control de calidad de QualityControl registradas en la empresa. Incluye especie, variedad, campo, cuartel, cantidad muestreada, brix, calibre, color y defectos de calidad y condición. Si no se indica rango de fechas, usa por defecto el mes actual. Muestra hasta 100 registros por página; usa offset para ver los siguientes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
desdeNoFecha inicial (YYYY-MM-DD). Por defecto: primer día del mes actual.
hastaNoFecha final (YYYY-MM-DD). Por defecto: hoy.
offsetNoRegistro desde el que empezar (0 = primero). Usar para paginar: si hay más de 100, pasar offset=100 para el siguiente lote.
decode_jsonNoSi es 'si', decodifica los campos JSON embebidos (calibrepeso_row, brix_row, defecto_calidad_row, defecto_condicion_row). Por defecto: 'si'.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden and does disclose important runtime traits: default date window, 100-record page limit, and offset-based pagination. It does not explicitly state that the call is read-only or describe result ordering, but the read verb and the stated behavior are sufficient for safe invocation.

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?

Three short, purposeful sentences: first the object and content, then default dates, then pagination. Every sentence earns its place, and the most decision-relevant facts are front-loaded with no filler.

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?

For a list tool with no required parameters, no output schema, and fully documented parameters, the description covers purpose, returned data fields, defaults, and pagination. It omits ordering and error details, but nothing essential for deciding to call it is missing.

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 coverage is 100% and the schema fully documents all four parameters, including defaults and pagination behavior, so the baseline of 3 applies. The description repeats the default date range and page-size behavior but adds no new meaning beyond what the schema already provides.

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?

The description uses a specific verb ('Obtiene') and clearly identifies the resource ('las planillas de control de calidad de QualityControl'), then enumerates the data fields returned. The plural 'planillas' and 'registradas en la empresa' make clear this is the list-oriented tool, distinguishing it from qc_get_inspection_by_id and qc_get_quality_summary.

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?

It gives actionable invocation context: the date range defaults to the current month and pagination is handled via offset, so an agent knows how to correctly request a ranged listing. It does not explicitly mention sibling alternatives or exclusion conditions, which prevents a 5.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cogrowersqa/qualitycontrol-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server