Skip to main content
Glama

Collmex MCP by usefulapi

Get available stock

collmex_get_available_stock
Read-only

Currently available stock per product (record STOCK_AVAILABLE_GET): on-hand stock of the available stock types minus demand due today or earlier. A service product shows (NULL). Leave product_no empty for every product.

Input Schema

NameRequiredDescriptionDefault
limitNoRecords returned, 1-500 (default 25; invoices and orders with many positions may need a smaller limit).
offsetNoRecords to skip (use next_offset from the previous reply).
company_noNoCollmex company number (Verwaltung → Firma anzeigen und ändern). Default 1.
product_noNoOnly this product number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the description's job is to add semantics — and it does, by explaining the subtraction formula behind the number and warning that service products return NULL. That NULL caveat is exactly the kind of result-shape surprise an agent needs before interpreting data; only auth/rate-limit context is absent.

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, zero filler: the metric definition leads, the edge cases (NULL for service products, empty product_no) follow. Nothing is repeated from the title or schema.

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 no output schema, the description usefully compensates by explaining what the returned stock figure means and how service products appear. For a small, all-optional-parameter read tool this is nearly sufficient; only ordering/pagination expectations for the result set are unaddressed.

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%, so limit, offset, company_no and product_no are all documented in the schema itself. The description only adds the empty-product_no-means-all clarification, which is helpful but marginal against an already complete schema — 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 ('Currently available stock per product') and pins down the metric precisely: on-hand stock of available stock types minus demand due today or earlier. That definition separates it from collmex_list_products, which would otherwise look like the obvious sibling for product queries.

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?

'Leave product_no empty for every product' gives usage guidance for the all-products case, which is the main calling decision. However, it never says when to prefer this over collmex_list_products or how it relates to other stock views, so the choice between siblings is left to inference.

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.