Skip to main content
Glama
burakOzden1

ERP MCP Server

by burakOzden1

Overdue orders

list_overdue_orders
Read-onlyIdempotent

Find sales orders whose promised date has passed but delivery is pending; filter by customer or minimum days late and view days late plus total value.

Instructions

List sales orders that are late: promised date passed but not yet delivered.

Use for "Which orders are late?", "Show orders more than 14 days late" or "Does Foxglove have any delayed orders?". Sorted by days late, max 50 rows, with total value of the late orders.

Input Schema

NameRequiredDescriptionDefault
customerNoOptional customer code or name to filter by.
min_days_lateNoOnly orders at least this many days past the promised date.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so safety is covered; the description goes further by disclosing result ordering ('sorted by days late'), a hard row cap ('max 50 rows'), and an aggregate ('total value of the late orders'). It does not say what happens when more than 50 orders are late (silent truncation vs. error), which is the one behavioral detail an agent would still want.

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?

Front-loaded with the definition, then usage intents, then output behavior. Three short blocks, each earning its place, with no restatement of the title or name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists and annotations cover safety, so the description only needs purpose, routing, and output-shape hints — all present. Nothing an agent needs to call this tool correctly 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% with clear per-parameter descriptions, so baseline is 3. The example 'Show orders more than 14 days late' and the customer-specific example do implicitly illustrate how customer and min_days_late behave, but no additional format, default, or edge-case semantics are added beyond the schema.

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 plus a precise business definition: 'sales orders that are late: promised date passed but not yet delivered.' That definition cleanly separates it from siblings like get_order_status (single order lookup) and get_kpi (aggregates), which an agent can disambiguate without opening a 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?

The 'Use for ...' clause is followed by three concrete user phrasings, including a customer-scoped one, which maps intent to tool effectively. It stops short of naming when NOT to use it or which sibling to pick for near-miss intents (e.g. a single order's status), leaving that inference to the agent.

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