Skip to main content
Glama

commerce_inventory_valuation

Destructive

Calculate inventory valuation by processing your objective and structured inputs, giving you accurate stock worth for better financial decisions.

Instructions

Run the commerce domain agent action inventory_valuation.

Routes through the platform's domain-agent dispatcher under your JWT, tenant, and company scope.

Args: message: Free-text objective for the action. inputs: Optional JSON string of structured inputs for the action.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsNo{}
messageNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

The description adds the scoping context (JWT, tenant, company), which is useful. However, annotations already flag destructiveHint=true and idempotentHint=false, and the description does not disclose that this agent action may be destructive, produce side effects, or behave unpredictably. That is a meaningful behavioral gap for a wrapper around an autonomous agent action.

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 tight and front-loaded: one line states the purpose, one line gives dispatch context, and the Args block is minimal and directly useful. No filler or redundant exposition.

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

Completeness3/5

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

For a generic thin wrapper, the length is acceptable and an output schema exists to describe return values. But the description never clarifies what kind of objectives this action accepts or what 'inventory_valuation' accomplishes on the business side, and the potentially destructive nature is left entirely to annotations.

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?

With 0% schema description coverage, the description is responsible for parameter meaning. It does add some value by saying `message` is a free-text objective and `inputs` is an optional JSON string, but it gives no guidance on the expected JSON structure or how to format the objective. Minimal compensation, not full.

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 action ('Run the commerce domain agent action `inventory_valuation`') and gives the routing context. The underlying action's semantics are mostly conveyed by its name, and the text does not differentiate it from sibling tools like commerce_inventory_check, but it is still clearly a specific, identifiable operation.

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?

The description explains how the call routes ('domain-agent dispatcher under your JWT, tenant, and company scope'), but never says when to prefer this over alternatives or where the generic sibling dispatch_domain_agent would be a better fit. No when-to-use or when-not-to-use guidance is provided.

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

Deploy Server

Other Tools