Skip to main content
Glama

List complaints

safefood360_list_complaints
Read-only

List customer complaints (number, name, risk, date, company, source, contact person, product/material, description, created/modified). Supports OData $filter, $orderby, $top, $skip and $count. GET /complaints/sites/{siteId}/v1/complaints.

Input Schema

NameRequiredDescriptionDefault
topNoRecords per page, 1-1000 (the vendor default is 100).
skipNoRecords to skip (offset). Pass the previous reply's next_skip.
countNoInclude the total count of matching records in the reply.
filterNoOData $filter, e.g. "date ge 2026-01-01T00:00:00Z" (comparison, logical and string operators).
orderbyNoOData $orderby, e.g. "date desc,name asc".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, non-destructive, open-world operation. The description adds useful behavioral context by listing the returned complaint attributes and confirming OData query support plus the endpoint shape, though it does not mention prerequisites such as site scoping or rate limits.

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?

The description is compact and front-loaded: it names the resource, lists returned fields, then summarizes query support and the endpoint. There is no redundant or filler text.

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 read-only list tool with full schema coverage and no output schema, the description is largely complete: it names returned fields and query capabilities. One gap is that it references a site-scoped endpoint without explaining how siteId is supplied, which could matter for invocation.

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 the schema already documents top, skip, count, filter, and orderby in detail. The description confirms that OData $filter, $orderby, $top, $skip, and $count are supported, but adds no syntax or constraints beyond what the schema already provides.

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 states a specific verb and resource: 'List customer complaints', and it enumerates the complaint fields returned. It is clearly distinguishable by resource from siblings like create_complaint and get_complaint, but it does not explicitly say how it differs from the singular get_complaint sibling.

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 description implies usage by saying it supports OData query options, which suggests filtering, sorting, and pagination scenarios. However, it gives no explicit when-to-use guidance, no exclusions, and no alternative such as using get_complaint for a single complaint.

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.