Skip to main content
Glama
SamuelBalbas

tryton-stock-mcp

by SamuelBalbas

reconstruct_product_stock_ledger

Rebuild a chronological diagnostic ledger from stock moves to trace inventory history by product, lot, or location and verify balances.

Instructions

Reconstruct a chronological diagnostic ledger from stock moves.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
lot_idNo
lot_scopeNoall
product_idYes
location_idNo
include_cancelledNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing behavior. It implies a read/compute operation by saying 'diagnostic ledger', but it never states whether the tool mutates data, whether permissions are required, how cancelled moves are handled, or what side effects may occur.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence with no filler. It is efficient and easy to parse, though the brevity comes at the cost of valuable context.

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

Completeness2/5

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

For a tool with six parameters and no annotations, this one-sentence description is not sufficient. It does not clarify the ledger scope, filter semantics, cancelled-move behavior, or how it relates to the many sibling reporting and audit tools. The output schema exists, but the input-side semantics are largely undocumented.

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

Parameters1/5

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

Schema description coverage is 0%, and the description mentions none of the six parameters. The agent is left to infer the meaning of product_id, limit, lot_id, lot_scope, location_id, and include_cancelled entirely from titles and defaults, which the description fails to compensate for.

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 states a specific verb ('reconstruct') and a concrete resource ('a chronological diagnostic ledger from stock moves'), so the main purpose is clear. However, it does not explicitly differentiate this tool from siblings such as audit_product_history or summarize_product_moves, so it falls short of a full 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No guidance is given on when to use this tool versus any of the sibling tools. The phrase 'diagnostic ledger from stock moves' implies an aggregation or reconstruction use case, but there are no explicit conditions, exclusions, or named alternatives.

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