Skip to main content
Glama

UniVend: master vendor for AI agents

Get a request or order

get_order
Read-onlyIdempotent

One purchase request or order of the client: state, supplier, prices, documents, approval and invoices. Requires an agent authorised by a signed-in client.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "order_id": "<order_id>"
    },
    "name": "get_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the answer: bg (Bulgarian) or en (English).
order_idYes

Output Schema

NameRequiredDescriptionDefault
priceYes
stateYes
approvalYes
order_idYes
documentsYes
referenceYes
created_atYesA date and time in ISO 8601, UTC.
portal_urlYes
descriptionYes
invoice_idsYes
state_labelYes
supplier_nameYes
client_referenceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/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 behavior, so the safety profile is covered. The description adds the genuinely useful authorization requirement (signed-in client, authorized agent), which is not in any structured field. It does not mention error behavior or when a record is not found, but the output schema covers return shape.

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 with zero filler, and the returned-fields list is front-loaded before the prerequisite. The first sentence is a verbless fragment, which reads slightly clipped but is still parseable.

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?

For a simple read-only single-record fetch with full annotations and an output schema, the description covers contents and access requirements. What is missing is the disambiguation from list_orders and neighboring get_* tools, which matters given the crowded sibling set.

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 coverage is only 50%: lang is documented in the schema, while order_id has no description anywhere. The description adds no parameter-level meaning — it never mentions the identifier or the language option — 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 identifies the resource precisely ('One purchase request or order of the client') and enumerates the payload contents (state, supplier, prices, documents, approval, invoices), making the singular-vs-list distinction against list_orders reasonably clear. The retrieval verb is only implied by the noun phrase rather than stated, and no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is a prerequisite ('Requires an agent authorised by a signed-in client'), but no statement of when to call this versus list_orders, search_faq, or get_invoice for related data. An agent must infer the routing decision entirely from the tool name.

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