Skip to main content
Glama

List Demand Curve Assignments

list_demand_curve_assignments
Read-only

List item-level demand-curve assignments with full provenance: which item and warehouse carry which curve, the level mode, whether the assignment is enabled, and who created it (source User/Rule/McpTool plus a sourceRef note). Optionally narrow to one curve (curveId) and/or one item (itemId). 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_curve_assignments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size (default 100, max 500).
itemIdNoOptional item id (GUID) to list one item's assignments.
offsetNoZero-based row offset for paging (default 0).
curveIdNoOptional demand curve id (GUID) to list one curve's assignments.

Output Schema

NameRequiredDescriptionDefault
okNo
limitNo
totalNo
offsetNo
assignmentsNo

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 declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds real value beyond that by disclosing pagination behavior (Total computed pre-paging, default 100, max 500 per call) and the provenance model (source User/Rule/McpTool plus a sourceRef note). It does not discuss empty-result behavior or errors, keeping it from 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?

Three sentences, front-loaded with purpose, then the filter guidance, then pagination. The long enumeration of provenance fields is informative rather than padding, and there is no redundant wording.

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?

For a zero-required-parameter read/list tool with annotations covering the safety profile, an output schema, and full parameter coverage, the description supplies everything an agent needs: what is listed, how to narrow it, and how paging and totals behave.

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 both filters and paging parameters are already documented in the input schema; the description largely restates that curveId and itemId are optional. Its only added meaning is that the two filters can be combined ('and/or'), which is a marginal increment over the schema.

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 opens with a specific verb+resource ('List item-level demand-curve assignments') and enumerates the returned facets (item, warehouse, curve, level mode, enabled flag, creator). That is enough to separate it from write-side siblings such as apply_demand_curve_to_items or set_demand_curve_assignment_enabled, though it never names an alternative tool 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?

It states that curveId and itemId are optional narrowing filters ('and/or'), which implies when to use them, but there is no explicit when-to-use guidance relative to siblings like list_demand_curves and no exclusions or prerequisites. Usage must be inferred from the filter semantics.

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