Skip to main content
Glama

Xearno Tools

Unit Price

unit_price
Read-only

Which package is actually cheaper per unit. Compares two package options by price per unit and quantifies the savings — the supermarket-shelf math, done honestly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qtyANoOption A quantity Any unit — grams, sheets, count — as long as both options use the same one.
qtyBNoOption B quantity
priceANoOption A price
priceBNoOption B price

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description adds only modest context: it quantifies savings and claims honesty. It does not disclose specifics like rounding or precision, nor does it contradict annotations.

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 that communicates the core purpose without any wasted words. It is highly concise and to the point.

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

Completeness4/5

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

For a simple tool with well-documented parameters and no output schema, the description is sufficient to convey the purpose. However, it does not hint at the return format (e.g., which package is cheaper, the difference), which could be improved.

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?

The input schema provides full parameter descriptions (100% coverage), so the tool-level description adds no additional meaning beyond summarizing the comparison. Baseline 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: comparing two package options by price per unit and quantifying savings. It uses specific verbs ('compares', 'quantifies') and a clear resource ('package options'), distinguishing it from sibling financial calculators.

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?

The description implies usage context ('supermarket-shelf math') but does not provide explicit guidance on when to use this tool versus alternatives, nor does it mention when not to use it. No exclusions or alternatives are listed.

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