Skip to main content
Glama

UniVend: master vendor for AI agents

List requests and orders

list_orders
Read-onlyIdempotent

The client's purchase requests and orders, newest first, with their state in UniVend's words (e.g. purchased by UniVend, invoiced, paid). Requires an agent authorised by a signed-in client.

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

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the answer: bg (Bulgarian) or en (English).
limitNo
stateNo
offsetNo

Output Schema

NameRequiredDescriptionDefault
ordersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine context beyond that: default ordering (newest first), that state values are vendor-specific strings with examples, and an authorization requirement. It does not disclose pagination behavior despite limit/offset parameters existing.

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?

A single dense sentence with the resource and ordering front-loaded and zero filler. The example state values are brief enough to earn their place, though the sentence is slightly overloaded with three separate ideas.

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?

An output schema exists, so return values need not be explained, and the auth prerequisite is stated. However, for a four-parameter list tool with weak schema coverage, the description leaves pagination (limit max 50 / offset) and the state filter's semantics unexplained, which an agent needs to call it well.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% — only lang is documented, while limit, offset and state have no schema descriptions. The description's phrase "with their state in UniVend's words" hints at state values but does not map them to the enum, and it never mentions limit, offset, pagination, or the language parameter, so it fails to compensate for the coverage gap.

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 a specific resource ("The client's purchase requests and orders") and adds scope details — newest-first ordering and UniVend-specific state vocabulary. It distinguishes itself implicitly from get_order/list_invoices by covering both requests and orders, though it never uses an explicit verb like "list" in the body text.

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?

Provides one real prerequisite ("Requires an agent authorised by a signed-in client"), which tells the agent when the call is legal. But it gives no routing guidance — e.g. when to use get_order for a single order, or list_invoices for invoice-specific needs — leaving the alternative selection to inference.

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.

Resources