Skip to main content
Glama

Inventory Valuation

run_inventory_valuation
Read-onlyIdempotent

Total dollar value of inventory currently on hand (on-hand quantity x recorded COGS per SKU).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
top_nNoMaximum number of highest-value SKUs to include in the returned breakdown (default 50).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaNoPer-skill parameters and totals, e.g. the timeframe the report was run for.
rowsNoThe report body. Absent when the skill returns summary only.
_metaNo
notesNoPlain-language context, including why a report came back empty.
summaryNoHeadline figures for the report, in display order.
_messageNo
warningsNoConditions that make the figures less reliable. Relay these.
_truncatedNo
_tenant_contextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so safety profile is covered. The description adds value by specifying the calculation method (on-hand quantity x COGS), which is behavioral context beyond the annotations. No contradictions found.

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 a single, front-loaded sentence with no wasted words. It conveys the core purpose and formula efficiently, and every element earns its place.

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?

For a read-only valuation tool with strong annotations and a documented output schema (present, though not shown), the description is sufficient. The formula and parameter are covered, and no additional behavioral caveats are needed. An agent can invoke it correctly with the given information.

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%, with top_n well-documented (max 200, min 10, default 50). The description does not add parameter details, but the schema covers the semantics adequately. Baseline 3 is appropriate given high coverage.

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 states precisely what the tool computes: 'Total dollar value of inventory currently on hand (on-hand quantity x recorded COGS per SKU).' It identifies a specific resource (inventory), a verb (value), and the exact formula, clearly distinguishing it from sibling tools like get_item_cogs (which likely returns per-SKU COGS) or run_stock_velocity (which measures turnover).

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?

No explicit guidance is given for when to use this tool versus alternatives. However, the purpose is self-evident (compute total inventory value), so usage is implied. Lacks exclusions or references to related tools like run_business_valuation or get_item_cogs, but the name and description make the primary use case clear.

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.

Resources