Skip to main content
Glama

List Demand Curves

list_demand_curves
Read-only

List the tenant's demand curves — reusable seasonal/lifecycle shape profiles that re-time an item's forecast across the year. Each row carries the curve's 12 monthly points (stored mean-normalized: they average 1.0, so a curve can never change an item's annual volume by itself), its calendar start month, and how many item assignments currently carry it. Optionally filter by a name/description search substring. Paged: returns Total (pre-paging) plus the page; default 100, max 500 per call.

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_demand_curves"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size (default 100, max 500).
offsetNoZero-based row offset for paging (default 0).
searchNoOptional case-insensitive substring matched against name or description.

Output Schema

NameRequiredDescriptionDefault
okNo
limitNo
totalNo
curvesNo
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive, closed-world profile, and the description adds real context beyond them: the points are mean-normalized so annual volume cannot change, the start month is calendar-based, and assignment counts are included per row. It does not mention ordering of results or any tenant-scoping/permission requirements, which keeps it short of a 5.

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 purpose, then row contents, then filtering, then paging — a logical order with no filler. The parenthetical on mean-normalization is the one piece of detail that could be cut, but it prevents a real misreading of how curves affect volume.

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?

With an output schema present and full annotation coverage, the description does not need to enumerate return fields, yet it usefully summarizes the row shape. What is missing is result ordering and any signal about expected volume or behavior on very large tenants, minor for a simple paged list tool.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description still adds value by explaining paging semantics — that Total is pre-paging while the payload is one page, with default 100 and max 500 — and by restating the search as a name/description substring. It does not clarify search case sensitivity beyond what the schema says, so it is incremental rather than transformative.

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?

Specific verb+resource ('List the tenant's demand curves') followed by a substantive definition of what a demand curve is — a reusable seasonal/lifecycle shape profile that re-times a forecast. It also states the row payload (12 monthly points, start month, assignment count), which separates it in spirit from assignment-oriented siblings, though 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 Guidelines3/5

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

Usage is implied: this is the browsing/enumeration entry point for curves, and the search filter is flagged as optional. There is no explicit when-to-use versus when-not guidance, and it never points to alternatives such as suggest_curves_for_items or list_demand_curve_assignments for agents who actually want matching or assignment data.

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