Skip to main content
Glama

List stock entries

easybill_list_stock_entries
Read-onlyIdempotent

List stock entries from easybill with optional filters for position or document, and pagination. Track inventory movements and review article stock history.

Instructions

List stock entries from easybill with optional filters and pagination.

Stock entries are the inventory movement log for articles that have stock management enabled (position.stock = 'YES'). Each entry records a new absolute stock level. Filter by position_id to see one article's history.

Returns a compact field set by default; pass 'fields' for specific columns or ['all'] for everything.

Returns: { total, count, page, pages, has_more, next_page, items[] }. Use 'next_page' to continue paging. Monetary values are integers in cents (150 = 1.50 EUR).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number, starting at 1. Use 'next_page' from a previous response to continue.
limitNoItems per page, 1-1000 (default 25). Keep this small unless you need bulk data.
fieldsNoLimit returned columns to these field names (e.g. ['number','amount','paid_at']). Pass ['all'] for every field. Omit for a compact default set. Fewer fields = less context used.
document_idNoFilter by the document that triggered the movement. Accepts one value or a list of values.
position_idNoFilter by article (position) ID. Accepts one value or a list of values.
response_formatNoOutput format: 'markdown' for readable prose, 'json' for machine-readable datamarkdown
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds substantial behavioral detail beyond that: returns a compact field set by default, the exact pagination response shape, the 'next_page' continuation mechanism, and that monetary values are integers in cents (150 = 1.50 EUR). This is valuable runtime context the agent would otherwise lack.

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?

The description is front-loaded with the core purpose in the first sentence. Every subsequent sentence adds distinct information: domain semantics, filter guidance, field selection, return shape, pagination, and unit convention. No filler or redundancy; the length is justified by the tool's richness.

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?

Given moderate complexity, no output schema, and a fully documented input schema, the description is remarkably complete. It covers return structure, pagination flow, default field behavior, and data semantics. The agent has enough information to invoke the tool and interpret results without additional lookups.

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% with informative parameter descriptions, so the baseline is 3. The description adds extra meaning by explaining the domain semantics ('Each entry records a new absolute stock level') and the practical effect of position_id filtering ('see one article's history'). It also reinforces how pagination parameters interact with the response.

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?

The description opens with 'List stock entries from easybill with optional filters and pagination', a specific verb+resource statement. It further clarifies the semantic meaning ('inventory movement log') and distinguishes from the singular sibling get_stock_entry via the list orientation. No ambiguity remains.

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?

It clearly states a key use case ('Filter by position_id to see one article's history') and explains when stock entries exist (articles with stock management enabled). It does not explicitly mention alternatives like get_stock_entry for single records, but the context is clear enough for an agent to select this tool for listing/filtering scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stack74/easybill-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server