Skip to main content
Glama

Normalize pack value

normalize_pack_value

Normalize a product pack such as 6x330 ml or 3x200 g into comparable quantity and effective unit price. Deterministic; no LLM is used for the calculation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taxNo
textYes
labelNo
priceYes
currencyNoUSD
dilutionNo
discountNo
shippingNo
yield_pctNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. It usefully states that the tool is deterministic and uses no LLM for calculation, but it does not mention return shape, error handling, or how optional financial parameters affect the result.

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 concise sentences with the purpose front-loaded and a concrete example. The deterministic note adds useful information without unnecessary verbosity.

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 nine parameters, no output schema, and no annotations, this description is too thin. An agent would struggle to know how to populate most optional parameters or what the normalized result looks like, and sibling differentiation is missing.

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

Parameters2/5

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

Schema description coverage is 0% and there are nine parameters, so the description must compensate. It illustrates the text parameter with examples like '6x330 ml' and implies price, but leaves tax, discount, dilution, shipping, currency, yield_pct, and label semantically unexplained.

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 clearly states the operation: normalizing a product pack such as '6x330 ml' into comparable quantity and effective unit price. It describes a specific transformation and resource, though it does not explicitly name sibling tools to differentiate them.

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?

Usage is implied: use this when a raw pack string and price need to be converted into a normalized quantity and unit price. However, there is no explicit guidance about when to prefer this over siblings like compare_pack_values or calculate_delivered_unit_cost.

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.

TDQS

A3.5/5.0
Disambiguation3/5

Each tool targets a specific calculation, but several overlap on concepts like effective unit price and discount percentage. The descriptions are helpful, yet an agent could hesitate between normalize_pack_value, calculate_delivered_unit_cost, and calculate_buy_x_pay_y when trying to determine unit cost.

Naming Consistency4/5

Most tools follow a consistent calculate_* pattern, with compare_pack_values and normalize_pack_value as readable variations on the verb-noun structure. All names are snake_case and clearly action-oriented, so the set feels predictable despite minor inconsistency.

Tool Count5/5

Six tools is well-scoped for a pricing and pack-value domain. Each tool covers a distinct calculation need without redundancy or excessive surface area.

Completeness5/5

The set covers unit cost normalization, delivered cost, promotions, discount amounts, dilution, and multi-offer comparison, forming a complete toolkit for common pack-value analysis. No critical missing operation is apparent for the stated purpose.

Resources