Skip to main content
Glama

Final POS – Custom POS Builder

Employee orders

hub_get_employee_orders
Read-only

The orders ONE staff member rang up in a date range. Takes the employee id from get_employee_sales, never a name. Use it to back up a claim about a person — 'show me the sales behind Maria's number', 'which orders did he refund'.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, default 1
endDateYesEnd of the window, ISO 8601. Inclusive of the day when a bare date is given
outletsNoOutlet ids to restrict to. Omit for all outlets
pageSizeNoOrders per page, default 20
stationsNoStation ids to restrict to. Omit for all stations
startDateYesStart of the window, ISO 8601, e.g. "2026-08-01" or "2026-08-01T00:00:00Z"
employeeIdYesEmployee id from get_employee_sales — not a name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and a closed-world scope, so the safety profile is covered. The description adds one real behavioral constraint beyond that — the id must be sourced from get_employee_sales and cannot be a name — but says nothing about pagination behavior or what the result set looks like.

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?

Two sentences, front-loaded with the scope constraint, and the illustrative quotes carry real disambiguating weight rather than filler. Nothing is wasted.

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 filtered-list tool with full schema coverage and annotations covering safety, the description supplies the one thing structured data cannot: the dependency chain on get_employee_sales. Return shape is undocumented, but with no output schema and a list-style tool that is a minor gap.

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 all seven parameters (including page, pageSize, outlets, stations, and date bounds) are already documented. The description's only parameter-level contribution repeats the schema's own wording for employeeId, adding no syntax or format detail beyond it. Baseline 3 applies.

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?

States a specific verb and resource with an explicit scope limit: 'The orders ONE staff member rang up in a date range.' The capitalized 'ONE' plus the employee-scoped framing cleanly separates it from hub_get_orders and hub_get_customer_orders without opening either schema.

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?

Gives a concrete when-to-use context ('back up a claim about a person') with two worked examples, and states the prerequisite that the employee id must come from get_employee_sales rather than a name. It never explicitly names the sibling to prefer when you want all orders, so routing is implied rather than spelled out.

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.