Skip to main content
Glama
jonathanARMS23

cosmo-mcp

adjust_stock

Correct stock levels after physical inventory or loss. Use only for corrections, not supplier receipts. Requires confirmation as action is irreversible.

Instructions

Corriger le niveau de stock après un inventaire ou une perte (casse, vol). Utiliser UNIQUEMENT pour des corrections (inventaire physique, casse, vol), PAS pour des réceptions fournisseur (utiliser receive_stock pour ça). Demander confirmation à l'utilisateur avant d'exécuter car action irréversible.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonYesMotif de l'ajustement (obligatoire)
new_qtyYesQuantité réelle constatée (pas la différence)
item_codeYesCode du produit à ajuster
Behavior4/5

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

Since no annotations are provided, the description carries the full burden. It discloses that the action is irreversible and requires user confirmation, which is valuable for a mutation tool. However, it doesn't mention what happens on execution (e.g., whether it logs the change or affects other records), but the context of stock correction is well conveyed.

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 two sentences, front-loaded with the verb and resource, and includes essential usage exclusions and safety warnings. Every word earns its place, no redundancy.

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?

Despite having no output schema, the description covers the tool's purpose, specific use cases, exclusions, alternative tool, and safety requirement. It is sufficiently complete for a stock-adjustment tool with three well-documented parameters.

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%, with each parameter (item_code, new_qty, reason) having a clear description. The tool description adds no extra parameter semantics beyond what the schema already provides, so the baseline of 3 is appropriate.

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 clearly states the tool's purpose: 'Corriger le niveau de stock' (correct the stock level) for specific scenarios (inventory, loss). It distinguishes itself from receive_stock, making the purpose unambiguous and specific.

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

Usage Guidelines5/5

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

Explicitly states when to use (corrections for physical inventory, breakage, theft) and when not to (supplier receipts), naming the alternative tool receive_stock. Also instructs to ask for user confirmation, providing clear usage guidance.

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/jonathanARMS23/cosmo-mcp'

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